Trade Cost Calculator

Trading Cost Calculation Guide: Spread, Commission, Swap and Break-Even

Trading Cost Calculation Guide: Spread, Commission, Swap and Break-Even | SG Group

Trade Cost Calculator — Trading Cost Series 01

Trading Cost Calculation Guide: Spread, Commission, Swap and Break-Even

Headline spread alone cannot compare trades. Only once you fold in commission, execution slippage, swap or funding and, where they apply, dividend adjustment, rollover and currency conversion, all normalized into one account currency, do one-way and round-trip cost and the break-even move become meaningful. This guide sets out that method and a unit-aware general equation with one consistent fictional example, as a pillar page you can use across forex and CFDs.

  • Add it up as total cost = execution cost + holding cost ± adjustments
  • Keep one-way, round-trip, transaction, holding, realized and estimated cost distinct
  • Break-even move = total cost ÷ value per pip or point
  • Every figure in prose, visuals and the mini calculator is a fictional educational example
Reading timeAbout 14 min
Updated14 July 2026
ForTraders who currently judge on headline spread alone
TypeEducational, descriptive explainer

Key takeaways

  • Trading cost is not the spread on its own; you can only compare it once spread, commission, slippage and swap/funding are normalized into one account currency and summed.
  • Total cost = execution cost + holding cost ± dividend adjustment and conversion cost. Components an instrument does not have are set to zero.
  • Distinguish one-way from round-trip, per side from round turn, and per lot from fixed and notional-percentage fees, so you neither double-count nor understate commission.
  • Break-even move = total cost ÷ value per pip or point. The break-even price applies that move to the entry price by trade direction.
  • Every number in prose, tables, SVGs and the mini calculator is a fictional educational example. Recalculate with your own inputs in the free Trade Cost Calculator.
Show contents
  1. The direct answer: normalize, then compare
  2. Definitions: one-way, round-trip, transaction, holding
  3. The four-layer cost stack
  4. General equation, units and conversion
  5. Fictional example: a three-stage waterfall
  6. One-way, round-trip and holding-day comparison
  7. Break-even move, price and cost ratio
  8. Check it with the mini calculator
  9. Using the free calculator
  10. Common mistakes and how to avoid them
  11. Practical checklist
  12. Learning roadmap (10 articles)
  13. Frequently asked questions
  14. Summary and next step
  15. Related reading

The answer

The direct answer: normalize into one currency, then compare

The first principle of any trading cost calculation is that you do not compare on headline spread. The cost you actually bear is the sum of what you pay at execution, spread, trading commission and execution slippage, what accrues while you hold, swap or overnight financing, and, on some instruments, dividend adjustment, rollover and currency-conversion cost. Only after you normalize all of these into one account currency and add them up do one-way and round-trip cost and the break-even move fall out.

Put differently, trading cost is a single amount built from several layers: execution, holding, exit and conversion or adjustment. A tight displayed spread does not help if a commission-based account adds a round-trip fee, and carrying the position overnight adds swap on top. If you only want to go deeper on the spread itself, the article on converting pips into account-currency cost is the entry point, but the basis for any comparison is always the normalized total.

This article is the pillar page for ten specialist lessons. It gives the conclusion and the way in to each topic, then links to the detailed calculations. Every number, figure and mini calculation shown here is fictional educational data, not a recommendation of any instrument or provider and not a suggestion of future results. Spread, commission, swap, contract size and tick value vary by broker, account, instrument, jurisdiction and time, so verify the official fee schedule, contract specifications and execution policy before trading.

Definitions

Definitions: one-way, round-trip, transaction, holding, realized and estimated cost

Before adding anything up, separate the terms that are easy to blur. By timing, transaction cost (execution cost) is charged once each at entry and exit, and covers spread, commission and slippage. Holding cost accrues each day you carry the position, and is mainly swap or funding.

By count, one-way cost occurs on a single side, entry or exit, while round-trip cost is the total for one full cycle. The spread is usually treated as a round-trip cost paid once across the trade, while commission comes in a per side form charged on each leg and a round turn form displayed as a single figure. Get this wrong and you either count commission twice or halve it. The commission modes are covered in the article on turning one-way, round-trip, per-lot and fixed fees into all-in cost.

