Profit and loss calculator
See a trade’s profit or loss from entry to exit in pips and money.
Profit & loss
Position size calculator (lots) How is it calculated?
Formula: Volume (lots) = risk amount ÷ (stop-loss distance in pips × pip value of one lot)
Example: Balance USD 1,000, risk 1% (USD 10), 25-pip stop on EURUSD (pip value of one lot = USD 10): volume = 10 ÷ (25 × 10) = 0.04 lots.
Pip value calculator How is it calculated?
Formula: Pip value = volume (lots) × contract size × pip size, converted from the quote currency to the account currency
Example: One lot of EURUSD: 1 × 100,000 × 0.0001 = USD 10. One lot of USDJPY: 100,000 × 0.01 = JPY 1,000, about USD 6.67 at a price of 150.
Margin calculator How is it calculated?
Formula: Margin = volume × contract size × price (in account currency) ÷ leverage
Example: One lot of EURUSD at 1.10 with 1:100 leverage: trade value USD 110,000 and required margin USD 1,100.
Profit and loss calculator How is it calculated?
Formula: Profit/loss = (exit price − entry price) × contract size × volume; reversed for a sell
Example: Buying 0.5 lots of gold from 2,000 to 2,010 with a 100 oz contract: 10 × 100 × 0.5 = USD 500 profit.
Risk/reward calculator How is it calculated?
Formula: Risk/reward = take-profit distance ÷ stop-loss distance; break-even win rate = 1 ÷ (1 + ratio)
Example: Entry 1.1000, stop 1.0970 (30 pips) and target 1.1090 (90 pips): ratio 1:3 and break-even win rate 25%.
Margin call and stop-out calculator How is it calculated?
Formula: Margin level = equity ÷ used margin × 100; the stop-out price is where the floating loss brings equity down to that level
Example: Balance USD 1,000, one lot of EURUSD at 1:500 (margin USD 220), stop-out 50%: the account is closed at USD 110 equity, i.e. 89 pips against you.
Compound interest calculator How is it calculated?
Formula: Balance per period = previous balance × (1 + return) + period deposit
Example: 1,000 USD at 5% a month becomes about USD 1,796 after 12 months; that is 79.6% growth, not 60%.
Drawdown and recovery calculator How is it calculated?
Formula: Gain needed to recover = 1 ÷ (1 − loss %) − 1
Example: After a 20% loss you need 25%, and after a 50% loss you need 100% to get back to where you started.
Pivot point calculator How is it calculated?
Formula: Classic pivot P = (high + low + close) ÷ 3; R1 = 2P − low and S1 = 2P − high; other levels come from the high–low range
Example: High 1.1050, low 1.0950 and close 1.1000: pivot 1.1000, R1 = 1.1050 and S1 = 1.0950.
Fibonacci calculator How is it calculated?
Formula: Retracement = high − range × ratio (uptrend); extension = low + range × ratio
Example: Move from 2,000 to 2,100: the 61.8% retracement is at 2,038.2 and the 161.8% extension at 2,161.8.
Trading cost calculator How is it calculated?
Formula: Cost = spread (pips) × pip value × volume + round-turn commission × volume
Example: One lot of EURUSD with a 1.2-pip spread and USD 7 commission: 12 + 7 = USD 19 per trade.
Swap calculator How is it calculated?
Formula: Swap per night = swap rate (points) × point size × contract size × volume; Wednesday night is usually charged triple
Example: Long swap of −5 points on one lot of EURUSD: −5 × 0.00001 × 100,000 = −USD 5 per night.
All calculators
FAQ
What is a lot in forex?
A lot is the unit of trade size. A standard lot in currency pairs is 100,000 units of the base currency; 0.1 lot (mini) is 10,000 units and 0.01 lot (micro) 1,000 units. Contract sizes for gold, oil, indices and crypto differ between brokers and can be changed in «Symbol settings».
What is a pip and how is its value calculated?
A pip is the usual smallest price step: 0.0001 for most pairs and 0.01 for yen pairs. Pip value depends on volume, contract size and the quote currency, and is converted at the live price for a USD account.
How does leverage affect profit and loss?
Leverage only lowers the margin needed to open a position; profit and loss per pip depend on volume, not leverage. High leverage lets you open large positions with little capital, which is why it raises the risk of losing the account quickly.
How much of the account should I risk per trade?
Many professional traders limit risk to 0.5–2% of the balance per trade so that a losing streak does not wipe out the account. The «Drawdown» calculator shows the effect of consecutive losses at different risk levels.
Where do the prices come from?
Symbol prices are refreshed from global markets every few minutes (for gold, silver, oil and indices the front-month futures price, which is close enough for pip value and margin). You can always type entry and exit prices yourself.
Results are approximate and depend on your broker’s contract specifications (match the contract size of gold, oil, indices and crypto in «Symbol settings»). This is an educational tool, not trading advice.
