Free Online Forex Profit & Loss Calculator, Long, Short, Pips & Costs
Work out what a trade made or lost. Enter entry and exit prices, lot size and direction, and get the result in pips and in your account currency, with spread, commission and swap taken off. The gross and net figures are shown apart, because the gap between them is the cost of trading.
This calculator provides mathematical estimates only and is not financial or investment advice. Everything is worked out locally in your browser.
Profit and loss
One trade, entry to exit, in your account currency.
| Metric | Value |
|---|
Long trade
Bought first, so the price has to rise.
| Metric | Value |
|---|
Short trade
Sold first, so the price has to fall.
| Metric | Value |
|---|
๐ Pip profit and loss
Price movement, counted in pips.
๐ต Pip value
What one pip is worth to you.
๐ Position size
From a risk you choose, not a rule.
โก Margin and leverage
What the position ties up.
| Leverage | Position value | Estimated margin | Of your balance |
|---|
๐ Spread cost
The cost you pay before the trade moves.
๐ณ Commission
Four models, because brokers differ.
๐ Swap and overnight
The charge for holding past the close.
โ๏ธ Risk and reward
Stop, target and the ratio between them.
๐๏ธ Break-even price
The price that clears the costs.
๐ฏ Target profit price
The exit a chosen profit needs.
๐ Account currency
Quote currency into yours, at your rate.
๐ฆ Lot sizes
What each lot name means in units, and what one pip is worth at that size, using the contract size and pip size you set above.
| Lot type | Units per lot | Your units | Pip value |
|---|
๐ฐ Net profit and loss
A gross result you already have, with every cost taken off it โ and the return measured two ways, because they are very different numbers.
๐ Multiple trades
A session, totalled up. Each row keeps its own direction and prices, and uses the pair, pip size and contract size set above.
| # | Direction | Entry | Exit | Lots | Costs | Pips | Net |
|---|
๐ Scenario analysis
The same trade at four distances. These are round numbers chosen to bracket a move, not predictions and not targets.
| Move | Exit price | Gross | Costs | Net |
|---|
๐ ๏ธ Your own pairs
A symbol this tool does not know. Give it a base, a quote, a pip size and a contract size, and it joins the pair list everywhere.
| Pair | Base | Quote | Pip size | Contract | Actions |
|---|
| When | Calculator | Inputs | Result | Actions |
|---|
Calculator
These are your defaults, not your broker's. Contract size in particular is worth taking from the symbol specification your broker publishes rather than from the number that happens to be here.
Number formatting
On Auto, prices follow the digit count of the pair: five for most, three for yen pairs. Rounding is only applied to what you see; the arithmetic underneath keeps full precision.
Results
Hiding a line only hides it. Every cost is still taken off the net result, because the switches change what is on screen, never what is in the sum.
Appearance
History
Your data
Settings, history, saved setups and custom pairs are stored only in this browser. Nothing is uploaded, and this tool has no field for a trading account login, a broker password or an API key. Never type one into any calculator.
Enjoying WizTools123? Help keep our server infrastructure 100% free and open for everyone.
How to Use the Forex P&L Calculator
Five steps, and the first one decides whether the rest need a conversion.
These two together decide whether a conversion is needed at all. On EUR/USD with a dollar account, nothing converts. On USD/JPY with the same account, every figure does.
Yen pairs use 0.01 and everything else usually 0.0001 โ but the digit count your broker shows is a separate thing. Five digits still means a pip is the fourth one.
A standard lot is 100,000 units on most currency pairs and something else on metals and indices. It is a field here rather than an assumption for that reason.
Spread, commission and swap all start empty. On a 50-pip winner they are small; on a 3-pip scalp the spread alone can be most of the trade, which is the case worth checking.
If your account currency is not the quote currency, the result cannot be finished without one. The tool will say so rather than quietly picking a number.
The Same 50 Pips, Three Different Answers
One standard lot, a 50-pip winner, a US dollar account. The pair decides what the profit actually is.
| Pair | Pip size | Gross, in quote currency | In a US dollar account |
|---|---|---|---|
| EUR/USD | 0.0001 | 500.00 USD | $500.00 nothing to convert |
| EUR/GBP | 0.0001 | 500.00 GBP | needs a GBP/USD rate, around $630 at 1.26 |
| USD/JPY | 0.01 | 50,000 JPY | divided by the rate, $332.23 at 150.50 |
Same lot size, same 50 pips, same account, and three answers that differ by nearly a factor of two. The number a calculator gives you is only meaningful once it says which currency it is in, which is why this one asks for the rate instead of quietly assuming your account matches the quote currency. Where it does match, you are never asked at all.
And the Same Trade, in Five Different Accounts
A 50-pip win on one standard lot of EUR/USD, which is 500.00 in dollars before it goes anywhere.
| Account held in | Assumed rate per dollar | What lands in the account | Conversion needed? |
|---|---|---|---|
| USD US Dollar | 1.000 | 500.00 | No, the pair is already in dollars |
| EUR Euro | 0.909 | 454.50 | Yes, at a rate you supply |
| GBP British Pound | 0.787 | 393.50 | Yes, at a rate you supply |
| INR Indian Rupee | 83.000 | 41,500.00 | Yes, at a rate you supply |
| PKR Pakistani Rupee | 278.000 | 139,000.00 | Yes, at a rate you supply |
The trade did not change. The pips did not change. What changed is where the money has to end up, and
for anyone whose account is not in dollars that step is not a detail, it is most of the answer. A
500 profit is
41,500 in a rupee account and
454.50 in a euro one, and none of those figures
exists until a rate is applied.
Which is why this page asks for the rate instead of supplying one. The rates in the table above
are assumptions for the sake of the example rather than today's numbers, and there is no price feed
anywhere in this tool. A rate that was correct last week produces a result that is wrong now and looks
entirely reasonable, which is worse than no result at all. Where your account currency matches the
pair's quote currency, nothing is asked and nothing is converted. Where it does not, the field is there
and the figure is held back until you fill it.
One more thing worth knowing if you are trading in a non-dollar account: the conversion applies to your
costs as well. Spread, commission and swap are also born in the quote currency, so they travel through
the same rate, and a move in that rate between opening and closing changes the final figure slightly
even when the trade itself did exactly what you expected.
The Formulas, Step by Step
One standard lot of EUR/USD from 1.10000 to 1.10500, with $22 of costs, and the same trade on USD/JPY, where the conversion actually bites.
| Figure | Formula | Worked example |
|---|---|---|
| Price difference (long) | Exit โ Entry |
1.10500 โ 1.10000 = 0.00500 |
| Price difference (short) | Entry โ Exit |
the same move on a short is โ0.00500 |
| Pip movement | Price Difference รท Pip Size |
0.00500 รท 0.0001 = 50 pips |
| Position units | Lots ร Contract Size |
1 ร 100,000 = 100,000 units |
| Gross P&L (quote) | Price Difference ร Units |
0.00500 ร 100,000 = 500.00 USD |
| Pip value (quote) | Pip Size ร Units |
0.0001 ร 100,000 = 10.00 USD per pip |
| Into your currency | Amount in Quote ร Conversion Rate |
USD account, USD quote โ rate 1 โ $500.00 |
| The same trade on USD/JPY | Price Difference ร Units |
0.500 ร 100,000 = 50,000 JPY โ not dollars |
| JPY pip value | Pip Size ร Units |
0.01 ร 100,000 = 1,000 JPY per pip |
| That yen into dollars | Yen Amount รท USD/JPY Price |
50,000 รท 150.50 = $332.23 |
| Spread cost | Spread in Pips ร Pip Value |
1.2 ร $10 = $12.00 |
| Commission (per lot, per side) | Lots ร Rate ร 2 |
1 ร $3.50 ร 2 = $7.00 |
| Swap | Lots ร Rate ร Nights |
1 ร โ$1.00 ร 3 = โ$3.00 |
| Net P&L | Gross โ Spread โ Commission โ Swap โ Other |
$500 โ $12 โ $7 โ $3 = $478.00 |
| Notional value | Units ร Entry Price |
100,000 ร 1.10000 = 110,000 USD |
| Margin required | Notional Value รท Leverage |
110,000 รท 100 = $1,100.00 |
| Return on margin | Net P&L รท Margin ร 100 |
478 รท 1,100 = 43.45% |
| Return on position | Net P&L รท Notional ร 100 |
478 รท 110,000 = 0.43% โ the same trade, a very different number |
| Risk amount | Balance ร Risk % |
$10,000 ร 2% = $200.00 |
| Position size | Risk Amount รท (Stop Pips ร Pip Value per Lot) |
200 รท (20 ร 10) = 1.00 lot |
| Break-even pips | Total Costs รท Pip Value |
$22 รท $10 = 2.2 pips |
| Break-even price (long) | Entry + (Break-Even Pips ร Pip Size) |
1.10000 + 0.00022 = 1.10022 |
| Risk / reward ratio | Reward Pips รท Risk Pips |
40 รท 20 = 1 : 2 |
What This Calculator Will Not Tell You
The limits are part of the tool, not the small print.
What This Tool Does
Profit lands in the quote currency. Where that matches your account, the rate is one and nothing is asked. Where it does not, the rate is a field you fill, never a live feed and never a silent guess.
Pip size and displayed digits are separate settings. Yen pairs get 0.01, everything else 0.0001, five-digit pricing changes neither, and a spread entered in pipettes is caught rather than counted tenfold.
Spread in pips, commission per lot or per side or round turn or as a percentage, and swap in currency, pips, points or a flat rate. Nothing pre-filled, because no two brokers charge alike.
Notional value, required margin and the leverage ladder from 1:1 to 500:1 โ plus return measured against margin and against position value, which are very different numbers on the same trade.
Multiple trades with their own pairs and directions, totalled into gross, costs, net, pips and win rate, as a record of what happened, not a forecast of what will.
No account, no server call, no price feed, no broker connection. Settings, history, saved setups and custom pairs live in this browser only, and Settings clears every one of them.
About the Forex Profit & Loss Calculator
The arithmetic behind a forex profit is about as simple as arithmetic gets: the price moved, you multiply by how much you held, and there is your answer. The reason a calculator is worth having is not the multiplication. It is the question of what unit the answer is in โ and that question is skipped remarkably often.
A forex result appears in the pair's quote currency. Trade EUR/USD and it arrives in dollars; trade USD/JPY and it arrives in yen; trade EUR/GBP and it arrives in pounds. If your account is not held in that currency, the figure is not finished. It needs converting at a rate that changes by the second and that this page has no way of knowing. So it asks for one. Where the account and quote currency match, the rate is one and you are never bothered; where your account currency is the pair's base, the exit price is itself the rate; and where it is some third currency, the tool stops and says so rather than quietly assuming a number.
The second thing worth being careful about is the pip. Five-digit pricing did not redefine it โ on EUR/USD a pip is still the fourth decimal, and the fifth is a pipette worth a tenth of that. The confusion shows up most expensively on spread, where a platform reading of "12" means 1.2 pips and entering it as twelve inflates your cost tenfold. Pip size and displayed digits are kept as separate settings here, for exactly that reason, and both can be overridden when a symbol does something unusual.
Beyond that, this tool is careful about what it does not know. Every cost field starts empty, because a plausible default for spread or commission or swap is worse than a blank one: nobody checks a number that looks authoritative. Margin is calculated the standard way while saying plainly that broker policy differs. Slippage is not modelled and is not pretended away. And no trade, direction, broker or leverage level is ever recommended. The arithmetic is offered honestly, and the judgement stays with you.
Frequently Asked Questions
The questions behind the questions.