Skip to content

Position & risk · Free calculator

Forex Profit Calculator

Calculate gross profit or loss from your entry, exit and position size.

Calculator

Your result

Enter values and calculate to see your answer here.

Gross P&L only. Spread, commissions, slippage, swap, funding, leverage, and margin are excluded.

How it works

Your inputs. A clear answer.

  1. Choose instrument and formula

    Pick the instrument so its contract size and profit currency fill in, and keep the formula it suggests: linear for forex, futures or inverse for contracts.

  2. Enter entry, exit and size

    Choose buy or sell, then type the entry price, the exit price and the quantity in lots or units.

  3. Read the gross result

    Calculate P&L to get the profit or loss in the instrument's profit currency, before spread, commission and swap.

Worked exampleEUR/USD, buy (long), linear, contract size 100,000
Entry price1.0850
Exit price1.0900
Quantity0.10 lots
Price change+0.0050
Gross P&L+50.00 USD
Illustrative numbers, not a trade idea.

Forex Profit formula and details

Linear
P&L equals direction × (exit − entry) × quantity × contract_size
Futures
P&L equals direction × (exit − entry) ÷ tick_size × tick_value × quantity
Inverse
P&L equals direction × quantity × contract_size × (1 ÷ entry − 1 ÷ exit)
Inputs and units
Direction, entry, exit, quantity, and formula. Result is gross P&L in the instrument's profit currency.
Supported formulas
Linear (forex, stocks, indices), Futures tick value (futures), Inverse (crypto contracts).
Not included
Gross P&L only. Spread, commissions, slippage, swap, funding, leverage, and margin are excluded.
Instrument data
Contract specifications (contract_size, tick_size, tick_value, quantity_unit, profit_currency) are sourced from the AlgoVistra instrument database.

This tool is for educational purposes only and does not constitute financial advice. Calculations are deterministic and do not account for market conditions, execution costs, or account-specific parameters.

FAQ

A few things to know.

How do I calculate profit on a forex trade?

Multiply the price change by the position size in units. One standard lot is 100,000 units, so 0.10 lots of EUR/USD bought at 1.0850 and closed at 1.0900 makes 0.0050 × 10,000 = $50 before costs.

Is this net of fees?

No. This estimates gross P&L only. Spread, commissions, slippage, swap, and funding are not included.

Does it support all instrument types?

It supports forex, crypto, metals, indices, and equities. The calculation adapts to the instrument's unit and contract specifications when available.