Trade Cost Calculator

FX, Gold, Index and Crypto CFD Trading Costs: Units and Holding Fees

FX, Gold, Index and Crypto CFD Trading Costs: Units and Holding Fees | SG Group

JA / 日本語

Trading cost calculation · TC08

FX, Gold, Index and Crypto CFD Trading Costs: Units and Holding Fees

The all-in framework behind any CFD trading cost calculator is the same across instruments, but the values you feed it change. Total cost is always spread + commission + holding cost + currency conversion, added up in your account currency. What differs is the value of one pip, point or tick, the contract size, the commission basis, the funding mechanism and the dividend adjustment, all of which vary by instrument and provider. That is exactly why you have to translate each official specification, for forex, gold (XAUUSD), index CFDs and crypto CFDs, into the same calculation inputs. This guide walks through how the units differ, how to derive a 1-unit value, how to normalize four fictional instruments into one JPY all-in cost, how to keep dividend adjustment, rollover and funding distinct, and how conversion fits in, then routes you to a free calculator to check your own figures.

Reading timeAbout 15 min
Updated14 July 2026
LevelEarly-intermediate traders
SeriesTrading cost calculation TC08
  • Separate the shared total-cost framework from the inputs that change by instrument
  • Stop confusing decimal places in pips, points and ticks with the 1-unit value in account currency
  • Normalize four fictional instruments into one JPY all-in cost and compare over three days
  • Handle dividend adjustment, rollover and funding with signs, not as one generic “swap”
  • Use the mini calculator to estimate cross-instrument all-in cost and break-even units

Answer

The answer: the framework is shared, the inputs are translated

For forex, gold (XAUUSD), index CFDs, commodity CFDs and crypto CFDs, the trading-cost calculation uses the same framework: total cost = spread + commission + holding cost + currency conversion. What differs is the inputs you add together. The value of one pip, point or tick, the contract size, the commission basis, the funding mechanism and the dividend adjustment all vary by instrument and provider, so you need a step that translates the official symbol specification into calculation inputs. Put the other way round: once that translation is correct, every instrument can be lined up as one account-currency all-in cost and compared fairly.

This article focuses on the instrument-specific inputs and cost components. If you want the big picture of total cost and break-even first, start from the pillar guide, Trading Cost Calculation Guide: Spread, Commission, Swap and Break-Even, and this piece will slot into place. Every figure below is a fictional educational example, not a live market, a specific provider’s contract terms or real execution data. Verify the real numbers against your own account and the official materials.

Framework

What stays the same and what changes by instrument

Start by separating the fixed part from the variable part. The fixed part is the structure of the sum. On any instrument, one round turn can incur up to four kinds of burden.

What changes is the inputs that turn these into money. Forex prices in pips, gold in USD-denominated points, an index in index points and crypto in USD-denominated points, so the price unit itself is different, and the 1-unit value (how much one unit of movement is worth in the account currency) changes with contract size. Holding cost also varies: forex uses swap, a cash-linked index CFD uses funding plus dividend adjustment, a futures-linked index CFD uses rollover, and a crypto CFD uses funding, each with a different name and timing. “The framework is shared; the inputs are translated per instrument” is the spine of this article.

Units

Price units and the 1-unit value: do not read decimals as money

The first stumble is confusing the number of decimal places with monetary value. Forex’s “0.6”, an index’s “0.5” and gold’s “30” are all just numbers, but the value of one unit of movement in the account currency is completely different in each case. So instead of comparing the units themselves, always convert to a 1-unit value (one pip, point or tick expressed in account currency) first. There are three steps. First, read the pip, point or tick size from the symbol specification. Second, multiply by the contract size to get the money per unit of movement in the P&L currency. Third, convert to the account currency if needed. As a background assumption, the fictional yen values below use a USD/JPY reference of 150 where a USD-denominated instrument has to be expressed in yen.