Finally, separate by certainty. Estimated cost is the figure you project in advance from a displayed spread and an assumed slippage, while realized cost is settled afterwards from the actual fills. A displayed spread does not guarantee the future fill spread, and slippage cannot be fixed in advance. So what this guide produces is an estimated cost under stated assumptions; the real burden shifts with execution, the market and provider terms. Holding that distinction in mind alone raises the resolution of any cost comparison.

The big picture

Grasp the whole with a four-layer cost stack

Trading cost is easiest to organize when you split it into four layers by where it arises. The SVG below shows the 2,350 JPY total cost of one consistent fictional example (open USDJPY at 1.0 standard lot = 100,000 units, hold for three days, then close) across the four layers: entry (execution), holding, exit (execution) and conversion/adjustment. The figures are fictional educational data.

Total cost split into a four-layer stack: entry, holding, exit and conversion/adjustment Fictional educational data. The 2,350 JPY total breaks down into entry 1,100 JPY, holding 150 JPY, exit 1,100 JPY and conversion/adjustment 0 JPY. Each layer is distinguished by label, amount and fill pattern. Four-layer cost stack: breakdown of the 2,350 JPY total (fictional data) ① Entry (execution) half spread 500 + half commission 300 + entry slippage 300 1,100 JPY ② Holding (swap / funding) 50 JPY per day × 3 days (pay side) 150 JPY ③ Exit (execution) half spread 500 + half commission 300 + exit slippage 300 1,100 JPY ④ Conversion / adjustment USDJPY P/L is in JPY, so no conversion and no dividend adjustment 0 JPY Round-trip + holding total 2,350 JPY = ①+②+③+④ Costs are positive burdens. A receive side (positive carry) is shown by sign and label, never by color alone.
Fictional educational exampleFour-layer cost stack. Total cost 2,350 JPY = entry 1,100 JPY + holding 150 JPY + exit 1,100 JPY + conversion/adjustment 0 JPY. Layers are distinguished by label, amount and fill pattern as well as color. Actual breakdowns vary by provider and instrument.

The advantage of thinking in these four layers is that you never mix costs of different natures. Execution cost scales with the number of trades (turnover); holding cost scales with the number of days held. For the same total cost, a short-term style that trades often is dominated by execution cost, while a style that carries positions for a long time is dominated by holding cost. How each style is affected is explored in the article on swap and overnight financing and in the asset-class lesson.

General equation

General equation, units and currency conversion

Written with units attached, the skeleton of trading cost is the general equation below. Carrying the units, not just the variable names, makes it far easier to catch a pip-versus-money or one-way-versus-round-trip mix-up. Any component an instrument does not have, such as dividend adjustment for spot forex, is set to zero.

Spread cost (JPY) = spread (pip) × value per pip (JPY/pip)
Slippage cost (JPY) = (entry + exit slippage) (pip) × value per pip (JPY/pip)
Holding cost (JPY) = per-day holding cost (JPY/day) × holding days (day)
Round-trip total (JPY) = spread cost + round-trip commission + slippage cost ± dividend adjustment + conversion cost + holding cost

Now substitute the consistent fictional educational data. This is a case where the profit-and-loss currency (JPY for USDJPY) equals the account currency (JPY), so no conversion step is needed.

Spread cost = 1.0 pip × 1,000 JPY/pip = 1,000 JPY
Slippage cost = (0.3 + 0.3) pip × 1,000 JPY/pip = 600 JPY
Round-trip commission = 600 JPY (round turn)
Holding cost = 50 JPY/day × 3 days = 150 JPY
Round-trip transaction cost = 1,000 + 600 + 600 = 2,200 JPY
Round-trip total cost = 2,200 + 150 = 2,350 JPY

When the profit-and-loss currency differs from the account currency, insert a separate conversion step to restate cost into the account currency. For example, if an exit cost is quoted in USD at 15 USD and the account is in JPY with USDJPY = 150.00, then 15 USD × 150.00 JPY/USD = 2,250 JPY. The key is that whether you multiply or divide depends on which currency is the base, so always state the direction, “restate the P/L currency into the account currency,” in words. Mistake the direction or the units of the conversion rate and the magnitude is off. The differences in units and holding fees by asset class are covered in the article on FX, gold, index and crypto CFD trading costs.

