CFDs and forex are complex instruments and come with a high risk of losing money rapidly due to leverage. Risk disclosure

Trade cost calculator

Enter your trade details to see what a trade costs before it can make anything, and how far price must move just to cover that cost.

Extrade Pakistan editorial team ·

On this page
  1. What the calculator shows
  2. The formula
  3. The inputs
  4. Reading the results
  5. Points experienced traders should check
  6. Risk and legal context
  7. Frequent questions
Total cost of the trade21 USD
Spread10 USD
Commission (open + close)6 USD
Swap5 USD
Cost in pips2.1

Cost = spread × pip value + commission × lots × 2 − swap × lots × nights (a negative swap is a charge). Spreads change during the day and widen around news.

The inputs come pre-filled with neutral sample values. Replace them with your own figures. The results update next to the inputs.

What the calculator shows

Every trade starts with a cost. Before a position can show a profit, price must move far enough to pay for the spread, any commission and any overnight swap. This tool adds those costs together and shows:

The tool calculates. It does not say whether a trade is worth taking.

The formula

The calculator uses this formula:

Total cost = (spread in pips × pip value) + (commission per lot per side × lots × both sides) + (swap per night × nights)

Then:

Commission is usually quoted per lot per side. A full trade has an opening side and a closing side, so the tool charges it on both. Swap can be a charge or a credit. A credit reduces the total cost.

The inputs

Input What to enter
Spread The gap between bid and ask, in pips, at the moment you trade
Pip value Money value of a one-pip move for one lot, or use the pip value calculator
Lot size Your position size in lots
Commission Charge per lot per side, if your account has one
Swap Overnight charge or credit per lot per night
Nights How many nights you expect to hold
Target Your planned profit in pips, used for the cost percentage

Terms for beginners

Reading the results

Break-even move. This is the number of pips price must move in your direction before the trade is at zero. On short-term trades with small targets, this number can take up a large share of the target.

Cost as % of target. This puts cost next to your plan. When costs take a large part of the target, your stop-loss, win rate and risk-reward all carry more weight. You can check those with the break-even win rate calculator and the risk-reward calculator.

Spread versus commission accounts. Run the same trade twice. First use a wider spread with no commission. Then use a tighter spread with a commission. The tool shows which structure costs less for your lot size and holding time. The answer can change with trade frequency and how long you hold.

Points experienced traders should check

Costs are only part of the picture. Leveraged forex and CFD trading can lose money fast. A trade with low costs can still lose far more than its costs. Size positions with the lot size calculator and read risk management before trading real money.

For Pakistani residents, per the SBP, remitting foreign exchange to overseas forex/margin/CFD platforms is not allowed through any payment channel (FERA s.5(1)). The law and regulators page explains what this means before you decide anything.

Frequent questions

Is this a spread calculator or a commission calculator?

It is both. It works out spread cost, commission and swap separately, then adds them into one total trade cost.

Why is commission counted on both sides?

Most commission accounts charge per lot when you open and again when you close. If your account charges a single round-turn figure, enter half of it as the per-side value.

Can the swap make my cost lower?

Yes. If the swap for your direction is a credit, enter it as a negative charge and the tool subtracts it. Swap rates change, so check the current figure before you rely on it.

Does the result include slippage?

No. Slippage depends on market conditions at the moment of execution. Treat the result as the minimum cost.

Where do I find my real spread and swap values?

Use the trading platform's market watch and the instrument's contract specification. For broker-specific conditions, check your broker's personal area or official site.

Which calculators work well with this one?

The pip value calculator, margin calculator and profit/loss calculator cover the other parts of trade planning. All tools are listed on the calculators page.

Sources

  1. State Bank of Pakistan, EPD Circular Letter No. 08 of 2022 · sbp.org.pk › Epd circular letter no 08 of 2022 — checked 2026-11-11

Related pages