Decimal places versus 1-unit value across four instruments A schematic listing fictional quotes, price units (pip/point) and 1-unit values for FX, gold, index and crypto CFDs, showing that decimal places and monetary value are different things. Figures are fictional educational examples, not real prices. Instrument Price unit 1-unit value (fictional, JPY) FX USD/JPY e.g. 150.00 → 150.01 1 pip = 0.01 ¥1,000 / pip XAUUSD (gold) e.g. 3,000.00 → 3,000.30 1 point = 0.01 ¥150 / point Index CFD e.g. 5,000.0 → 5,000.5 1 point = 1.0 ¥1,500 / point Crypto CFD 1 point = 1.0 ($) ¥150 / point Fictional educational example. Decimal places are not monetary value; bar length is a relative cue, read the labels.
Fictional educational dataFigure 1: the same “0.5” is worth different amounts as forex pips versus index points. Compare by 1-unit value in account currency, not by decimal places. Bar length is only a relative cue; read the exact figures from the labels.

The contract size and point value for gold, indices and crypto also matter on the position-sizing side. Gold’s contract size is covered in XAUUSD contract size and position sizing, and point value and quantity for indices and crypto in point value and position size for index and crypto CFDs. Here we stay on the cost side and use the 1-unit value as a fixed fictional figure for “how much one unit of movement is worth in account currency”.

Matrix

Asset-class cost-component matrix

Here is a matrix of the price unit and main cost components by instrument. It is a fictional, generalized summary for teaching, not a fixed specification table or ranking of real providers. Always confirm the actual unit, charging basis and holding cost in the official specification.

Table 1: price units and main cost components by instrument (fictional educational summary)
InstrumentPrice unit1-unit value (fictional)Commission typeHolding-cost typeDividend adjustmentCurrency conversion
FX (USD/JPY)pips (0.01)¥1,000/pipIn spread or separateSwap (rate diff.)NoneNone if account is JPY
XAUUSD (gold)points (0.01)¥150/pointOften in spreadSwap (storage etc.)NoneUSD-based, convert
Index CFD (cash-linked)index points (1.0)¥1,500/pointSeparate commissionFunding (rate)Yes (sign flips by side)Quote currency, convert
Index CFD (futures-linked)index points (1.0)¥1,500/pointSeparate commissionRollover (contract change)May be priced inQuote currency, convert
Crypto CFDpoints ($1.0)¥150/pointMainly spread or separateFunding (variable, two-way)NoneUSD-based, convert

There are two things to read from this matrix. First, even when the price unit differs, converting to a 1-unit value puts every instrument on the same footing. Second, the “type” of holding cost is entirely different between instruments, and treating swap, funding and rollover as the same thing produces wrong numbers. The next section gives the general equation that gathers these into one account-currency all-in cost.

Formula

The account-currency all-in equation, with units

This is the normalization equation you can reuse across instruments. Express every component in the account currency first, then add them up. The symbolic form, the substitution and the result are shown on separate lines.

all-in cost (account ccy) = ( spread(units) × 1-unit value(ccy/unit) + commission(ccy) + daily holding(ccy/day) × days ) × ( 1 + conversion rate )

The units of each term: spread is in the price unit (pips, points or ticks); the 1-unit value is “how much one unit of movement is worth in account currency”; commission is the round-trip total in account currency; daily holding is the per-day holding cost in account currency; days is the holding period; and the conversion rate is the conversion markup (for example 0.5% = 0.005). If the P&L currency is the same as the account currency, set the conversion rate to 0. Break-even units (the number of units this instrument must move to break even) is the all-in cost divided by the 1-unit value.

break-even units = all-in cost(account ccy) ÷ 1-unit value(ccy/unit)

Substitute the fictional FX example: USD/JPY, spread 0.6 pips, 1-unit value ¥1,000/pip, commission ¥0, daily holding ¥30/day, days 3, JPY account so conversion rate 0.

FX: ( 0.6 × 1,000 + 0 + 30 × 3 ) × ( 1 + 0 ) = ( 600 + 90 ) = ¥690 / break-even = 690 ÷ 1,000 = 0.69 pips

For the gold example the P&L is USD-denominated, so multiply by the 0.5% conversion markup last. Spread 30 points, 1-unit value ¥150/point, commission ¥0, daily holding ¥250/day, days 3.

Gold: ( 30 × 150 + 0 + 250 × 3 ) × 1.005 = ( 4,500 + 750 ) × 1.005 = ¥5,276 / break-even = 5,276 ÷ 150 ≈ 35.2 points