Note that this general equation produces an estimated cost based on your inputs. Whether tax, deposit and withdrawal charges and platform fees are included in the calculation varies by broker and account, so treat them as excluded and budget for them separately. Stating what you have not included is part of a sound estimate.

One consistent example

Fictional example: spread only, then add commission, then slippage and holding

Adding cost components to the same fictional trade one at a time makes it clear how total cost and break-even move. The waterfall below shows three stages: spread only (1,000 JPY), plus round-trip commission (1,600 JPY), then plus slippage and three days of holding (2,350 JPY). It scrolls horizontally. The figures are fictional educational data.

Waterfall of total cost, adding commission, slippage and holding cost to a spread-only base Fictional educational data. Stage 1 spread only 1,000 JPY; stage 2 adds round-trip commission 600 JPY for 1,600 JPY; stage 3 adds round-trip slippage 600 JPY and three-day holding 150 JPY for 2,350 JPY. Bar height and value labels show the increase. Total-cost waterfall (fictional data, USDJPY 1.0 lot) 0 1,000 2,000 1,000 ① Spread only 1,600 + comm 600 ② + round-trip commission 2,350 + slip 600 ③ + slippage, 3-day hold Spread Round-trip commission Slippage Holding cost Break-even: ① 1.00 pip → ② 1.60 pip → ③ 2.35 pip
Fictional educational exampleWaterfall. Spread only 1,000 JPY, plus round-trip commission for 1,600 JPY, plus slippage and a three-day hold for 2,350 JPY. The more you include, the farther break-even moves, from 1.00 to 1.60 to 2.35 pips.

What this chart drives home is that a cost comparison must always match “how much you included.” Compare on spread only at 1,000 JPY and you cannot fairly rank a commission-based account against a no-commission one. The 2,350 JPY through stage 3 is this trade’s estimated total cost. For the same trade, break-even can more than double depending on which components you fold in.

One-way, round-trip, holding

One-way, round-trip and holding-day comparison: do not double-count charges

Laying the same fictional trade out three ways, one-way, round-trip and round-trip-plus-holding, shows how many times each component is charged. The table below gives that breakdown as fictional educational data (it scrolls horizontally). One-way is simplified to exactly half of round-trip.

Table 1: Trading cost breakdown for one-way, round-trip and holding (fictional educational example, not a real broker’s fees)
ComponentOne-wayRound-tripRound-trip + 3-day hold
Spread500 JPY1,000 JPY1,000 JPY
Commission300 JPY600 JPY600 JPY
Slippage300 JPY600 JPY600 JPY
Holding cost0 JPY0 JPY150 JPY
Total1,100 JPY2,200 JPY2,350 JPY
Break-even move1.10 pip2.20 pip2.35 pip

Next, total cost and break-even when only the holding period changes. This fictional example assumes a per-day holding cost of 50 JPY and fixes the round-trip transaction cost at 2,200 JPY.

Table 2: Total cost and break-even move by holding days (fictional educational example)
Holding daysHolding costTotal costBreak-even move
0 days (intraday)0 JPY2,200 JPY2.20 pip
1 day50 JPY2,250 JPY2.25 pip
3 days150 JPY2,350 JPY2.35 pip
7 days350 JPY2,550 JPY2.55 pip

Two points stand out. First, one-way and round-trip differ only in how many times a charge occurs, and break-even is calculated on the round-trip figure as a rule. Second, on certain weekdays (often Wednesday) a “triple-day” books three days of swap at once, and holding cost jumps that day. The weekday rule and the sign vary by broker and instrument, so always confirm with primary sources. Carry-cost calculation is covered in detail in the article on swap that reflects triple-day rollover and holding days.

Break-even

Break-even move, price and cost ratio

Once total cost is known, break-even is a single division. The break-even move equals total cost, normalized into the account currency, divided by the value of one pip.

