Trade Cost Calculator — Trading Cost Series 01
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.
Key takeaways
The answer
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
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
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.
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
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.
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.
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
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.
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.
The spread, round-trip commission, entry and exit slippage, per-day holding cost and holding days from this worked example all map directly onto the fields of the free SG Group Trade Cost Calculator. See one-way and round-trip cost, the break-even move, cost ratio and swap-income checks in one place. Calculations run in the browser and inputs are not sent externally.
One-way, round-trip, holding
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.
| Component | One-way | Round-trip | Round-trip + 3-day hold |
|---|---|---|---|
| Spread | 500 JPY | 1,000 JPY | 1,000 JPY |
| Commission | 300 JPY | 600 JPY | 600 JPY |
| Slippage | 300 JPY | 600 JPY | 600 JPY |
| Holding cost | 0 JPY | 0 JPY | 150 JPY |
| Total | 1,100 JPY | 2,200 JPY | 2,350 JPY |
| Break-even move | 1.10 pip | 2.20 pip | 2.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.
| Holding days | Holding cost | Total cost | Break-even move |
|---|---|---|---|
| 0 days (intraday) | 0 JPY | 2,200 JPY | 2.20 pip |
| 1 day | 50 JPY | 2,250 JPY | 2.25 pip |
| 3 days | 150 JPY | 2,350 JPY | 2.35 pip |
| 7 days | 350 JPY | 2,550 JPY | 2.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
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.
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.
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
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.
| Item | Value | Formula / meaning |
|---|---|---|
| Spread | 1.0 pip | Move paid once across the round trip |
| Value per pip | 1,000 JPY | Example for 1.0 lot USDJPY |
| Round-trip commission | 600 JPY | Entered as round turn |
| Entry slippage | 0.3 pip | Assumed slippage at entry |
| Exit slippage | 0.3 pip | Assumed slippage at exit |
| Per-day holding cost | 50 JPY | Pay is positive, receive is negative |
| Holding days | 3 days | Days carried |
| Target move | 20 pip | Denominator of the cost ratio |
| One-way transaction cost | 1,100 JPY | 2,200 ÷ 2 |
| Round-trip transaction cost | 2,200 JPY | 1,000 + 600 + 600 |
| Holding cost | 150 JPY | 50 × 3 |
| Total cost | 2,350 JPY | 2,200 + 150 |
| Break-even move | 2.35 pip | 2,350 ÷ 1,000 |
| Cost ratio | 11.75% | 2,350 ÷ 20,000 |
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
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.
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
Most trading-cost errors collapse into the same few patterns. If one sounds familiar, that is your entry point into the next article.
Checklist
Working top to bottom through these items before you estimate trading cost helps you avoid gaps in the sum.
| Stage | What to confirm |
|---|---|
| Normalize the currency | Convert every cost into the account currency; have you avoided mixing JPY and USD? |
| Execution cost | Have you counted spread, commission and slippage correctly for one-way versus round-trip? |
| Commission mode | Have you confirmed per side versus round turn, without double-counting or halving? |
| Holding cost | Have you booked per-day cost × holding days and checked triple-day and the sign (receive/pay)? |
| Adjustments | Does the instrument have dividend adjustment, rollover or conversion cost, and if not, did you set it to zero? |
| Break-even | Did you divide total cost by value per pip and apply the move to the price by direction? |
| Excluded items | Have you checked whether tax, deposit/withdrawal charges and platform fees are included, and stated what is not? |
Learning roadmap
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
Summary
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.
Disclaimer
Sources and further reading