The key points are to apply conversion as a separate, final stage, and to read break-even units in that instrument’s own units. You cannot compare 0.69 pips and 35.2 points directly because the units differ, but you can compare ¥690 and ¥5,276 as account-currency all-in costs. Reading these as a cost ratio or friction score connects to Break-Even Pips and Price: Calculate Cost Ratio and Trading Friction.

Worked example

Comparing four instruments’ three-day all-in cost in one currency

Using the same framework, we normalize four fictional instruments (FX, gold, index, crypto) into the account currency (JPY) and compare the all-in cost of holding each for three days. Quantity is 1 lot in every case, and all contract specifications are fictional assumptions. The conversion rate is 0.5% for gold, index and crypto (whose P&L is in USD or a foreign quote currency) and 0% for the JPY-denominated FX pair.

Table 2: three-day all-in cost breakdown for four fictional instruments (account ccy = JPY, 1 lot each)
InstrumentSpread costCommissionHolding (3 days)Conversion markupAll-in costBreak-even units
FX (USD/JPY)¥600¥0¥90¥0¥6900.69 pips
XAUUSD (gold)¥4,500¥0¥750¥26¥5,27635.2 points
Index CFD¥750¥400¥360¥8¥1,5181.01 points
Crypto CFD¥6,000¥0¥2,700¥44¥8,74458.3 points

The assumptions behind each breakdown are as follows. FX: spread 0.6 pips × 1,000 = ¥600, holding ¥30/day × 3. Gold: spread 30 points × 150 = ¥4,500, holding ¥250/day × 3, conversion 0.5%. Index: spread 0.5 points × 1,500 = ¥750, commission ¥400, funding ¥120/day × 3, conversion 0.5%. Crypto: spread 40 points × 150 = ¥6,000, funding ¥900/day × 3, conversion 0.5%. Even at the same “three days held”, the cost structure is completely different between crypto, where holding cost dominates, and gold, where the spread dominates.

Stacked three-day all-in cost bars for four fictional instruments A fictional bar chart showing the three-day all-in cost as a stack of spread, commission, holding cost and conversion markup: FX 690 yen, gold 5,276 yen, index 1,518 yen, crypto 8,744 yen. Crypto is dominated by holding cost. JPY 690 FX 5,276 Gold 1,518 Index 8,744 Crypto spread commission holding conversion Fictional example; compare by labels.
Fictional educational dataFigure 2: three-day all-in cost for four fictional instruments (FX ¥690, gold ¥5,276, index ¥1,518, crypto ¥8,744). Components are distinguished by labels and legend as well as color. Where holding cost dominates, the number of days matters most.

You can compute one instrument’s all-in cost by hand with the equation above. But the moment you want to line several instruments up side by side and flex the spread sensitivity or holding period, that is where Pro-level multi-condition comparison and sensitivity analysis help. Calculate one of your own instruments in the free calculator first, then confirm whether you actually need cross-instrument comparison. Comparing brokers and account types fairly is covered in How to Compare Broker and Account Trading Costs.

Holding types

Do not collapse dividend adjustment, rollover and funding into “swap”

Holding costs with different names are calculated differently. Rather than lumping everything as “swap”, identify the type per instrument. The classification below organizes the four representative cases.

Classifying holding cost: swap, funding, dividend adjustment and rollover A schematic classifying holding cost into swap for FX and gold, funding plus dividend adjustment for cash-linked index CFDs, rollover for futures-linked index CFDs, and funding for crypto CFDs, showing that the name and mechanism differ. Holding cost (type varies) Do not call it all “swap” Swap (FX, gold) Based on rate diff / storage Usually once per day Watch the triple-day Funding + dividend (cash-linked index CFD) Funding = daily rate Dividend adj. at ex-date Rollover (futures) At the contract change Roll spread etc. May lack daily funding Funding (crypto) A financing cost Several times/day, variable Fictional example. Verify actual timing, frequency and sign in the official spec; boxes are labelled, not color-coded alone.
Fictional educational dataFigure 3: holding-cost types. Swap (FX, gold), funding plus dividend adjustment (cash-linked index), rollover (futures-linked index) and funding (crypto) differ in mechanism.

Dividend adjustment can be a cost or a credit