Break-even move (pip) = round-trip total cost (JPY) ÷ value per pip (JPY/pip)
Break-even move = 2,350 JPY ÷ 1,000 JPY/pip = 2.35 pip
Break-even price (long) = entry price + 2.35 pip
Break-even price (short) = entry price − 2.35 pip

A long only recovers its cost after price rises 2.35 pips; a short, after price falls 2.35 pips. Note that direction decides whether you add the move to the entry price or subtract it. How to read break-even and friction is explored in the article on break-even pips, break-even price, cost ratio and trading friction.

A second measure is the cost ratio, which expresses what share of your target move total cost consumes.

Target-move P/L (JPY) = target move (pip) × value per pip (JPY/pip)
Target-move P/L = 20 pip × 1,000 JPY/pip = 20,000 JPY
Cost ratio = round-trip total cost ÷ target-move P/L = 2,350 ÷ 20,000 = 11.75%

The higher the cost ratio, the larger the share of your target move eaten by cost before you profit, and the smaller the target, the more short-term trading is disadvantaged. A 20-pip target gives 11.75%, but a 5-pip target with the same total cost sends the cost ratio up to 47%. Through the cost ratio, your target move and turnover are tied directly to trading cost. As for the friction score, this article does not reproduce the SG Group calculator’s implementation formula; its definition and thresholds are left to the calculator’s own display.

Hands on

Check it with the educational mini calculator

The mini calculator below is an educational aid for feeling out the article’s formula. It has no instrument presets and no live rates, and estimates from your inputs alone. For a real trading cost calculation that includes contract specifications, use the free Trade Cost Calculator. First, so it reads even with JavaScript disabled, here is a static worked table using the same example inputs.

Table 3: Mini-calculator defaults and the matching hand calculation (static fallback, fictional educational data)
ItemValueFormula / meaning
Spread1.0 pipMove paid once across the round trip
Value per pip1,000 JPYExample for 1.0 lot USDJPY
Round-trip commission600 JPYEntered as round turn
Entry slippage0.3 pipAssumed slippage at entry
Exit slippage0.3 pipAssumed slippage at exit
Per-day holding cost50 JPYPay is positive, receive is negative
Holding days3 daysDays carried
Target move20 pipDenominator of the cost ratio
One-way transaction cost1,100 JPY2,200 ÷ 2
Round-trip transaction cost2,200 JPY1,000 + 600 + 600
Holding cost150 JPY50 × 3
Total cost2,350 JPY2,200 + 150
Break-even move2.35 pip2,350 ÷ 1,000
Cost ratio11.75%2,350 ÷ 20,000

Inputs are calculated in your browser and are not sent or stored (fictional educational aid)

pip etc.
Move paid once across the round trip. Match its unit to the value per pip below.
JPY
In the account currency after conversion. If the P/L currency differs, enter the converted value.
JPY
Round-turn total. If shown per side, double it before entering.
pip etc.
Assumed slippage at entry. An estimate that cannot be fixed in advance.
pip etc.
Assumed slippage at exit. Can grow in fast markets.
JPY/day
Enter pay as positive and receive (positive carry) as negative.
days
Days carried. Budget for triple-day separately.
pip etc.
The move you are aiming for. It is the denominator of the cost ratio.
One-way transaction cost
1,100 JPY
Round-trip transaction cost
2,200 JPY
Holding cost
150 JPY
Total cost
2,350 JPY
Break-even move
2.35 pip
Cost ratio (vs target)
11.75 %

Formula: round-trip transaction cost (spread cost + round-trip commission + entry and exit slippage cost) + holding cost (per day × days) = total cost. Break-even move = total cost ÷ value per pip. Cost ratio = total cost ÷ (target move × value per pip). Tax, deposit/withdrawal charges, platform fees, dividend adjustment and conversion cost are not included.

This mini calculator estimates a single trade and includes simplifications that can differ from the production tool. It treats one-way as half of round-trip, and does not reflect conversion direction, dividend adjustment, triple-day or the friction-score implementation. To check your actual conditions, including the official input fields, use the free Trade Cost Calculator.

Check it free

Using the free Trade Cost Calculator

