Crypto Realized PnL Calculator

Calculate realized profit or loss on closed crypto trades including fees and funding costs. Get your true net profit after all trading costs.

About the Crypto Realized PnL Calculator

Realized PnL is the actual profit or loss from a closed trade — the definitive measure of a trade's outcome. Unlike unrealized PnL, which fluctuates while a position is open, realized PnL is final and includes all costs: entry fees, exit fees, and funding payments for perpetual futures.

This calculator computes the complete realized PnL by accounting for the entry-to-exit price difference, position size, and all associated fees. Many traders are surprised to find that fees and funding significantly eat into their profits, especially on short-term or high-frequency trades.

Accurately tracking realized PnL is essential for evaluating your trading strategy's performance, making informed decisions about position sizing, and preparing your tax reports. This tool gives you the true Net PnL that ends up in your account.

Crypto traders, long-term holders, and DeFi participants benefit from transparent crypto realized pnl calculations when planning entries, exits, or portfolio rebalances. Revisit this calculator whenever market conditions shift to keep your strategy grounded in accurate data.

Why Use This Crypto Realized PnL Calculator?

Many traders calculate profit by simply subtracting entry from exit price, forgetting about fees and funding. On a $10,000 position with 0.1% fees each way, that's already $20 lost. For leveraged perpetual contracts, funding payments can accumulate to even more. This calculator gives you the real number that matters — your after-cost profit.

How to Use This Calculator

  1. Enter your entry price and exit price.
  2. Enter the position size in units.
  3. Select whether the trade was long or short.
  4. Enter the entry fee percentage (taker or maker rate).
  5. Enter the exit fee percentage.
  6. Optionally enter total funding costs paid during the trade.
  7. View your net realized PnL after all costs.

Formula

Gross PnL (Long) = (Exit Price − Entry Price) × Size Gross PnL (Short) = (Entry Price − Exit Price) × Size Entry Fee = Entry Price × Size × Entry Fee Rate Exit Fee = Exit Price × Size × Exit Fee Rate Net PnL = Gross PnL − Entry Fee − Exit Fee − Funding Costs

Example Calculation

Result: Net PnL: $1,464.40

Long 0.5 BTC from $50,000 to $53,000: Gross PnL = $3,000 × 0.5 = $1,500. Entry fee = $50,000 × 0.5 × 0.0004 = $10. Exit fee = $53,000 × 0.5 × 0.0004 = $10.60. Funding = $15. Net PnL = $1,500 − $10 − $10.60 − $15 = $1,464.40. Fees and funding consumed $35.60 (2.4% of gross profit).

Tips & Best Practices

The True Cost of Crypto Trading

Fees are the silent killer of trading profits. A trader making 200 round-trip trades per month on $10,000 positions at 0.1% per side pays $4,000/month in fees alone. On futures with 0.04% fees, that drops to $1,600 — still significant. Understanding and minimizing these costs is crucial for long-term profitability.

Tracking Realized PnL for Performance Analysis

Every serious trader keeps a trading journal that records realized PnL per trade. Key metrics to track include: average win, average loss, win rate, profit factor (gross wins / gross losses), and fee ratio (total fees / total gross profit). These numbers reveal the health of your trading system.

Tax Implications of Realized PnL

In most jurisdictions, each closed crypto trade is a taxable event. You need the date, entry price, exit price, quantity, and realized PnL for every trade. Most exchanges provide downloadable trade histories. Keep meticulous records — tax authorities increasingly scrutinize crypto trading activity.

Frequently Asked Questions

How do I find the exact fees for my trades?

Check your exchange's trade history or order fills page. Fees are listed per fill. You can also check the fee schedule: maker fees are typically 0.01-0.02% for futures and 0.1% for spot, while taker fees are 0.03-0.06% for futures and 0.1% for spot.

What are funding costs?

For perpetual futures contracts, funding is a periodic payment (usually every 8 hours) between longs and shorts to keep the contract price aligned with spot. If the funding rate is positive, longs pay shorts; if negative, shorts pay longs. These payments accumulate over time.

How do fees differ between spot and futures?

Spot trading typically has higher fees (0.1% maker/taker on many exchanges) but no funding costs. Futures have lower fees (0.01-0.06%) but include funding payments. For short-term trades, futures are usually cheaper. For long-term holds, spot avoids funding accumulation.

Should I include gas fees for on-chain trades?

Yes, if you trade on decentralized exchanges. Gas fees on Ethereum can be significant — sometimes $10-50+ per transaction during congestion. For DEX trades, also include swap fees (usually 0.3% on Uniswap-like platforms). These should be part of your total cost.

How do I calculate PnL for a DCA position?

For a position built through multiple entries, calculate the weighted average entry price first, then use that as your entry price. Alternatively, calculate PnL for each individual buy separately and sum them. The average price method is simpler for most purposes.

Why is my realized PnL negative when the trade was profitable before fees?

This happens with tight scalps or small price movements. If you make $20 on a trade but pay $25 in round-trip fees, your net PnL is -$5. This is common with high-frequency trading on taker fees. Switch to limit orders or target larger price movements to compensate for fees.

Related Pages