Free Calculator

Profit / Loss Calculator

Enter entry, exit, quantity, and leverage to see the dollar PnL and ROI on a trade. Contract multipliers built in for futures — or keep it at 1 for crypto, stocks, and spot.

Discord server owner? Let members run position size, P&L, liquidation, risk / reward, and crypto funding calculations privately inside Discord.View Discord bot →
Loading calculator…

How trade PnL is calculated

Profit or loss on a trade is the price move times how much you held — adjusted for the contract multiplier and any leverage. The hard part is usually the multiplier: 1 point on E-mini S&P 500 (ES) is worth $50, on Gold (GC) it's $100, and on crude oil (CL) it's $1,000. This calculator carries those for 30+ futures contracts so you don't have to look them up.

The formula (this calculator)

pnl = price move × quantity × multiplier × leverage
notional = entry × quantity × multiplier
margin required = notional / leverage
roi % = (price move / entry) × leverage × 100

Direction is inferred from your entry and exit: if exit is above entry it treats the trade as a long, otherwise as a short. Either way the headline shows the result for the trader who was on the correct side of that move, with a mirror figure underneath for the loss the trader on the other side takes.

Contracts vs. units

  • Futures. Pick the contract from the dropdown. Quantity is the number of contracts, and the multiplier auto-fills (ES = ×50, NQ = ×20, GC = ×100, CL = ×1,000, and so on).
  • Crypto / stocks / spot. Leave it on Custom with a multiplier of 1. Enter quantity in coins or shares; PnL is just price move × quantity × leverage.
  • Leverage.Set to 1 for unleveraged. Higher leverage scales both the PnL and the ROI on the margin you actually posted — that's why a 2% move can be a 20% account swing at 10×.

What this does not include

This is gross PnL on the price move alone. Real net results also factor in exchange and commission fees, funding payments on perpetuals, and slippage on entry and exit. For carry costs on crypto perps, pair this with the Funding Cost calculator.

Pair this with the calculator suite

PnL tells you the payoff. The Position Size calculator tells you how many contracts to hold for it, the Risk / Reward calculator tells you whether the setup is worth taking, and the Liquidation calculator tells you how much room you have before it's wiped.

Open Position Size calculator

Estimates only. Gross PnL excludes fees, funding, and slippage. Contract multipliers are standard exchange values but can change — verify against your broker before acting.

MiyagiTrades tools are provided for educational and informational purposes only. They do not provide financial advice, trading signals, brokerage services, or trade execution. Verify all calculations against your broker, exchange, or trading platform before placing trades.