Profit Calculator

Estimate potential gains and losses before placing a trade.

Inputs

Formula

For a long: P/L = (Exit − Entry) × Size. For a short: P/L = (Entry − Exit) × Size. ROI is computed against notional entry cost.

Keep learning

Read Long vs Short Positions or browse the Trading Basics guides on RealMarketAPI Learn.

Build with live prices

Feed calculations like this with real-time forex, gold and crypto prices from RealMarketAPI. Get a free API key or read the docs.