An index CFD’s dividend adjustment works like this: when the constituents go ex-dividend, the index (and therefore the CFD price) drops by that amount, so the difference is adjusted onto open positions. Generally, longs receive and shorts pay, but the sign, timing and tax treatment vary by provider. In the fictional example, when a ¥600 dividend adjustment arises on an index position at the ex-date, a long is −¥600 (a credit that lowers cost) and a short is +¥600 (a charge, i.e. a cost), so the direction flips. It is safer to record the dividend adjustment with its sign rather than assuming it is a cost. The idea of keeping a signed ledger over time is covered in Trading Cost Audit and Ledger: Track Funding, Rollover, Dividends and FX Conversion.

Rollover bites at the moment of contract change

A futures-linked CFD has an expiry, and at the point the contract month rolls over, the price difference and roll spread from the old month to the new one can become an effective cost. Unlike a cash-linked CFD that accrues funding daily, rollover bites at the single moment of the roll. If a position spans an expiry, verify whether a roll happens, when, and how the price is adjusted in the official schedule. The daily calculation of funding and how it differs from swap is covered in more depth in Swap and Overnight Financing Cost Calculation.

Conversion

Treat currency conversion as a separate stage

On instruments whose P&L currency differs from the account currency, the markup added to the conversion rate is a separate cost. When you receive the USD-denominated P&L of gold or crypto, or the foreign-quoted P&L of an index, into a JPY account, the provider uses a conversion rate and may add a small spread (markup) to it. Keeping this out of the spread and commission and treating it as a separate, final stage avoids both double-counting and omission.

In the fictional example, when the pre-conversion all-in cost of gold is ¥5,250 and the conversion markup is 0.5%, the conversion cost is 5,250 × 0.005 = ¥26.25, about ¥26. Make the direction and units explicit too. Here we assume that “USD-denominated P&L is converted into yen, and a 0.5% markup applies to the yen-converted amount”. Whether a markup actually applies, which rate is used (mid, cover-trade rate and so on), and whether conversion at deposit/withdrawal differs from conversion while holding must be verified in the official materials.

conversion cost = pre-conversion all-in cost × conversion rate = 5,250 × 0.005 ≈ ¥26
Watch the unmodeled items: for simplicity, our equation applies the conversion markup uniformly to the whole all-in cost. In reality, conversion might apply only to the P&L portion, arise only at deposit/withdrawal, or carry a fixed minimum fee. Whether tax, deposit/withdrawal charges and platform fees are included also varies by instrument and provider, so confirm the official input fields in the free trade cost calculator and the official specifications.

Mini calculator

Mini calculator: normalize all-in cost across instruments

Enter the quoted spread (units), 1-unit value (account currency), commission (round trip, account currency), daily holding (account currency/day), days and conversion (%) into four rows (FX, gold, index, crypto), and it estimates each instrument’s all-in cost (account currency) and break-even units for teaching purposes. There are no real-instrument presets, live rates or rankings. Inputs are calculated in the browser only and are never sent or stored anywhere. Check how the equation behaves in the static example (Table 3) first, then swap in your own numbers in the tool below.

Table 3: static worked example (fictional data; a fallback if the tool does not run)
InstrumentSpread1-unit valueCommissionHolding/dayDaysConv.All-in costBreak-even
FX0.61,00003030%¥6900.69
Gold30150025030.5%¥5,27635.2
Index0.51,50040012030.5%¥1,5181.01
Crypto40150090030.5%¥8,74458.3

Enter a number in each row (spread is the price unit; 1-unit value, commission and holding are in account currency; days is a count; conv. is the conversion %). Blanks, zeros and negatives are validated.

Cross-instrument all-in cost normalization (fictional, account ccy = JPY)
Instrument spread
(units)
1-unit
value
comm.
(round trip)
holding
/day
days conv.
(%)
all-in
cost
break-even
units
FX ¥690 0.69
Gold ¥5,276 35.2
Index ¥1,518 1.01
Crypto ¥8,744 58.3

Formula: all-in cost = (spread × 1-unit value + commission + holding × days) × (1 + conv./100). Break-even units = all-in cost ÷ 1-unit value. Break-even units are in each instrument’s own units (pips/points) and cannot be compared directly; compare on account-currency all-in cost.

