Count the entry
A buy fee reduces the asset quantity you actually receive. CoinMargin starts there instead of pretending your full cash amount became crypto.
Free · private · fee-aware
Most calculators flatter the trade. CoinMargin counts both sides of the transaction, so you see the break-even price that actually matters.
Position lab
Net profit / loss
$288.56 +28.86% returnTrue break-even
$2.5252Total fee drag
$11.44Asset quantity
398Your exit clears both transaction fees.
Average entry
$2.2231 12.46% above averageTotal invested
$1,000.00Asset quantity
447.57Unrealised P/L
+$118.92Calculated position
$1,000.00 10.00% of portfolioMaximum loss
$100.00Stop distance
10.00%Asset quantity
400Position sizing limits planned loss; it cannot prevent slippage, liquidation, smart-contract failure or a gap through your stop.
The useful difference
A buy fee reduces the asset quantity you actually receive. CoinMargin starts there instead of pretending your full cash amount became crypto.
The calculator removes the selling fee from the gross exit value before it calls anything profit.
Break-even is the price that returns your original cash after both sides—not merely the price you paid.
Plain maths
It makes no market forecast and requests no wallet connection. Your inputs stay on this device.
Asset quantity(investment × (1 − buy fee)) ÷ entry price
Net exit value(quantity × exit price) × (1 − sell fee)
Net P/Lnet exit value − original investment
Quick answers
Percentage trading fees are included. Add fixed network costs to your invested amount or increase the fee estimate to model them conservatively.
No. It is a calculator. It cannot assess token quality, liquidity, volatility, tax, custody, counterparty or smart-contract risk.
No. Calculations run locally in the browser. Shared links contain only the numbers you choose to place in the URL.
Because the winning exit must repay both the reduced quantity caused by the buy fee and the fee charged when you sell.
Built for agents
CoinMargin exposes tiny-trade, break-even, DCA, position-size and risk/reward maths as independently discoverable x402 tools. Automated buyers pay only for successful responses in USDC on Base—no subscription or API key. The same five tools are listed in the PayanAgent marketplace.
Keep it free