yieldlogic

Crypto Profit & Loss (P&L) Calculator

Calculate exact gross and net trading profitability for spot and perpetual positions, factoring in maker/taker exchange fees and funding drag.

INPUTS
units
OUTPUT
NET P&L
+$2,218.88
+7.40% ROI
GROSS P&L
+$2,250.00
$30,000 notional
TOTAL FEES
$31.13
BREAKEVEN EXIT
$60,060.03
// formula
net_pnl = dir × (exit − entry) × qty − (entry + exit) × qty × fee% − funding

How it works

Free crypto profit and loss calculator. Model spot and perpetual long/short returns, entry/exit commissions, funding expenses, and exact breakeven exit prices. Designed for crypto day traders, swing traders, and derivatives participants tracking true net returns after exchange transaction friction.

// formula
Long: PnL = (Exit - Entry) × Qty - Fees | Short: PnL = (Entry - Exit) × Qty - Fees

FAQ

▶How are short position returns calculated?

In a short position, you profit when the asset price declines. Gross PnL is computed as (Entry Price - Exit Price) × Quantity. If you short 1 BTC at $65,000 and cover at $60,000, your gross gain is $5,000 before deducting execution commissions and borrow fees.

▶How do exchange maker and taker fees affect my break-even price?

Because exchanges levy a percentage fee on both the initial entry notional and the final exit notional, your break-even exit price is higher than your entry for longs (and lower than your entry for shorts). Our calculator computes the exact price needed to overcome both commission hurdles.

▶What is funding cost in perpetual futures?

Funding rates are periodic cashflows exchanged between long and short contract holders to anchor perpetual swap prices to spot index values. Holding a long during a bullish market usually incurs a continuous funding fee, which subtracts directly from net realized PnL.