This is a simplified general equation and its result can differ from the production tool. It applies the conversion markup uniformly to the whole all-in cost, and does not model the fine detail of how often commission is charged, the one-off timing of dividend adjustment and rollover, tax, deposit/withdrawal charges, platform fees, minimum fees or execution slippage. Break-even units are a simple required move that ignores direction, and the real break-even shifts with execution and spread variation. Confirm the official input fields in the free trade cost calculator.

Checklist

Do not trust a preset: a six-step specification checklist

An instrument preset is a convenient starting point, but using it as-is leads to wrong inputs. Reconcile from the official symbol specification to your calculation inputs in the following six steps.

Six-step flow from symbol specification to calculator inputs A flow diagram reconciling six steps in order: symbol specification, contract size, tick/point size and value, commission, holding rule and conversion. Do not trust a preset as-is; cross-check against the official specification. 1 symbol spec. 2 contract size 3 tick/point size & value 4 commission 5 holding rule 6 conversion At each step, check the preset default against the official spec, and update the input if they differ. Gold, index and crypto vary most by provider; focus on tick/point value and holding rule. Fictional educational flow; follow the provider’s own symbol specification for the exact fields and order.
Fictional educational dataFigure 4: reconcile symbol specification → contract size → tick/point size and value → commission → holding rule → conversion. Treat the preset as a provisional default and check each step against the official spec.
  • 1. Symbol specification: open the official spec page for the symbol you trade. Do not mix up a similarly named symbol (cash-linked versus futures-linked, mini versus standard).
  • 2. Contract size: confirm how many units one lot is (how many ounces, how much notional). This is the base for the 1-unit value.
  • 3. Tick/point size and value: confirm the minimum price increment and the money in P&L currency per one increment. Do not confuse decimal places with monetary value.
  • 4. Commission: confirm per side or round trip, per lot, fixed or notional percentage, and any minimum fee, and do not double-count.
  • 5. Holding rule: confirm which of swap, funding, dividend adjustment or rollover arises, when, how often and with which sign, including any triple-day and roll date.
  • 6. Conversion: confirm whether the P&L currency differs from the account currency, and the conversion markup and rate used. Add it last as a separate stage.

Working through these six steps for one instrument at a time before you enter the equation or the mini calculator avoids preset-driven errors. You can browse the other articles from the English article library. When you want to save several instruments or conditions and reconcile them continuously, that is the point to consider the Pro and Premium features.

Pitfalls

Common mistakes

  • Comparing instruments by decimal places: reading gold’s “30” and FX’s “0.6” as raw numbers and jumping to the conclusion that gold is expensive. Convert to a 1-unit value and you can compare fairly on all-in cost.
  • Treating every holding cost as swap: forcing an index dividend adjustment or rollover, or crypto funding, into the same daily-swap equation. Each type arises differently.
  • Assuming dividend adjustment is a cost: deducting it as an expense even though a long can receive it. Record it with its sign.
  • Forgetting currency conversion: receiving USD-denominated P&L into a JPY account without adding the conversion markup. Add it as a separate final stage.
  • Trusting a preset as-is: a contract size or tick value that differs from your account. Reconcile with the six-step checklist.
  • Comparing break-even units across instruments: lining up 0.69 pips and 35.2 points to argue which is better. The units differ, so compare on account-currency all-in cost.

All of these are avoided by one principle: convert units to a 1-unit value, handle holding cost by type, add currency conversion as a separate stage, and compare in the account currency. How trading style (scalping, day trading, swing) affects turnover, holding days and therefore cost is a useful companion read in Scalping vs Day Trading vs Swing Trading: Compare Cost Drag and Required Move.

FAQ

Frequently asked questions

