Crypto P/L Calculator
Solve the profit-and-loss relation P/L (%) = ((CV − CB) / CB) × 100 for any of its three unknowns — the return percentage, the current price needed to hit a target, or the cost basis implied by a target — with a step-by-step solution, live break-even metrics, and a P/L schematic.
P/L % is price-ratio, not position size
Because quantity appears in both the numerator and the denominator of the P/L formula, it cancels out entirely. A 0.1 BTC position and a 10 BTC position bought and sold at the same prices earn exactly the same percentage return — only the dollar amount differs. This is why percentage return is the right way to compare positions of different sizes, and why the calculator lets you change quantity without touching the headline number.
Losses and gains are asymmetric
A 50% loss requires a 100% gain to recover. A 75% loss requires 300%. A 90% loss requires 900%. The reason is that the denominator has shrunk: after a 50% loss you only have half your capital, so you need to double it just to break even. This asymmetry is the single most important practical fact about drawdowns, and it is why capital preservation matters more than chasing upside.
Cost basis is a choice, not a fact
Your cost basis depends on which lots you consider sold. Under FIFO — first in, first out — you sell the oldest coins first. Under LIFO you sell the newest. Under specific identification you choose. Each method gives a different cost basis for the remaining position and therefore a different P/L figure, and different tax consequences. The calculator treats cost basis as a single number; in real life it is a policy.
Fees and funding reshape the answer
Every buy fee raises your effective average buy price; every sell fee lowers your effective sale price. On a position that moves 2%, a 0.5% round-trip fee consumes half the gain. The calculator's cost basis is gross of fees, so treat the computed P/L as an optimistic bound. For an accurate figure, fold fees into the average buy price by dividing total dollars spent, including fees, by total units received.
How to Use This Calculator
The P/L relation links three quantities: the return percentage, the current value of your position, and what you paid for it. Choose which one the tool should solve, then fill in the rest.
1. Choose what to solve for
Pick P/L %, CP (current price), or CB (cost basis) from the toggle. The calculator rearranges P/L (%) = ((CV − CB) / CB) × 100 automatically for whichever you choose.
2. Enter your position
Quantity is how many units you hold. The average buy price is what you paid per unit, and the current price is what the market says one unit is worth now. Cost basis and current value are derived from these.
3. Use realistic presets
Presets cover quantities from 0.01 to 10,000 units, buy prices from $0.10 to $100,000, and current prices across the same span — enough to cover everything from a micro-cap altcoin to a large bitcoin position.
4. Read the result and verdict
The result card shows the headline figure, the absolute profit or loss in dollars, and a colour-coded verdict from near-total loss through breakeven up to exceptional gain. The position breakdown repeats the four key numbers together.
5. Check the break-even and the chart
The advanced panel lists the exact price at which you break even, the price for a doubling, and the prices for various gains and losses. The chart plots P/L % against current price for three different average buy prices.
6. Explore the recovery maths
The tables below show the gain required to recover from each loss level and a P/L % lookup grid across combinations of buy and current price. The recovery calculator at the top of that section works out any drawdown you enter.
What This Tool Offers
Built around the classic P/L relation P/L (%) = ((CV − CB) / CB) × 100, the fundamental link between what you paid, what it is worth, and what you earned.
Three-way solving
Solve for the return percentage, the current price needed to hit a target, or the cost basis implied by a target. The calculator rearranges the formula for whichever you choose.
Position breakdown
Cost basis, current value, absolute P/L and return percentage in a four-cell strip that updates with every keystroke.
P/L schematic
Two scaled bars — cost basis and current value — with a dashed reference line and a bracket showing exactly how large the profit or loss is.
Break-even toolkit
The advanced panel lists the exact break-even price, the price for a doubling, and the prices for ±10%, ±25%, ±50% and +100% moves.
Dual comparison charts
P/L % against current price for three average buy prices, plus an advanced chart of P/L in dollars against current price for three position sizes.
Reference tables
A recovery calculator, a P/L % lookup grid, a loss-to-recovery table, and a full variable reference with typical ranges.
Reference Tables & Conversions
A recovery calculator, a P/L % lookup grid, and the loss-to-recovery table that every position holder should know by heart.
Recovery calculator — what gain do I need to break even?
P/L % Lookup — P/L (%) = ((CP − ABP) / ABP) × 100
Rows are average buy prices; columns are current prices. Each cell is the resulting return percentage.
| Buy ↓ / Current → | $1 | $10 | $100 | $1,000 | $10,000 | $50,000 | $100,000 |
|---|
Loss vs Required Recovery Gain
Because losses and gains are asymmetric, the gain needed to recover from a drawdown is always larger than the drawdown itself. The relationship is required gain = (1 / (1 + loss/100) − 1) × 100.
| Drawdown | Capital remaining | Gain needed to break even | Intuition |
|---|---|---|---|
| −10% | 90% | +11.11% | A small hole, easily filled |
| −20% | 80% | +25.00% | Quarter back |
| −25% | 75% | +33.33% | A third back |
| −33% | 67% | +50.00% | Half again |
| −50% | 50% | +100.00% | Must double |
| −66% | 34% | +200.00% | Must triple |
| −75% | 25% | +300.00% | Must quadruple |
| −90% | 10% | +900.00% | Must ten-bag |
| −95% | 5% | +1,900.00% | Must twenty-bag |
Variable Reference
| Symbol | Meaning | Typical range | Units |
|---|---|---|---|
| P/L % | Profit or loss as a percentage of cost basis | −100% to +10,000%+ | % |
| CV | Current value of the position | 0 – 10⁹+ | USD |
| CB | Cost basis — what the position cost | 0 – 10⁹+ | USD |
| Q | Quantity of units held | 0 – 10¹² | units |
| ABP | Average buy price per unit | 0 – 10⁶ | USD/unit |
| CP | Current price per unit | 0 – 10⁶ | USD/unit |
What Does P/L (%) = ((CV − CB) / CB) × 100 Measure?
The profit and loss percentage answers the question every investor asks first: did this position make money, and how much relative to what I put in? It does so by dividing the dollar gain or loss by the amount originally invested, then multiplying by 100 to express the result as a percentage. The numerator, CV − CB, is the absolute profit in dollars. The denominator, CB, is what you paid. Together they give a return that is directly comparable across positions of wildly different sizes.
What the formula deliberately leaves out is time. A 50% return earned over one month and a 50% return earned over ten years are identical in this formula, but they are not remotely equivalent investments. That is why professional investors almost always pair a return figure with an annualised figure — the same return restated as if it had been earned at a constant rate over exactly one year. The calculator here does not annualise; it measures total return from cost basis to current value, which is the right answer for a position you still hold.
Profit and Loss Formula
The defining relationship is:
Where cost basis and current value are themselves built from quantity and price:
CV = Q × CP
Substituting, quantity cancels and the return depends only on the two prices:
Rearranged to solve for the other two unknowns:
CB = CV / ( 1 + P/L / 100 ) · ABP = CP / ( 1 + P/L / 100 )
And the break-even condition is simply:
P/L Variables
| Symbol | Meaning | Notes |
|---|---|---|
| P/L % | Return on the position | Positive is a gain, negative is a loss, zero is break-even |
| CV | Current value | What the position is worth at today's price |
| CB | Cost basis | What the position cost, including every buy |
| Q | Quantity held | Cancels out of the percentage; scales the dollar amount |
| ABP | Average buy price | Quantity-weighted average, not the simple mean of prices paid |
| CP | Current price | Today's market price per unit |
How Each Variable Affects the Return
Quantity is the odd one out. It appears in both the numerator and the denominator, so it cancels completely. Doubling your position doubles the dollars you make or lose but leaves the percentage return unchanged. That is exactly why percentage return is the right way to compare a $500 position with a $500,000 one: it strips out size and reports only the efficiency of the decision.
The two prices matter enormously, but not symmetrically. Because the denominator is the average buy price, a given dollar move in price produces a larger percentage return when the buy price is low and a smaller one when it is high. A $10 rise on a $100 buy is a 10% gain; the same $10 rise on a $1,000 buy is only 1%. This is why percentage returns on low-priced assets are so much more volatile in dollar terms, and why a coin that has already run up 1,000% needs a much larger absolute move to produce another 100% than it did on the way up.
The asymmetry between gains and losses falls directly out of the algebra. A loss shrinks the base you need to recover from, so the required gain is always larger than the loss that preceded it. A 50% loss needs a 100% gain. A 90% loss needs 900%. There is no way around this — it is a property of the arithmetic, not of markets — and it is the strongest argument for avoiding large drawdowns in the first place.
P/L Calculation Examples
CB = 1 × 50,000 = $50,000 · CV = 1 × 55,000 = $55,000
P/L (%) = (( 55,000 − 50,000 ) / 50,000 ) × 100 = +10.00%
CB = $20,000 · CV = $15,000
P/L (%) = (( 15,000 − 20,000 ) / 20,000 ) × 100 = −25.00%
CP = 50,000 × ( 1 + 50 / 100 ) = $75,000
ABP = 55,000 / ( 1 + 10 / 100 ) = $50,000
Required gain = ( 1 / ( 1 − 0.60 ) − 1 ) × 100 = ( 1 / 0.40 − 1 ) × 100 = +150.00%
Frequently Asked Questions
Both describe the same thing from different angles. Total cost basis is the dollar amount you put in; average buy price is that amount divided by the units you received. The percentage return is identical either way, because the quantity cancels. Use cost basis when you care about the dollars at stake and the absolute profit; use average buy price when you are comparing entries across assets or deciding whether to add at the current price. The calculator shows both, and lets you drive the maths from either direction.
Because the loss shrank the base you are recovering from. If you invested $10,000 and it fell 50%, you now have $5,000. To get back to $10,000 you need to gain $5,000 on a $5,000 base — that is 100%. The general rule is required gain = (1 / (1 + loss/100) − 1) × 100. The pattern gets worse as losses deepen: −75% needs +300%, −90% needs +900%, −95% needs +1,900%. This is the single strongest mathematical argument for risk management, because the deeper the hole, the more disproportionate the effort required to climb out.
Every buy fee raises your effective average buy price, and every sell fee lowers your effective sale price. The cleanest way to handle this is to compute your true average buy price as total dollars spent including all fees, divided by total units received after fees. On a 2% move, a 0.5% round-trip fee consumes a quarter of the gain. The calculator's cost basis is gross of fees, so treat its output as an optimistic bound. If you want an accurate picture, enter the fee-inclusive average buy price directly into the ABP field.
No. Quantity cancels out of the formula because it multiplies both the numerator and the denominator. A 0.01 BTC position and a 100 BTC position bought and sold at the same two prices earn exactly the same percentage return — only the dollar amounts differ. Try it in the calculator: change the quantity and watch the P/L in dollars scale while the P/L % stays fixed. This is the whole reason percentage return is the standard unit of comparison across positions of different sizes.
It depends on your tax jurisdiction and your intentions. FIFO sells your oldest lots first, which in a long-running bull market usually means selling the cheapest lots and therefore realising the largest gains. LIFO sells the newest lots first, which often means selling more expensive lots and realising smaller gains — or larger losses. Specific identification lets you choose exactly which lots to sell, which is the most flexible but requires good record-keeping. Whichever you choose, you must apply it consistently, and it changes the cost basis of what remains — so it changes the P/L figure the calculator reports for the position you still hold.
Four common reasons. First, cost basis method: your exchange may use FIFO while you are computing an average, or vice versa. Second, transfers: coins moved in from another wallet or exchange may have their cost basis recorded incorrectly or not at all. Third, fees: some platforms fold fees into cost basis and some do not. Fourth, rounding and price source: the exchange uses its own last-traded price, which can differ from the index you used by a fraction of a percent, and it may round quantities in ways that shift a large position by a few dollars. Reconcile by exporting your full transaction history and recomputing the average buy price yourself.
Both, for different reasons. Per-asset P/L tells you which decisions worked and which did not — it is the feedback signal you need to improve. Portfolio-level P/L tells you whether the overall strategy is succeeding, and it is the number that matters for tax and for reporting. A portfolio can be profitable overall while several individual positions are deep in the red, and understanding which of those losses are thesis failures and which are just noise is one of the hardest parts of investing. Calculate per asset first, then aggregate.
Variables
| Symbol | Quantity | Unit |
|---|---|---|
| P/L | Profit or loss percentage | % |
| Current Value | Current market value of the holding | currency |
| Cost Basis | Original amount paid for the holding | currency |
What it means
The profit/loss percentage is the return on investment expressed as a percentage of the cost basis. A positive value indicates a gain; negative indicates a loss. This is the most common metric for evaluating investment performance. It allows comparison of different investments regardless of size. It is used in portfolio tracking, performance reporting, and tax calculations. Understanding this helps investors assess their strategy and make informed decisions about holding or selling. It also helps in setting profit targets and stop‑loss levels.
Worked example
Crypto Profit/Loss Percentage – Two Detailed Examples
Real‑World| Parameter | Value |
|---|---|
| Cost Basis | $1,000 |
| Current Value | $1,500 |
| Parameter | Value |
|---|---|
| Cost Basis | $5,000 |
| Current Value | $3,500 |
Common mistakes
- Current value: Use the current market price × quantity.
- Cost basis: Include all purchase costs (fees, commissions) – not just the principal.
- Sign: Negative percentage means a loss; positive means a gain.
- Realised vs unrealised: This formula gives unrealised P/L unless the position has been sold.
Applications
Crypto profit/loss percentage measures the return on an investment by comparing the current value to the cost basis. It is expressed as a percentage and is widely used to evaluate the performance of individual assets and entire portfolios. Investors, traders, and portfolio managers rely on this metric to track gains, to set profit targets, and to decide when to exit positions. By calculating P/L percentage, they can compare the performance of different assets and make data‑driven decisions. This formula is also essential for reporting in tax filings and for performance attribution. It provides a clear, standardised measure of investment success, enabling investors to gauge their strategies and adjust accordingly.
- Performance tracking of individual cryptocurrencies and portfolios
- Setting take‑profit and stop‑loss levels
- Comparative analysis of different investment strategies
- Tax reporting – realised and unrealised gains
- Communication of returns to stakeholders
Related calculators · Trading & Investment
Recently updated formulas
Suggest an improvement
Found a mistake? Have a better example? Let us know.
You may send up to 3 suggestions per 24 hours.