PositionSizeTool
Forex · Stocks · Crypto — size every trade from your risk, not from hope

Forex Profit Calculator

Entry price, exit price, your size — and the figure you actually keep once the spread and the commission have been taken out.

The trade
Size & costs
Account

No rate is fetched anywhere on this page. The rate is 1 when the currencies match, is worked out from the entry price you typed when your account currency is the base currency, and is otherwise the number you type here.

Contract specification (editable, if your broker quotes it differently)
Net profit after spread and commission
Gross profit (before costs)
Pip difference
Pips left after the spread
Cost of the spread
Commission paid
Costs, in total
Gross in the quote currency
Rate used

Those costs took out of the gross figure.

Instrument

How the profit is worked out

A trade makes or loses money in its quote currency first, and only afterwards in yours. Three inputs set the size of the move — the two prices and the number of units — and two costs come off the top: the spread you crossed to get in, and the commission you pay for the round turn.

price move = (exit - entry) x direction direction: +1 for a buy, -1 for a sell pips = price move / pip size gross = price move x units <- in the QUOTE currency spread cost = spread in pips x pip size x units <- in the QUOTE currency gross in yours= gross x rate net in yours = gross x rate - spread cost x rate - commission
  1. The pip size comes from the instrument. Most forex pairs quote to four decimals so a pip is 0.0001 of price; JPY pairs quote to two so a pip is 0.01; gold is quoted in dollars and its smallest quoted increment here is 0.01. You do not set this — selecting the instrument does.
  2. The prices you type are the prices you are filled at. The spread is then charged on top, once, as its own line. That is the same convention this site's position-size engine uses, and it keeps the two numbers separate so you can see what the broker took.
  3. The commission is the round turn, in your account currency. If your broker charges per side, put both sides in. It is subtracted once, at the end, after the currency conversion — which is why it is not converted and does not need a rate.

Precision is stated rather than hidden: money is shown to two decimal places, pips to one decimal place, and the conversion rate to six. Nothing is rounded up, and no intermediate figure is rounded before it is used.

What is deliberately not in any of it: overnight financing, slippage between the price you wanted and the price you got, and tax. Those depend on the broker, the hour and the jurisdiction, and a page that invented them would be producing a number you could not check.

Worked example: AUD/USD on an Australian dollar account

You are long 5 mini lots of AUD/USD — 50,000 units — from 0.6400 to 0.6480, on an account denominated in AUD, with a 1-pip spread and 7.00 AUD of commission. The pair is quoted in USD but your account is in the base currency, so the conversion has to happen once, at the end.

  1. Price move: 0.6480 − 0.6400 = 0.0080, which at a pip size of 0.0001 is 80.0 pips.
  2. Units: 5 mini lots × 10,000 units = 50,000 units.
  3. Gross in the quote currency: 0.0080 × 50,000 = 400.00 USD.
  4. Spread: 1 pip × 0.0001 × 50,000 = 5.00 USD.
  5. Convert: your account is in AUD, the base currency of the pair, so the rate is 1 ÷ the entry price you typed — 1 ÷ 0.6400 = 1.5625. Gross 400.00 × 1.5625 = 625.00 AUD; spread 5.00 × 1.5625 = 7.81 AUD.
  6. Net: 625.00 − 7.81 − 7.00 commission = 610.19 AUD. The costs took 14.81 AUD, or 2.37% of the gross figure.

Step 5 is where a profit calculator either stays honest or does not. The rate was not fetched from anywhere; it fell out of the entry price you supplied, and the page says that it came from there so you can judge whether it is the rate you would actually get. Type your own rate into the field instead and the page uses yours.

The same arithmetic on a losing trade

A trading profit calculator that only handles winners is half a tool, so the sign is carried all the way through. Short 2 mini lots of EUR/USD — 20,000 units — at 1.1000 and cover at 1.1040 on a USD account, with a 1.2-pip spread and 4.00 USD of commission:

The loss is larger than the price move alone suggests, and it is larger by a fixed amount rather than a percentage of anything. That is the shape of the whole problem the costs create: they do not scale with whether you were right, so the smaller your target, the bigger the share of it they eat.

Run the winning example above and this one through the calculator and the difference is the same 6.40 USD either way — the same spread and commission, whether the trade worked or not.

What the spread and commission take out of a trade

This is the part most profit calculators leave for you to work out, and it is the part that decides whether a trade was worth taking. The costs are a fixed amount of money; the move they are subtracted from is not.

One standard lot of EUR/USD on a USD account, 1.2-pip spread, 7.00 USD commission. Every row is the calculator at the top of this page, run on 20 September 2026.
TargetGross profitCostsNetCosts as a share of gross
10 pips (1.1000 → 1.1010)100.00 USD19.00 USD81.00 USD19.0%
50 pips (1.1000 → 1.1050)500.00 USD19.00 USD481.00 USD3.8%
100 pips (1.1000 → 1.1100)1,000.00 USD19.00 USD981.00 USD1.9%

The costs never move. On a hundred-pip swing they are a rounding error; on a ten-pip scalp they are nearly a fifth of the trade, and the trade has to travel further than you think before it is worth having. Anything that shows you the gross figure without the costs is answering an easier question than the one you asked.

The two fields exist because brokers charge in two different shapes. Some widen the spread and charge nothing; some quote a tight spread and take a commission per lot. Putting both on the page means the same tool works for either, and putting them on their own lines means you can see which one is actually costing you.

Where the exchange rate comes from, and when it is applied