Once the flow makes sense on paper, enter your own conditions in the free SG Group Trade Cost Calculator. The free tier covers one-way and round-trip trading cost including spread, commission and swap/funding, the break-even move and break-even price, value per pip or point, cost ratio, friction score, daily-to-annual swap-income checks, triple-day estimates and recovery days, all calculated in the browser. A typical order of use is as follows.

  1. Enter the instrument, size and spread: this maps to the spread cost in your hand calculation. Whether it is pips or points is handled by the calculator.
  2. Choose the commission mode: set per side or round turn to prevent double-counting.
  3. Read one-way, round-trip and break-even: see round-trip total cost and the break-even move and price together.
  4. Check holding cost with the swap-income check: view daily-to-annual and triple-day estimates and recovery days.
  5. Weigh the trade with cost ratio and friction score: check how heavily cost bears on your target move.
  6. Share, or share with the amount hidden: keep a record of the conditions so you can revisit them.

The figures shown here are input-based estimates, not investment advice. A displayed spread does not guarantee the future fill spread, and swap or funding moves and can turn from a credit into a debit. When you outgrow a single estimate and want multi-condition comparison, spread sensitivity, commission-mode comparison, holding-day cost, break-even ladders and swap-rate scenarios, that is the territory of Pro’s in-session advanced analysis. When you further need saving, ledgers, CSV/PDF reports and ongoing audit, that is Premium’s scope. Treat the plans page as the single source of truth for the current features and pricing. How to compare brokers and account types fairly is covered in the article on comparing on all-in cost and spread sensitivity.

Avoid

Common mistakes and how to avoid them

Most trading-cost errors collapse into the same few patterns. If one sounds familiar, that is your entry point into the next article.

  • Comparing on headline spread only: looking at a tight displayed spread and ignoring round-trip commission and holding cost. Compare on the normalized total.
  • Mixing one-way and round-trip: mistaking a one-way cost for a round-trip one and halving break-even. Break-even is calculated on the round trip as a rule.
  • Double-counting or halving per-side commission: mistaking a per-side figure for round turn and halving it, or conversely adding it twice.
  • Treating positive swap as fixed income: booking a receive-side swap as a permanent negative cost or locked-in profit. Rates move and the sign can flip.
  • Forgetting currency conversion: leaving a USD-denominated P/L unconverted and mixing JPY and USD in one sum. Make conversion a separate step.
  • Not estimating slippage: assuming zero slippage and ignoring stress in fast markets. Place an assumed band and look at how much it worsens. Slippage conversion is covered in depth in the article on converting slippage into real execution cost.

Checklist

Practical checklist

Working top to bottom through these items before you estimate trading cost helps you avoid gaps in the sum.

Table 4: Practical checklist for trading cost calculation (educational verification steps)
StageWhat to confirm
Normalize the currencyConvert every cost into the account currency; have you avoided mixing JPY and USD?
Execution costHave you counted spread, commission and slippage correctly for one-way versus round-trip?
Commission modeHave you confirmed per side versus round turn, without double-counting or halving?
Holding costHave you booked per-day cost × holding days and checked triple-day and the sign (receive/pay)?
AdjustmentsDoes the instrument have dividend adjustment, rollover or conversion cost, and if not, did you set it to zero?
Break-evenDid you divide total cost by value per pip and apply the move to the price by direction?
Excluded itemsHave you checked whether tax, deposit/withdrawal charges and platform fees are included, and stated what is not?

Learning roadmap

Learning roadmap (10 articles)

Starting from this pillar guide and reading the cluster in the order “execution cost,” then “holding cost and break-even,” then “comparison and audit” builds the full picture of trading cost calculation. You can also browse the full list from the English article library.

FAQ

Frequently asked questions

