Clear assumptions. Clear maths.
CoinLens is an independent, free educational calculator. It does not offer investment recommendations, execute trades or guarantee returns. Data can be incomplete, inaccurate or delayed. Verify quotes and token identities independently.
Price calculation
For a USD investment, quantity = investment ÷ [entry price × (1 + buy fee)]. For a known quantity, cost = quantity × entry price × (1 + buy fee). Net proceeds = quantity × target price × (1 − slippage) × (1 − sell fee) − total network costs. Profit = net proceeds − cost. ROI = profit ÷ cost × 100.
Network costs are deducted once from proceeds, including any buy-side network costs you enter. ROI uses the purchase cost including the buy fee as its denominator. Taxes, funding, leverage, transfer restrictions and dynamic price impact are excluded.
Market-cap calculation
Target price = entry price × (target market cap ÷ entry market cap) ÷ (1 + supply change percentage ÷ 100). Entry cap must correspond to the entered entry price. Future supply changes are hypothetical. Current supply cannot establish historical supply. FDV and circulating market cap must not be mixed.
Precision
Decimal inputs become exact rational fractions using JavaScript BigInt. Arithmetic stays rational; outputs are rounded for display. Display precision is not market-data accuracy. An exported decimal expansion is rounded to 30 decimal places. Derived input values such as average entry are also rounded to 30 decimal places.
Data coverage
CoinLore provides listed coin prices, supply, markets and available history. DEX Screener provides pool-specific prices, volume, liquidity and transaction counts. Neither source guarantees complete token coverage. DEX history and individual trades are linked at the source rather than reproduced. Missing fields display as unavailable. Retrieval time is not the time of a trade.
Example
Assume one billion circulating coins at a $7,000 cap: price is $0.000007. Holding 10,000 coins costs $0.07. At a $2 million cap and unchanged supply, price is $0.002 and gross value is $20. Profit before costs is $19.93, or approximately 28,471.43%. Without entry price, cost or supply, the 10,000-coin quantity and market caps alone cannot establish a dollar profit.
Free service
The tool uses public APIs without paid keys. Availability and provider terms may change; unlimited capacity and revenue are not guaranteed. No advertising is active. Content and calculations are offered as-is; nothing here promises that a displayed sale can actually execute.