Free Trading Tool

Profit & Loss Calculator

Calculate exact net P&L, return on margin, and annualised return after fees for any crypto spot or futures trade.

Net P&L after entry and exit fees
ROM return on margin used
Annualised return for any holding period

Know Your Real Profit After Every Fee

Most traders calculate P&L by looking at the raw price difference between entry and exit. But trading fees, funding costs, and spreads silently eat into returns. This calculator gives you the true net profit, the number that actually lands in your account balance.

For active traders, fees can consume a meaningful slice of gross profit. A 0.06% taker fee on entry and again on exit means 0.12% off the top of every trade before any price movement. Across hundreds of trades a year, that compounds into a serious drag on performance.

Compare Trades Fairly with ROM and Annualised Return

The calculator also computes your Return on Margin (ROM), which tells you how efficiently your capital worked, and an annualised return so you can compare any trade held for days against benchmarks like index funds or yield products.

A $500 profit on a $5,000 trade is a far stronger result than $500 on a $50,000 trade. ROM normalises performance so you can compare trades of different sizes honestly, and evaluate whether your strategy uses capital efficiently over time.

Formulas Used
── Core P&L ──
Gross P&L = (Exit − Entry) × Size × Direction
Entry Fee = Entry × Size × Fee%
Exit Fee = Exit × Size × Fee%
Net P&L = Gross P&L − Entry Fee − Exit Fee

── Returns ──
ROM = Net P&L ÷ Margin Used
Ann. Return = (1 + ROM)(365 ÷ Days Held) − 1

What Each Result Tells You

Metric What it tells you
Net P&LActual USD profit or loss after both entry and exit fees are deducted. This is the number that changes your account balance.
Gross P&LRaw profit before fees, the price difference multiplied by position size. A useful baseline but not what you actually receive.
Total FeesCombined entry and exit trading costs. On high-frequency strategies or large positions, fees can consume a significant slice of gross profit.
ROMReturn on Margin: net P&L as a percentage of the collateral committed. The leverage-adjusted performance metric that makes trades of different sizes comparable.
Annualised ReturnYour ROM compounded to a yearly rate. Lets you compare a 3-day trade directly against a 6-month position or a traditional annual return benchmark.
How to Use This Calculator
1

Set direction, entry and exit price

Select Long if you bought and profited from a price rise, or Short if you sold and profited from a price fall. Then enter the exact prices you opened and closed the trade at.

2

Enter position size and margin used

Position size is the total USD value of the trade. Margin is the collateral you put up. For spot trades with no leverage, both values are the same. For futures, margin equals position size divided by leverage.

3

Choose your trading fee

Select a preset (Maker 0.02%, Taker 0.06%, or common exchange rates) or type a custom percentage. The fee applies once at entry and once at exit.

4

Add holding period (optional)

Enter days and hours to generate the annualised return. Leave blank if you only need net P&L and ROM. The annualised figure is most useful for comparing strategies across different timeframes.

Calculate Your P&L
Trade Parameters
Enter your trade details below
Direction
Trade Prices
$
$
Position & Margin
USD
USD

For spot trades, margin = position size. For futures, margin = size ÷ leverage.

Trading Fee (applied per side)
%
Holding Period (optional, for annualised return)
d
h

Results will appear here

Enter your trade details and click Calculate

Net Profit
$0.00
0.00%
Gross P&L
Before fees
Total Fees
Entry + exit
ROM
Return on margin
Ann. Return
Requires holding period
Trade Breakdown
Entry value
Exit value
Gross profit
Entry fee
Exit fee
Net P&L
Frequently Asked Questions
Yes. For spot trades, set margin equal to position size (1x leverage, no borrowing). For futures, enter your actual margin: position size divided by your leverage multiplier. The net P&L and fee calculations are identical; only ROM differs based on what margin you input.
Maker orders add liquidity to the order book, typically limit orders that sit and wait. They pay lower fees, usually around 0.02%. Taker orders remove liquidity (market orders or limit orders that fill instantly) and pay higher fees, typically 0.06%. If you trade mostly with limit orders that fill immediately, use the taker rate.
A $500 profit on a $5,000 trade (10% ROM) is a far stronger result than $500 profit on a $50,000 trade (1% ROM). ROM normalises performance so you can compare trades of different sizes honestly, and evaluate whether your strategy is using capital efficiently over time.
Annualised Return = (1 + ROM) raised to the power of (365 divided by Days Held), minus 1. This compounds your per-trade ROM into a yearly equivalent rate. A 2% ROM on a 3-day trade annualises to over 1,000%, which illustrates why short-term leveraged trading carries enormous implied risk in both directions.
The fee field covers trading fees only. For perpetual futures positions, you can manually add your estimated total funding cost to the fee field as a combined percentage. Check current funding rates on the UEEx platform and estimate your total funding cost based on position size and holding duration.
Yes. Select Short as the direction. The calculator will treat a lower exit price than entry as a profit, and a higher exit price as a loss, matching the mechanics of a short position. All fee and ROM calculations remain the same.
The calculator applies the same fee rate to both sides. If your entry was a maker order (0.02%) and your exit was a taker order (0.06%), enter the average of the two rates, or run the calculation twice with each rate and compare the results manually. Most trades use taker rates on both sides for a conservative estimate.

Ready to put this to work on UEEx?

Open a futures account and trade with full visibility on your net returns after fees.

Get Started
Disclaimer: This calculator is for informational and planning purposes only. Fee rates used in presets are illustrative; verify actual rates on the UEEx platform before trading. This tool does not constitute financial advice.