💰Some links may be affiliate links. If you use them, we may earn a commission at no extra cost to you.
⚠️Not financial advice. DeFi is risky. Verify information and understand risks before depositing funds.
🧮DeFi Calculator
Position PnL Calculator
Compute profit/loss for a spot long or short with optional fees. No wallet connection, no price feeds, no chain calls.
Quantity
10.00000000
Derived if you used notional
Break-even Exit
$100.00
Includes fees
Entry Value
$1,000.00
At entry price
Exit Value
$1,200.00
At exit price
Gross PnL
$200.00
Before fees
Net PnL
$200.00
ROI: +20%
Last reviewed: 2025-12-31
Quick take
- PnL (profit and loss) is driven by entry price, exit price, size, and fees.
- Use the break-even exit price as a quick check for whether fees meaningfully change your outcome.
- This is spot-style math. Funding, borrow APR, margin requirements, and liquidation risk are not modeled.
- This calculator does not fetch prices or on-chain data.
How to use this calculator
- Select long or short.
- Choose whether you want to size by quantity or by entry notional in USD.
- Enter entry and exit prices (in USD).
- Add an all-in fee estimate in USD (swap fees, spreads, gas, and any other costs you want included).
- Read net PnL and ROI; compare the break-even exit price to your expected execution.
Assumptions and limits
- Assumes a single entry and single exit (no DCA, partial fills, or rebalances).
- Fees are a single USD number you provide; the tool does not model fee tiers, funding, or borrowing.
- Short mode assumes a simple short exposure on the base asset; it does not model margin or liquidation.
- Does not include taxes, rebates, points incentives, or token emissions.
FAQ
What does “break-even exit price” mean?
It is the exit price where net PnL equals zero after your fee input. If the market can’t reach your break-even (or can’t reach it safely given your risk), net PnL stays negative under your assumptions.
Does this work for perpetuals or leveraged positions?
Partially. It can estimate directional PnL, but it does not model funding, borrow APR, liquidation thresholds, or margin requirements. Use it as a simple PnL calculator, not a risk engine.
Does this work for LP positions?
Not directly. LP outcomes depend on pool mechanics and impermanent loss. Use the impermanent loss calculator for LP modeling.
Is this financial advice?
No. This is a calculator for understanding PnL math.
Next step
- Convert APR and APY when incentives are expressed differently: APR ↔ APY calculator.
- If you are LPing, model IL and break-even APR: impermanent loss calculator.
- Start from sourced campaigns: points directory.