Is trading-cost calculation the same for forex and CFDs?
The all-in framework is the same: you add spread, commission, holding cost and currency conversion into one account-currency all-in cost. What differs is the inputs. Forex prices in pips, while gold and indices price in points or ticks, and the 1-unit value changes with contract size. Holding cost also differs: forex uses swap, index CFDs use funding or dividend adjustment, and crypto CFDs use funding, each with a different name and mechanism. Treat the framework as shared and translate the inputs from each instrument’s official specification.
How do you calculate XAUUSD spread cost?
Express the gold spread in points, then multiply the value of one point by the quantity. In our fictional example, with 1 lot = 100 oz, a point size of 0.01, a 1-point value of ¥150 and a 30-point spread, the spread cost is 30 × 150 = ¥4,500. Gold profit and loss is usually denominated in USD, so if your account is in JPY you add a separate currency-conversion stage. Verify the actual contract size, point size, quoted spread and conversion method in the provider’s official specification.
Where do you find an index CFD’s point value?
In the provider’s symbol specification, from the contract size and the tick size or point value. An index CFD has a defined profit-and-loss amount per one-point move, and the number of decimal places is not the same thing as monetary value. The same “0.5” is worth completely different amounts as forex pips versus index points, so always convert to a 1-unit value (one point in account currency) before comparing. Point value and quantity for indices and crypto are also covered in our related lot-sizing guide.
Is crypto-CFD funding the same as swap?
Both are holding costs, but the mechanism differs. Forex swap is based on the interest-rate differential between two currencies, is usually applied once per day, and includes a triple-day on a set weekday. Crypto-CFD funding is a financing cost that, depending on the provider, can be applied several times a day and can be more volatile. The sign and direction can change, so do not lump it in with “swap”; verify the frequency, timing and calculation basis in the official specification for each instrument.
What is an index-CFD dividend adjustment?
When constituents of an index go ex-dividend, the index (and therefore the CFD price) drops by roughly the dividend amount, so an adjustment is credited to or charged from open positions. Long positions generally receive the dividend adjustment and short positions pay it, but the sign, timing and tax treatment vary by provider. Because it can be either a cost or a credit, record it with its sign rather than assuming it is a fee. In our fictional example an ex-dividend event flips to +¥600 for a long and −¥600 for a short.
When can rollover cost occur?
On expiry-based, futures-linked CFDs, at the point the contract month rolls over. The price difference and roll spread when moving from the old contract month to the new one can become an effective cost. Unlike a cash-linked CFD that accrues funding daily, a rollover bites at the single moment of the contract change. Whether a roll happens, when, and how the price is adjusted varies by instrument, so if a position spans an expiry, check the official roll schedule in advance.
Should currency conversion be included in all-in cost?
Yes. On instruments whose profit-and-loss currency differs from your account currency, the markup added to the conversion rate is a separate cost. In our fictional example, when gold P&L is in USD and the account is in JPY, we assume a 0.5% conversion markup, so a pre-conversion cost of ¥5,250 gains about ¥26. Keep the direction and units explicit and treat conversion as a stage separate from spread and commission. Confirm whether a conversion markup actually applies and which rate is used in the official materials.
Can you rely on an instrument preset without checking specifications?
A preset is a convenient starting point, but do not trust it as-is. The preset’s contract size, tick value and holding-cost assumptions may not match the account, symbol and time you actually trade. Reconcile it against the official spec in this order: symbol specification, contract size, tick/point size and value, commission, holding rule, conversion. Gold, indices and crypto vary most between providers, so treat any preset as a provisional default.

References

Sources and further reading

Disclaimer

This article is for education and general information about estimated calculations based on the conditions you enter. It does not recommend a particular instrument, trade direction, account or broker, entry or exit, price forecast or guaranteed return, and it is not investment advice. All figures, prices, spreads, commissions, holding costs, dividend adjustments, conversion examples, comparison tables and break-even units shown are fictional educational data and do not represent a live market, real performance, user numbers, execution quality or any specific provider’s contract terms. The value of one pip, point or tick, contract size, commission basis, swap/funding, dividend adjustment, rollover, conversion, minimum fee and tick value vary by broker, account, instrument, jurisdiction and time. A displayed spread does not guarantee the future fill spread, and a stop order does not guarantee its requested price; gaps, fast markets, thin liquidity and slippage can produce costs or losses beyond the estimate. Do not treat positive swap, funding, rebates, cashback or a received dividend adjustment as fixed income or a permanent negative cost. The mini-calculator result is a simplified general estimate that includes simplifications such as applying the conversion markup uniformly to the whole all-in cost, and it excludes tax, deposit/withdrawal charges, platform fees, minimum fees, rejected orders and requotes. Whether tax and currency conversion are included in the calculation should be verified in the actual tool and official materials. Because actual cost and fill price change with market conditions and provider terms, always verify the official symbol specification, fee schedule, execution policy and roll schedule before trading. SG Group’s features, scope and pricing can change; check the latest details on each service page and the plans page.