Crypto Trading Profit Calculator
Work out the net profit or loss of a trade after fees, and the return on your margin.
Net profit or loss
+293.85
Return on margin
+24.49%
Before fees
+300.00
Fees paid
6.15
Margin used
1,200.00
For linear contracts. Funding payments and slippage are not included.
A calculator uses numbers you type in. To see what your own trades actually show, upload your trade history.
Analyze my tradesA trade's profit looks simple until fees and leverage are involved. The gross gain is the price difference times the size. The net gain is that, minus the fees on both the entry and the exit. And the return you actually care about, how much you made on the money you put up, depends on the leverage you used.
The calculator handles all three. Enter your direction, entry and exit prices, the size of the position in units, your leverage and the fee rate per side, and it shows the net result, the fees paid, the margin used and the return on that margin. A trade can look profitable on price alone and lose money once fees are counted, particularly when the move is small.
Leverage multiplies the return on margin in both directions. A 3% move on a 10x position is a 30% return on the margin, and a 3% move against you is a 30% loss. Seeing the figure helps in planning a trade as well as reviewing one, since you can test an exit price before you enter.
To go from one trade to your whole history, the trading performance analyzer calculates your totals, and the liquidation price calculator shows how far the price can go against a leveraged position before you are closed out.
How it is calculated
Gross profit
(Exit price − entry price) × size for a long, and the reverse for a short.
Fees
The fee rate applied to the value of the position at entry and again at exit.
Net profit
Gross profit minus both fees. This is what you actually keep.
Return on margin
Net profit divided by the margin, which is the position value divided by leverage. It is the figure that leverage magnifies.
Frequently asked questions
Does this work for futures and perpetual contracts?
It works for linear contracts, where profit is size times the price change in the quote currency, such as USDT-margined perpetuals. For inverse contracts, where profit is paid in the coin, the arithmetic differs, so use your exchange's own calculator.
Are funding payments included?
No. Perpetual contracts charge or pay funding at regular intervals while you hold, which can add to or reduce your result. Check the funding history on your exchange for trades held across several funding periods.
What fee should I enter?
Use the rate your exchange charges for the order type you used, maker or taker, for your fee tier. If the entry and exit use different rates, enter the average, or work out the two cases.
Why is my return on margin so different from the price move?
Because leverage divides the margin you put up. With 5x leverage, the margin is a fifth of the position value, so a given gain or loss is five times larger as a percentage of the margin.
Keep going
Calculators
Crypto Liquidation Price Calculator
Calculators
Crypto Position Size Calculator
Calculators
Trading Fee Calculator
Calculators
Risk Reward Ratio Calculator
Calculators
Crypto Funding Rate Calculator
Calculators
Trading Expectancy Calculator
Learn
What Is Liquidation in Crypto Trading? Leverage, Risk and What the Data Shows
Learn
How to Practice Crypto Trading Without Risking Real Money
Holdy Lab content is educational and is not financial advice. Results describe the data you provide; they do not predict future results.