---
description: This profit and loss calculator shows your true net P&L after fees, plus ROM and annualised return for spot or futures trades.
title: Profit & Loss Calculator - UEEx Blog
---

[Skip to content](#content)

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)<sup>(365 ÷ Days Held)</sup> − 1

### What Each Result Tells You

| Metric | What it tells you |
| --- | --- |
| **Net P&L** | Actual USD profit or loss after both entry and exit fees are deducted. This is the number that changes your account balance. |
| **Gross P&L** | Raw profit before fees, the price difference multiplied by position size. A useful baseline but not what you actually receive. |
| **Total Fees** | Combined entry and exit trading costs. On high-frequency strategies or large positions, fees can consume a significant slice of gross profit. |
| **ROM** | Return 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 Return** | Your 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

Long Short

Trade Prices

Entry Price

$

Exit Price

$

Position & Margin

Position Size

USD

Margin Used

USD

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

Trading Fee (applied per side)

Maker 0.02% Taker 0.06% 0.10% 0.20% Custom

%

Holding Period (optional, for annualised return)

Days

d

Hours

h

 Calculate P&L

#### 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

Does this work for both spot and futures trades? +

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.

What is the difference between maker and taker fees? +

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.

Why does ROM matter more than just profit in USD? +

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.

How is annualised return calculated? +

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.

Does this include funding fees for perpetual futures? +

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.

Can I calculate P&L for a short position? +

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.

What if my fees differ between entry and exit? +

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](https://www.ueex.com/register)

**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.

```json
{"@context":"https://schema.org","@graph":[{"@type":["Person","Organization"],"@id":"https://blog.ueex.com/#person","name":"UEEx Technology","logo":{"@type":"ImageObject","@id":"https://blog.ueex.com/#logo","url":"https://blog.ueex.com/wp-content/uploads/2024/03/UEEx-LOGO-1.svg","contentUrl":"https://blog.ueex.com/wp-content/uploads/2024/03/UEEx-LOGO-1.svg","caption":"UEEx Technology","inLanguage":"en-US","width":"907","height":"284.62"},"image":{"@type":"ImageObject","@id":"https://blog.ueex.com/#logo","url":"https://blog.ueex.com/wp-content/uploads/2024/03/UEEx-LOGO-1.svg","contentUrl":"https://blog.ueex.com/wp-content/uploads/2024/03/UEEx-LOGO-1.svg","caption":"UEEx Technology","inLanguage":"en-US","width":"907","height":"284.62"}},{"@type":"WebSite","@id":"https://blog.ueex.com/#website","url":"https://blog.ueex.com","name":"UEEx Technology","publisher":{"@id":"https://blog.ueex.com/#person"},"inLanguage":"en-US"},{"@type":"BreadcrumbList","@id":"https://blog.ueex.com/profit-loss-calculator/#breadcrumb","itemListElement":[{"@type":"ListItem","position":"1","item":{"@id":"https://blog.ueex.com","name":"Home"}},{"@type":"ListItem","position":"2","item":{"@id":"https://blog.ueex.com/profit-loss-calculator/","name":"Profit &amp; Loss Calculator"}}]},{"@type":"WebPage","@id":"https://blog.ueex.com/profit-loss-calculator/#webpage","url":"https://blog.ueex.com/profit-loss-calculator/","name":"Profit &amp; Loss Calculator - UEEx Blog","datePublished":"2026-05-14T09:11:40+00:00","dateModified":"2026-08-21T05:31:40+00:00","isPartOf":{"@id":"https://blog.ueex.com/#website"},"inLanguage":"en-US","breadcrumb":{"@id":"https://blog.ueex.com/profit-loss-calculator/#breadcrumb"}},{"@type":"Person","@id":"https://blog.ueex.com/author/isrealoyarindegmail-com/","name":"isrealoyarinde@gmail.com","url":"https://blog.ueex.com/author/isrealoyarindegmail-com/","image":{"@type":"ImageObject","@id":"https://secure.gravatar.com/avatar/1189d21f8de5b7e9491f51bfd088ce45e5a1cef2729cf008c5ff131e16b75e4a?s=96&amp;d=mm&amp;r=g","url":"https://secure.gravatar.com/avatar/1189d21f8de5b7e9491f51bfd088ce45e5a1cef2729cf008c5ff131e16b75e4a?s=96&amp;d=mm&amp;r=g","caption":"isrealoyarinde@gmail.com","inLanguage":"en-US"},"sameAs":["https://blog.ueex.com"]},{"headline":"Profit &amp; Loss Calculator","description":"This profit and loss calculator shows your true net P&amp;L after fees, plus ROM and annualised return for spot or futures trades.","keywords":"Profit &amp; Loss Calculator","@type":"Article","author":{"@id":"https://blog.ueex.com/author/isrealoyarindegmail-com/","name":"isrealoyarinde@gmail.com"},"datePublished":"2026-05-14T09:11:40+00:00","dateModified":"2026-08-21T05:31:40+00:00","name":"Profit &amp; Loss Calculator","@id":"https://blog.ueex.com/profit-loss-calculator/#schema-4738443","isPartOf":{"@id":"https://blog.ueex.com/profit-loss-calculator/#webpage"},"publisher":{"@id":"https://blog.ueex.com/#person"},"inLanguage":"en-US","mainEntityOfPage":{"@id":"https://blog.ueex.com/profit-loss-calculator/#webpage"}}]}
```
