Skip to main content
Disconnected: No connection to server

Crypto PnL Calculator

Calculate your profit and loss for perpetual futures trades. Accounts for leverage, trading fees, and funding payments.

Calculator

$
$
$
x
%
$
Quick fee presets:

Results

Enter trade details to see results

How to Use This Calculator

Step 1: Enter your position details

Input your entry price, exit price, and position size in USD or the base asset.

Step 2: Set your leverage and side

Select your leverage (1x-100x) and whether you are long or short.

Step 3: Add fee information

Enter the trading fee percentage (typically 0.02-0.06% on DEXes) and any funding paid.

Step 4: Review your results

See your gross PnL, net PnL after fees, ROI percentage, and break-even price.

Understanding Perpetual Futures PnL

What is PnL in Crypto Trading?

PnL (Profit and Loss) measures the financial outcome of your trades. In perpetual futures trading, your PnL depends on the price movement relative to your entry, multiplied by your position size and leverage. Unlike spot trading, perpetual futures allow you to profit from both rising and falling markets through long and short positions.

Calculating accurate PnL is crucial for traders because it helps you understand your true performance after accounting for all costs including trading fees, funding payments, and potential slippage. This calculator simplifies this process by computing both gross and net PnL automatically.

The PnL Formula Explained

For long positions, the formula is:

PnL = (Exit Price - Entry Price) / Entry Price × Position Size × Leverage

For short positions, the formula reverses:

PnL = (Entry Price - Exit Price) / Entry Price × Position Size × Leverage

Your net PnL subtracts all trading costs: opening fee, closing fee, and any funding payments made while holding the position. This gives you the actual profit or loss that will be reflected in your account balance.

Risk Warning: Leverage Amplifies Losses

While leverage can multiply your profits, it equally amplifies your losses. A 10% price move against your position with 10x leverage results in a 100% loss of your margin. Always use leverage responsibly and never risk more than you can afford to lose.

Consider using the Liquidation Calculator to understand your risk at different leverage levels, and the Position Size Calculator to determine appropriate position sizes based on your risk tolerance.

Understanding Fees on Perpetual DEXes

Decentralized perpetual exchanges typically charge three types of fees that affect your PnL:

  • Trading Fees: Charged when opening and closing positions, typically 0.02% to 0.06% per trade.
  • Funding Payments: Periodic payments (hourly or 8-hourly) between longs and shorts to keep prices aligned with spot markets.
  • Borrowing Fees: Some protocols charge additional fees for leveraged positions based on utilization.

Use our DEX Fee Comparison tool to compare fees across different platforms and find the most cost-effective exchange for your trading strategy.

Pro Tips for Maximizing Your Trading PnL

1

Track all costs: Many traders forget to account for funding fees on longer-term positions. Even small hourly funding rates compound significantly over days or weeks.

2

Use appropriate leverage: The best traders on our leaderboard typically use lower leverage (2x-10x) than beginners expect. Higher leverage means tighter stop losses and higher stress.

3

Calculate break-even first: Before entering any trade, know exactly what price you need to reach to cover your fees. This helps set realistic profit targets.

4

Consider funding direction: During strong trends, funding can work in your favor (shorts receive funding during bull markets when most traders are long). Check our Funding Rate Calculator for current rates.

Frequently Asked Questions

To calculate your PnL (Profit and Loss), subtract your entry price from your exit price for long positions (or vice versa for shorts), multiply by your position size, and then apply your leverage. For example, buying 1 BTC at $40,000 and selling at $42,000 gives you $2,000 gross profit before fees.

Gross PnL is your profit or loss before any fees. Net PnL accounts for trading fees (maker/taker fees), funding payments, and any other costs. Net PnL gives you the true picture of your trading performance.

Leverage multiplies both your profits and losses. With 10x leverage, a 1% price move results in a 10% change in your margin. While leverage can amplify gains, it also increases risk - your liquidation price is closer to your entry.

Funding fees are periodic payments between long and short traders to keep perpetual futures prices aligned with spot prices. If the funding rate is positive, longs pay shorts; if negative, shorts pay longs. These fees can significantly impact PnL for positions held over time.

Your break-even price is the exit price where you neither profit nor lose after accounting for all fees. For longs: Entry Price + (Total Fees / Position Size). For shorts: Entry Price - (Total Fees / Position Size).

Track All Your PnL Automatically

View your complete trading history with automatic PnL tracking

View Your Trading Profile

Related Tools