From you. There is no rate feed on this page, no background request and no cached table of prices — a rate fetched once and shown all day is stale by the time you read it, and a rate that is guessed is worse than a rate that is missing.

One detail is worth stating because it is where the arithmetic usually goes wrong: the rate is applied once, to the whole profit or loss, not to each of the two prices. Converting the entry and the exit separately and then subtracting gives a different and larger number, because the conversion rate is not constant across the move. The page converts the difference, which is the money you actually gained.

Profit on gold, indices and crypto

An XAU/USD profit calculator is the same three steps with different constants. Gold is quoted straight in dollars per ounce, so on a USD account no conversion happens at all: this dataset carries a pip size of 0.01 and a contract of 100 ounces, which makes one standard lot 100 ounces and one pip worth 1.00 USD. A move from 2,400.00 to 2,405.00 is five dollars, or 500 of those pips, so one standard lot makes 500.00 USD before costs; with a 30-pip (0.30 USD) spread and no commission, the net is 470.00 USD.

The thing that trips people up on gold is that a dollar of movement is a hundred pips, not one, so a spread quoted in dollars has to be turned into pips before it goes in the field — 0.30 USD is 30 pips at this pip size. Index CFDs sit at the other end: their pip size is 1.00 and one contract is one unit, so one index point is 1.00 USD per lot and a twenty-point move is 20.00 USD. Crypto futures quoted in USDT use a pip size of 0.01 on one unit, so the arithmetic is the same shape as gold with a much smaller contract.

Choosing the size that puts those numbers on a stop you can survive is a different calculation — that one starts from dollars of risk, and the XAU/USD sizing page works through it in gold's own units.

What this page covers

The instrument list holds 131 instruments: 67 forex pairs covering majors, minors and crosses, 4 metals, 3 energy CFDs, 12 index CFDs and 43 crypto futures quoted in USDT, plus a stock entry and a fully manual entry for anything not on the list. Pip size, contract size and unit step come from the open reference dataset published alongside this site, and both fields are editable if your broker quotes them differently.

Those specifications are typical retail defaults, not values published by an exchange or by any broker. Contract sizes and minimum increments vary between brokers and sometimes between account types at the same broker, so check the deal ticket before trusting a number produced here — the contract size in particular, since it is what turns a price move into money on gold, indices and energies.

Limits worth knowing before you rely on a figure: one trade at a time, one entry and one exit, no partial closes and no scaling in; no overnight financing, no slippage and no tax. Anything that would need those belongs in your broker's statement, not in a browser page that cannot see your account.

What people call this

An fx profit calculator, a forex trading profit calculator and a forex pip profit calculator are all the same question asked with different words: given these two prices and this size, what did the trade make? This page answers all of them in the same place, and prints the pip difference alongside the money so the two views can be checked against each other.

The pip view is worth keeping next to the money view because it is the one that survives a change of size. A fifty-pip move is a fifty-pip move whether you held a micro lot or a standard one, and it is the number you compare against your spread and your typical slippage. The pip calculator goes the other way and starts from a pip count rather than two prices.

A profit figure tells you what a trade did. Sizing tells you what to do before it happens, and that calculation starts from the money you are willing to lose and the distance to your stop — the forex position size calculator takes those two and returns the size, and the forex sizing walkthrough works it through by hand.

FAQ

How do I calculate profit on a forex trade?

Subtract the entry price from the exit price — and flip the sign if you were short — multiply by the number of units you held, and convert into your account currency. One standard lot (100,000 units) of EUR/USD bought at 1.1000 and sold at 1.1050 makes 0.0050 × 100,000 = 500.00 USD before costs. Type your own two prices at the top of this page and it returns the gross, the pip difference and the net after costs.

Does the profit figure include the spread and the commission?

The net figure does, and they are shown on their own lines so you can see them. The spread is entered in pips and priced at the pip value of your size; the commission is a flat round-turn amount in your account currency. The gross figure above them includes neither, which is the number most other calculators stop at.

Why is my net profit smaller than the pip count times the pip value?

Because the spread and the commission come out after that multiplication, and, if your account currency is not the quote currency, because the conversion rate is applied to the profit rather than to each price. Both are shown separately on the results panel, so the gap should be visible rather than mysterious.

Which price am I assumed to be filled at — bid or ask?

Neither is assumed. You type the price you were actually filled at and the price you actually closed at, and the spread is charged separately as its own cost. That keeps the two visible: if your broker filled you at the ask, either type that price in, or type the mid and let the spread field carry the difference — but not both, or you will pay for the spread twice.

How do I work out profit on gold (XAU/USD)?

Select XAU/USD. Gold is quoted in dollars per ounce, so on a USD account no conversion is needed. With a pip size of 0.01 and 100 ounces to a standard lot, a move from 2,400.00 to 2,405.00 is 500 pips and makes 500.00 USD per standard lot before costs. A spread quoted in dollars has to be converted to pips first — 0.30 USD is 30 pips.

Where does the exchange rate come from?

From you. This page has no rate feed and fetches nothing. The rate is 1 when your account currency is the quote currency, is derived from your entry price when it is the base currency, and is otherwise typed by you. If no rate is available the figures stay in the quote currency with a warning, rather than being converted with a number the page cannot know.

Can I use it for a losing trade or a short?

Yes to both. Pick Sell / short for the direction and the sign of the price move flips. Negative figures are labelled as losses rather than displayed as positive numbers, and the spread and commission are added to the loss rather than subtracted from a profit.

Do I need an account, and is anything uploaded?

No and no. There is no sign-up, no login and no pop-up. The page is one HTML file, one shared stylesheet and one script, and every calculation runs in your browser.