What is included in total trading cost?
Total trading cost splits into a transaction cost paid once at execution and a holding cost that accrues each day you keep the position. Execution cost covers the spread, trading commission and execution slippage; holding cost covers swap or overnight financing. Some instruments also add dividend adjustment, rollover and currency-conversion cost. Because these components use different units and occur a different number of times, you cannot compare them until you normalize everything into one account currency and add it up. The exact set of components varies by broker, account and instrument, so verify the official fee schedule and contract specifications.
Is the headline spread enough to compare trades?
No. The spread is only part of the execution cost. On a commission-based account the spread can be tight yet a round-trip commission is added, so the real all-in cost can converge with a wider-spread, no-commission account. Add execution slippage in fast markets, plus swap or funding if you hold the position overnight, and a spread-only comparison misses the differences in commission and holding cost. Convert everything to one-way and round-trip cost first, then compare. Remember that a displayed spread does not guarantee the future fill spread.
What is the difference between one-way and round-trip cost?
One-way cost is what you pay on a single side, either entry or exit; round-trip cost is the total for one full open-and-close cycle. The spread is usually treated as a round-trip cost paid once across the trade, while commission may be charged per side or displayed as a single round-turn figure. Confuse the two and you either double-count commission or understate it by half. As a rule, use the round-trip total for break-even calculations.
How do you calculate break-even pips?
Break-even pips (the break-even move) equals your total cost, expressed in the account currency, divided by the monetary value of one pip or point. For example, if the round-trip-plus-holding cost is 2,350 JPY and one pip is worth 1,000 JPY, the break-even move is 2.35 pips. The break-even price applies that move to the entry price by trade direction: up for a long, down for a short, before the cost is recovered. The more components you fold into total cost, spread, commission, slippage and holding, the farther break-even moves away.
Does positive swap reduce total cost?
A receive-side swap (positive carry) can offset the holding burden and pull total cost down. Treating it as fixed income or a permanent negative cost is risky, however. Swap and funding rates move with interest rates and supply and demand, and a credit can turn into a debit. Timing effects such as triple-day rollover book several days at once, and this is separate from your unrealized FX result. Distinguish receive and pay clearly by sign and label, and never judge direction by color alone.
Can the same cost formula be used for forex and CFDs?
The skeleton, total cost equals execution cost plus holding cost plus or minus adjustments, is the same, but the values you substitute change meaning. Forex quotes move in pips, gold CFDs in price increments and index CFDs in points, and the monetary value of one unit differs by instrument. Index CFDs can add dividend adjustment, and crypto CFDs can change how funding is treated. If the profit-and-loss currency differs from your account currency, you also need a conversion step. The formula is shared, but contract specifications are essential, so the asset-class article covers the differences in detail.
Can slippage be estimated before a trade?
Not as a fixed value. Slippage is the gap between your order price and the actual fill, and it varies with liquidity, volatility, news releases and order size, so the future value cannot be guaranteed. What you can do is place an assumed slippage band as a scenario and estimate how much it worsens total cost and break-even. A stop order does not guarantee its requested price either; gaps and fast markets can exceed the estimate. A conservative estimate under a stress scenario is the realistic approach.
What can the free SG Group Trade Cost Calculator check?
The free SG Group Trade Cost Calculator checks one-way and round-trip trading cost including spread, commission and swap/funding, the break-even move and break-even price, value per pip or point, cost ratio, daily-to-annual swap-income checks, triple-day estimates and recovery days. Calculations run in the browser and inputs are not sent externally. When you need multi-condition comparison, holding-period analysis, saved templates, ledgers or reports, that is where the paid plans come in. Check the plans page for the current scope of each tier.

Summary

Summary: the answer to the main question and your next step

What a “trading cost calculation” is really after is not a tight spread but the total cost normalized into one currency. Add execution cost (spread, commission, slippage) and holding cost (swap or funding), watching the one-way versus round-trip distinction, insert dividend adjustment and conversion where needed, and divide total cost by value per pip to get the break-even move: that sequence is the skeleton. Pip, point, contract size and tick value change shape by instrument, but the formula itself is shared.

In practice, five points keep you from going far wrong: (1) normalize everything into the account currency, (2) count execution cost correctly for one-way versus round-trip, (3) avoid double-counting via the commission mode, (4) confirm holding cost, triple-day and the sign, and (5) weigh the trade with break-even and cost ratio. After that, it is just a matter of recalculating with your own inputs.

Read next

TC02: How Much Does the Forex Spread Cost? Convert Pips to Money — start by locking down the basics of execution cost, converting the spread into money.