FxRanking
Find my matches
FxRanking

Forex calculator

Forex Trading Calculator

Enter one trade and the terms of two accounts. See the margin, the spread and commission you pay, the profit after costs and the largest size your risk allows on each.

Your trade
Direction

10,000 units is one mini lot.

Filled from the latest quote. Change it to test another price.

Account terms

Pick a preset or type each broker's terms. A preset fills in commission, margin and trade size limits. Enter the current spread yourself, because it changes through the day.

Result

Enter your numbers and press Calculate.

How it is calculated
pip value = units × pip size × USD per quote unit
gross = ±units × (target − entry) × USD per quote unit
cost = spread × pip value + commission
margin = units × entry × USD per quote unit × margin rate
break-even = entry ± cost ÷ (units × USD per quote unit)
USD per quote unit: 1 for EUR/USD, 1 ÷ entry for USD/JPY

Reading the result

  1. Why the same trade costs different amounts

    A spread-only account builds its cost into a wider spread. A commission account usually quotes a tighter spread and charges a fee per trade. Entering both shows which is cheaper for your trade size, because a flat commission weighs more on small trades.

  2. How the size suggestion works

    Your risk budget is equity times the risk percentage. The calculator finds the largest size whose loss at the stop, plus spread and commission, stays inside that budget and whose margin fits your free margin. It then rounds down to the account's size increment.

  3. Pip value on USD/JPY

    On EUR/USD a pip is 0.0001 and is already worth US dollars. On USD/JPY a pip is 0.01 yen, so the calculator converts it to dollars with your entry price. That is why the same number of pips is worth a little less on USD/JPY.

  4. Worked example

    Buy 10,000 units of EUR/USD at 1.1000 with a target of 1.1020, on an account with a 1.2-pip spread, $1.40 round-trip commission and a 2% margin rate. One pip is worth $1, the gross profit is $20 and the net profit is $17.40. The trade needs $220 of margin and breaks even at 1.10026. With a 20-pip stop the modelled loss is $22.60.