Ready to explore your options?

Find my broker

Devin Forex tools Free · No sign-up

Forex Trading Profit Calculator

This forex trading profit calculator estimates a trade’s gain or loss from its entry price, exit price and position size. Add commission and swaps, then inspect the net result in your chosen account currency.

Quick answer

For a buy, subtract entry from exit; for a sell, subtract exit from entry. Multiply by base-currency units, convert the quote-currency P&L if needed, then subtract commission and add signed swaps.

On this page

Calculate your trade

Calculated in your browser

Your inputs

Manual inputs · no live price feed. Initial EUR/USD prices are illustrative.

Use execution prices: a buy opens at ask and closes at bid; a sell opens at bid and closes at ask. Spread is already included in these prices.

Commission & swap adjustments
Total for this position, not a per-lot rate.
Negative for a charge; positive for a credit.
Contract size assumptions
Default: 100,000. Confirm the broker’s contract specification.
View calculation

How to use this calculator

  1. Select the currency pair, buy or sell, account currency and lot size.
  2. Enter execution prices: ask then bid for a buy, or bid then ask for a sell.
  3. Add any required conversion quote and optional costs. Read net P&L alongside the price movement in pips.

Forex trading profit calculator formula

Position units equal lots multiplied by the selected contract size. The default is 100,000 base-currency units per lot. The directional price difference multiplied by those units gives gross P&L in the pair’s quote currency.

After conversion, the tool deducts the total round-trip commission you enter and adds your signed swap adjustment. A negative swap is a charge; a positive swap is a credit. Costs must be entered as totals for this position in the account currency.

A quick buy-and-sell example

Assume EUR/USD, a USD account and one 100,000-unit lot. The table uses execution prices and no separate conversion. A 0.0020 directional move equals 20 pips, or USD 200 gross for this position.

A quick buy-and-sell example: at a glance
ScenarioEntry → exitGross P&L
Buy; price rises1.1000 → 1.1020USD +200
Buy; price falls1.1000 → 1.0980USD −200
Sell; price falls1.1000 → 1.0980USD +200
Sell; price rises1.1000 → 1.1020USD −200
  • Subtracting USD 7 commission and adding a USD −3 swap turns a USD 200 gross profit into USD 190 net.
  • The same USD 10 of charges turns a USD 200 gross loss into USD 210 net loss.
  • A flat exit price can still leave a net loss after costs.

Include spread once, then check conversion

Use actual fills or realistic executable quotes. A long opens at ask and closes at bid; a short opens at bid and closes at ask. Their difference already reflects the spread. Subtracting a spread again would double-count it.

For a USD account trading EUR/GBP, initial P&L is in GBP and needs a GBP/USD or USD/GBP conversion. Positive proceeds and a negative liability use different bid/ask sides. A broker may apply a different conversion time, rate or extra fee.

Need to choose the size before estimating an exit? Open the position size calculator and work from a cash-risk budget.

Potential P&L is not an execution promise

The result is a scenario, not an order quote, investment recommendation or guarantee. It does not model partial fills, price gaps, liquidation, financing you have not entered, taxes or the broker’s settlement-rounding rules.

Check the account’s trading-cost explanation and the applicable broker schedule. Costs vary by product, legal entity and account; one example does not establish every broker’s terms.

For broader context, the CFTC explains retail forex risks. Always verify the provider and the protections that apply to your account.

Frequently asked questions

Can I calculate a losing or short trade?

Yes. Select buy or sell and enter both execution prices. A move against the position produces a negative gross result; entered costs can increase that loss.

Should I enter commission per side or per lot?

Enter the total account-currency commission for opening and closing this whole position. Convert any per-side or per-lot schedule into that total first.

Why might my broker’s result differ?

Actual fills, conversion quotes, commissions, swaps, settlement rounding and other charges can differ. Check the broker statement and contract specification against every assumption you entered.