Crypto profit calculator
Fee-aware profit, ROI, break-even and liquidation estimates from your own numbers — no live prices, no API, nothing leaves the browser.
Position
long · SingleNot live market data — a what-if calculator for prices you enter. Tax handling is out of scope.
Scenario
long 0.5 BTCNet PnL after fees
▲ 4,935 BTCprofit
ROI on notional
▲ 16.45%profit
Break-even price
60,120.1201201 BTC
- Notional (entry)
- 30,000 BTC
- Entry fee (0.1%)
- 30
- Exit fee (0.1%)
- 35
- Fees total
- 65
- Gross PnL
- 5,000
Net PnL by exit price
- • break-even 60,120.12 BTC
- • zero PnL is the flat axis; the line crosses it at break-even
Examples
Spot long with taker fees
long 0.5 BTC @ 60,000 → 70,000, 0.1% both sidesnet 4,935 · ROI 16.45% · break-even 60,120.125,000 gross minus 65 in fees; the break-even sits 0.2% above entry before you earn anything.
10× leveraged short
short 2 ETH @ 3,000, exit 2,700, 10×, 0.5% MMRliquidation ≈ 3,315 · ROI on marginMargin is one tenth of notional, so ROI magnifies tenfold — and so does the distance to liquidation.
DCA averaging
buys 60,000×0.2, 55,000×0.1, 50,000×0.2, now 58,000average entry 55,000 across 0.5 unitsThe weighted mean, not the mean of prices, drives every downstream figure.
About this tool
The Crypto Profit Calculator is a fee-aware what-if engine for position math. You supply every number — direction, entry price or a series of DCA buys, exit price, and the fee rate your exchange charges per side — and it computes gross and net profit/loss, ROI, and the exact break-even price where fees are precisely covered. With a 0.1% fee on both sides, break-even is already 0.2% away from your entry; most casual calculators hide that drift entirely.
Two advanced views ride on the same math. Leverage mode treats the position as isolated margin: it derives the initial margin (notional divided by leverage), reports ROI against that margin rather than the full notional, and estimates a liquidation price from a maintenance-margin-rate input using the standard approximation entry × (1 ∓ 1/leverage ± MMR). When your exit crosses the estimated liquidation price, the scenario is capped there — the tool refuses to show a leveraged loss larger than the margin actually at risk, which is the error most naive PnL formulas make. DCA mode averages multiple buys with a weighted mean, shows per-buy cost, and tracks live PnL at any now price you type.
A reverse solver closes the loop: instead of asking what a given exit earns, ask what exit a target requires. Type a target net profit and the calculator solves the fee-aware algebra exactly (no iteration); type a negative target to find the price at which your worst tolerable loss is hit. A scenario curve plots net PnL across a ±50% band of exit prices — widened automatically to include the liquidation price when leverage puts it outside that band — with textual break-even and liquidation markers for accessibility.
Everything is computed in your browser from numbers you type: no API keys, no live-price feed, no account, and no storage of your position — not in localStorage, not in the URL. It is deliberately not live market data (the Currency Converter owns live rates), not tax software, and not trading advice; funding rates, margin tiers and exchange-specific liquidation rules are out of scope and the liquidation figure is clearly labeled as an approximation.
What this tool does not do
- No live prices by design: every figure derives from numbers you enter. For live conversion use the Currency Converter.
- The liquidation price is an isolated-margin approximation ignoring funding accrual and tiered maintenance margin — exchanges will differ.
- No tax handling; jurisdiction-specific cost-basis rules are out of scope.
- Position inputs are intentionally never persisted — no localStorage, no URL state — so refreshing the page starts from the default example.
How to use this tool
Pick direction and mode
Choose long or short, then Single, Leverage or DCA. The mode changes which inputs appear; switching preserves everything you already typed.
Enter prices and fees
Type entry price and quantity (or several DCA buys), the exit price, and fee rates per side. Results update live as you type — nothing is sent anywhere.
Read the heroes and fee breakdown
Net PnL and ROI are shown as text heroes with explicit profit/loss wording, alongside the exact break-even price, the fee total, and — in leverage mode — the margin and liquidation estimate.
Solve backwards or explore the curve
Enter a target net profit to get the required exit price (negative targets give the max-loss exit), and use the PnL curve with its break-even and liquidation markers to see how outcomes vary with the exit.
Use cases
Planning a leveraged entry
Check margin, ROI on margin and the liquidation estimate before committing, including the worst case where the exit sits beyond liquidation.
Tracking a DCA ladder
Average several buys into one fee-aware position and watch PnL at any current price without an exchange login.
Making scenario graphics
Copy the text summary and curve markers for videos, blogs or trading-journal posts with exact, reproducible numbers.
The algebra, spelled out
| Quantity | Formula |
|---|---|
| Fees | qty × entry × entryFee + qty × exit × exitFee |
| Net PnL (long) | qty × (exit − entry) − fees |
| Net PnL (short) | qty × (entry − exit) − fees |
| Break-even (long) | entry × (1 + entryFee) / (1 − exitFee) |
| Break-even (short) | entry × (1 − entryFee) / (1 + exitFee) |
| Reverse exit (long) | (target + qty × entry × (1 + entryFee)) / (qty × (1 − exitFee)) |
| Liquidation (isolated approx.) | entry × (1 − 1/L + MMR) long · entry × (1 + 1/L − MMR) short |
| DCA average entry | Σ(price × qty) / Σqty |
Fee rates are percentages you enter (0–50%); leverage 1–125×; MMR 0–10%. Liquidation ignores funding and tiered MMR by design.
Common mistakes
Mistake:Forgetting that fees shift break-even.
Fix:Break-even is not your entry price: 0.1% per side puts it 0.2% away. Read the break-even card before judging a trade "profitable".
Mistake:Treating the liquidation estimate as an exchange figure.
Fix:It is an isolated-margin approximation that ignores funding rates and tiered maintenance margin. Exchanges can liquidate earlier — treat the estimate as an optimistic bound.
Mistake:Entering the fee as a decimal instead of a percent.
Fix:Enter 0.1 for 0.1%, not 0.001. The input is a percentage field, capped at 50% to catch unit slips.
Mistake:Averaging DCA buys with a simple mean.
Fix:A 60k buy of 0.2 units and a 50k buy of 0.2 units average to 55k, but unequal sizes weight the average — the tool always uses Σ(price×qty)/Σqty.
Frequently asked questions
How are trading fees included?
You enter a fee rate per side, in percent, so asymmetric schedules like maker-in/taker-out work naturally. Fees are charged on the entry notional and the exit notional separately, then subtracted from gross PnL. Every derived figure — ROI, the reverse-solver exit price, and the break-even — is fee-aware, and the output panel breaks the fee total into its entry and exit components.
How is the liquidation price estimated?
With the standard isolated-margin approximation: entry × (1 − 1/leverage + MMR) for longs and entry × (1 + 1/leverage − MMR) for shorts, where MMR is a maintenance-margin-rate input defaulting to 0.5%. It deliberately ignores funding rates and tiered maintenance margin, so it is an optimistic estimate — real exchanges can liquidate earlier. That is why the figure is always labeled as an approximation. When your exit crosses it, the scenario is capped at liquidation so the shown loss never exceeds the initial margin.
What is my average entry with multiple buys?
The weighted mean Σ(price × qty) / Σqty across your buy rows, not the simple average of prices. Buying 0.2 units at 60,000 and 0.2 units at 50,000 averages to 55,000, but a 0.3-unit buy at the lower price pulls the average closer to it. The DCA table shows each buy's cost plus the average row, and all downstream math — PnL, break-even, fees, liquidation — uses that averaged entry.
Does the calculator need live prices or an API?
No. It is a what-if calculator: every number comes from you. There are no API keys, no account, no network calls, and your position is never stored — not in localStorage and not in the URL — so what you type stays in the tab. If you need live exchange rates rather than position math, the Currency Converter covers that.
How do fees change my break-even price?
Exactly, not approximately: for a long the break-even is entry × (1 + entryFee) / (1 − exitFee), and for a short it is entry × (1 − entryFee) / (1 + exitFee). At 0.1% per side that puts a long's break-even 0.2% above entry — 60,120.12 on a 60,000 entry. The break-even card shows the exact figure for your fee rates, and the PnL curve marks where the outcome crosses zero.
Can I solve for the exit price instead of the profit?
Yes. Enter a target net profit and the tool solves the fee-aware algebra in closed form for the required exit price. A negative target gives the exit at which your worst tolerable loss is hit — clamped away from non-positive prices and flagged if it lies beyond the estimated liquidation price.
References & standards
Related tools
APR Calculator
Reveal the true APR of a loan from its amount, itemized fees, nominal rate and term — compare two offers side by side and see break-even fees.
Auto Loan Calculator
Calculate the monthly car payment, total interest and full payoff schedule from price, down payment, trade-in and dealer fees — with term comparison and extra-payment savings.
Bill Tracker
Track subscriptions, memberships and recurring bills on a private paid/skipped calendar.
Break-Even Calculator
Find your break-even point in units and revenue, with an interactive cost/revenue chart, target-profit scenarios and margin of safety.
CAGR Calculator
Compound annual growth rate from two values over any period, with a year-by-year growth table.
Capital Gains Tax Calculator
Estimate US federal capital gains tax on investment sales: short vs long term, 0/15/20% brackets, and the 3.8% NIIT check.