Trade Cost Calculator

Swap and Overnight Financing Cost Calculation: Holding Days and Triple-Day Rollover

Swap and Overnight Financing Cost Calculation: Holding Days and Triple-Day Rollover | SG Group

Trade Cost Calculator — Cost Series 05

Swap and Overnight Financing Cost Calculation: Holding Days and Triple-Day Rollover

Swap cost starts from one base rule: daily swap rate x lots (or quantity) x charged nights. Layer the triple-day schedule, holiday adjustments, trade direction and instrument-specific rules on top, and the cumulative cost across your holding days comes into focus. Rather than assert a single answer, this guide tracks normal nights and triple-days day by day, then works through daily, weekly and 30/90/365-day totals, positive and negative rate scenarios, and the days needed to recover transaction cost — all with one consistent fictional educational dataset.

  • The base formula (daily rate x quantity x charged nights) and how to count triple-days
  • How FX swap-point maths differs from annualized CFD funding
  • The -25%, -50%, zero and sign-reversal rate scenarios
  • Recovery days for transaction cost and offset days for an adverse move
Reading timeAbout 14 minutes
Updated14 July 2026
AudienceFX and CFD traders holding for days to long term
TypeEducational, descriptive explainer

Key takeaways

  • Swap is basically “daily rate x quantity x charged nights.” Triple-days, holidays, direction and instrument rules are layered on separately.
  • FX swap-point maths and the CFD “notional x annual rate / day-count” method are different formulas. Do not force them into one equation.
  • The triple-day weekday varies by broker, instrument, settlement date and holiday calendar. There is no single global rule.
  • Received swap changes daily and can fall to zero or reverse sign. Do not treat it as fixed income.
  • Every number here is a fictional educational example. Check your own conditions in the free calculator.
Open contents
  1. The answer: the swap formula
  2. Definitions: swap and funding types
  3. Unit-aware general equation
  4. A 14-day holding timeline
  5. Daily to weekly to 30/90/365-day totals
  6. Rate-change scenarios
  7. Recovery days and adverse-move offset
  8. Holding-cost and swap estimator
  9. Free-calculator workflow
  10. Common mistakes
  11. Frequently asked questions
  12. Summary and next step
  13. Related reading

The answer

The answer: how to calculate swap

Swap and overnight financing cost starts from one base rule: multiply the daily swap rate by your size (lots or quantity) and the number of charged nights. In a fictional example where you receive +¥150 per 1.0 lot each night and hold for 14 days, with two triple-days along the way, normal nights and triple-days combine into 14 charged nights and a cumulative of about +¥2,100. From there you layer on the triple-day schedule, weekend and holiday adjustments, trade direction (long or short) and instrument-specific rules to approach the real holding cost.

This is not one universal equation, though. Forex is usually quoted as swap points or an amount per lot, whereas index and single-stock CFDs commonly accrue “notional value x annual rate / day-count basis” per day, which changes the shape of the maths. After sorting out that difference, this guide checks a day-by-day timeline of normal and triple-day nights, totals from daily out to 365 days, scenarios where swap shrinks or reverses, and the days needed to recover transaction cost — all with one consistent fictional educational dataset. For where swap sits within total trading cost, see the complete trading cost calculation guide.

Definitions

Definitions: four types of swap and funding

“Swap,” “overnight financing” and “funding” are used interchangeably, but the way they are quoted and calculated splits into a few distinct forms. Confuse them and you end up applying the same equation to all, so it helps to sort out four types first. Across every type, what you receive or pay depends on direction and can reverse sign over time.

  • Swap-point type (FX): quoted as “X points” or “X per lot” and estimated as daily rate x quantity x charged nights. The amount and the sign differ between long and short.
  • Currency-amount type: quoted as an amount per night in the account currency. No conversion is needed if the rate is already in your account currency, but if the profit-and-loss currency differs, a separate conversion applies.
  • Annualized / benchmark-linked type: derived by adding a spread to a policy or reference rate, then accruing it daily, so the nightly rate moves when interest rates move.
  • CFD notional x annual rate / day-count type: common for index and stock CFDs, where one day is “notional x annual rate / 360 (or 365).” The long side can be a cost and the short side a credit, so the sign varies by instrument.

Unless noted otherwise, the prose, figures and tools in this article use the swap-point type (a daily rate per lot), and the annualized type is handled as a separate mode in the estimator later. Keep in mind that long and short swap usually differ, and in many cases one side leans positive while the other leans negative. Entry-side costs such as spread and commission are a separate topic: for converting pips to money see how much the forex spread costs, and for one-way and round-trip fees see the trading commission calculator.

General equation

A unit-aware general equation

First, write the cumulative swap for the swap-point type with units made explicit. Received amounts are positive; paid amounts are negative.

Swap-point type: general equation

  • Per-night amount (¥) = daily swap rate (¥ / lot / night) x quantity (lots)
  • Charged-equivalent nights = normal nights x 1 + triple-day nights x multiplier
  • Cumulative swap (¥) = per-night amount (¥) x charged-equivalent nights

Substitute the fictional example: a daily rate of +¥150 / lot / night, a quantity of 1.0 lot, and a 14-day hold made up of 8 normal charged nights (x1), 2 triple-day nights (x3) and 4 non-charged weekend nights (x0). That gives the following.

Substituted values (fictional educational example)

  • Per-night amount = 150 x 1.0 = +150 (¥ / night)
  • Charged-equivalent nights = 8 x 1 + 2 x 3 = 14 (nights)
  • Cumulative swap = 150 x 14 = +2,100 (¥)

The key point is that the two weekend nights are usually not charged separately at most forex brokers; the triple-day bundles them into a single crediting or charging event. So across a full week, “charged-equivalent nights” tends to converge on “calendar days held.” For the annualized (CFD) type the equation changes: use “one day (¥) = notional (¥) x annual rate / day-count basis (days)” and multiply by the holding days. The day-count basis is 360, 365 or another value depending on the instrument, so always verify the specification for your instrument.

Day by day

A 14-day timeline: normal nights and triple-days

The cumulative total does not rise by the same amount every day. The chart below plots each day’s charge (bars) alongside the running total (line) for the fictional example of 1.0 lot held for 14 days at +¥150 / night. Normal nights are x1, triple-days are x3 and weekends are x0, distinguished by label and value as well as color. Every figure is fictional educational data.

Each day’s charge and cumulative swap over a 14-day hold (fictional educational data) A 1.0-lot position held for 14 days at 150 yen per night. Normal nights are 150 yen (x1), triple-days are 450 yen (x3) and weekends are 0 yen (x0). The running total jumps on triple-days, stays flat over weekends, and reaches 2,100 yen on day 14. Bars show each day’s charge and the line shows the cumulative total. Daily charge (¥) Cumulative swap (¥) Weekend (x0) Mon Tue Wed Thu Fri Sat Sun Mon Tue Wed Thu Fri Sat Sun x3 x3 Cumulative +2,100 Weekdays are a fictional assumption. The triple-day weekday varies by broker, instrument and holiday.
Fictional educational dataA 14-day swap timeline. This is a fictional educational example, not real prices, contract specifications or crediting. The triple-day weekday varies by broker and instrument.

Laid out numerically, the way the total builds becomes clear. The table below shows the same fictional example as the chart (1.0 lot, +¥150 / night) day by day.

Table 1: Day-by-day swap over a 14-day hold (1.0 lot, +¥150 / night, fictional educational data; spread and other costs not included)
DayWeekday (fictional)MultiplierCharge that day (¥)Cumulative (¥)
1Monx1+150+150
2Tuex1+150+300
3Wedx3+450+750
4Thux1+150+900
5Frix1+150+1,050
6Satx00+1,050
7Sunx00+1,050
8Monx1+150+1,200
9Tuex1+150+1,350
10Wedx3+450+1,800
11Thux1+150+1,950
12Frix1+150+2,100
13Satx00+2,100
14Sunx00+2,100

The total is 14 charged-equivalent nights for +¥2,100. Shift the triple-day placement, or hold for a span that does not divide into whole weeks, and the same number of days can land the cumulative higher or lower. That is exactly why the triple-day weekday and holiday adjustments must be verified per instrument on your broker’s official calendar.

Across periods

Daily to weekly to 30/90/365-day totals

If the nightly rate is assumed constant, the total compounds as the hold lengthens. The step chart below shows +¥150 / night building up over 30 days, jumping on triple-days and going flat over weekends. The longer the horizon, the more the fact that “the rate itself moves” outweighs these steps.

Step chart of cumulative swap over 30 days (fictional educational data) A stepped line where 150 yen per night builds up to about 4,500 yen over 30 days. It rises about 1,050 yen each week, with larger steps on triple-days and flat sections over weekends. 4,500 3,375 2,250 1,125 0 Day 7 +1,050 Day 30 +4,500 0 10 20 30 Holding days
Fictional educational dataStep chart of the 30-day cumulative. A fictional educational example showing flat weekends and triple-day steps. This is an estimate based on a constant nightly rate.

Summarized by period, the figures are as follows. All assume +¥150 / night stays constant and that a full-week average converges on days x rate.

Table 2: Estimated cumulative swap by holding period (1.0 lot, +¥150 / night, fictional educational data; constant-rate assumption)
PeriodCharged-equivalent nightsCumulative swap (¥; + is received)
1 night1+150
7 days (1 week)7+1,050
30 days30+4,500
90 days90+13,500
365 days365+54,750

This table is strictly a “if the rate does not change” view. In reality, as the next section shows, received swap moves day to day, and over a longer hold that variation increasingly drives the total. The same is true for the annualized CFD type: if the reference rate moves, the daily cost moves. For how required move and turnover relate to holding style, see the comparison of cost drag by trading style.

Read the range

Rate-change scenarios: shrink, zero and sign reversal

Received swap is not fixed. The rate can shrink with rate differentials, supply and demand, or broker adjustments, fall to zero, and at times reverse into a negative (paid) carry. The fan chart below applies -10%, -25%, -50%, zero and sign reversal to the base +¥150 / night and shows how far the 90-day cumulative spreads — a fictional sensitivity example. Read it as a tool for grasping a range, not as a forecast.

Fan chart of 90-day cumulative under swap-rate scenarios (fictional educational data) Lines spread from the origin: the base 150 yen per night reaches 13,500 yen over 90 days at the top, then 12,150 yen at -10%, 10,125 yen at -25%, 6,750 yen at -50%, 0 at zero, and down to -13,500 yen at sign reversal. Above the zero line is received, below is paid. Zero line (received above, paid below) Base +13,500 -10% +12,150 -25% +10,125 -50% +6,750 Zero 0 Reversal -13,500 0 90 Holding days
Fictional educational dataSwap-rate sensitivity fan. A fictional educational example, not a forecast of future crediting or rates. Scenarios are distinguished by line style and label.

Numerically, the lower the rate and the longer the hold, the wider the gap in the total. If the sign reverses, what was a received holding benefit becomes a payment of the same magnitude.

Table 3: Cumulative by swap-rate scenario (1.0 lot, base +¥150 / night, fictional educational data; constant-rate assumption)
ScenarioDaily rate (¥ / night)30 days90 days365 days
Base+150+4,500+13,500+54,750
-10%+135+4,050+12,150+49,275
-25%+112.5+3,375+10,125+41,063
-50%+75+2,250+6,750+27,375
Zero0000
Sign reversal-150-4,500-13,500-54,750

Once you want to compare this range across several conditions at once, or switch it by holding period, a single one-off calculation stops keeping up. The CTA below is the entry point, but the natural start is to enter your own base rate and size for free and get a first read on the sensitivity.

Recover and offset

Recovery days and offsetting an adverse move

Received swap has two “catch-up” readings. One is the recovery days for the received swap to earn back the transaction cost (spread and commission) you paid on entry. The other is the offset days for received swap to fill an unrealized loss from an adverse price move. The intersection chart below shows how many days it takes for the +¥150 / night cumulative to catch up with a round-trip cost of ¥3,000 and an assumed adverse move of ¥9,000 (about 9 pips).

Intersection chart of cumulative received swap catching up with transaction cost and an adverse move (fictional educational data) A cumulative swap line rising at 150 yen per night crosses the 3,000 yen round-trip cost line at day 20 and the 9,000 yen assumed adverse-move line at day 60. Offsetting the adverse move takes three times as long as recovering the cost. Round-trip cost ¥3,000 Assumed adverse move ¥9,000 (about 9 pips) Cumulative swap +150/night Recovered by day 20 Offset by day 60 0 20 60 90 Holding days
Fictional educational dataIntersection chart of recovery and offset. A fictional educational example. The offset days assume price does not move further and swap stays received; it does not guarantee price movement.
Table 4: Recovery days and offset days (1.0 lot, +¥150 average per night, fictional educational data)
ItemTarget amount (¥)Average per night (¥)Nights required
Recover round-trip cost3,000+150About 20
Offset adverse move (about 9 pips)9,000+150About 60

What must not be overlooked is that offset days rest on the strong assumption that “price does not move any further.” In the fictional example of about ¥1,000 / pip on 1 lot, a ¥9,000 adverse move is only about 9 pips, and even so it takes about 60 nights to fill with received swap. If price keeps moving against you during that time the offset cannot keep up, and if swap falls to zero or reverses, the offset stops altogether. High swap is not collateral against price risk. For reading break-even, cost ratio and the friction score, see the break-even and cost ratio guide.

Mini learning aid

Holding-cost and swap estimator

The mini calculator below takes a daily rate, size, charged nights, triple-days, transaction cost and an assumed adverse move, then shows cumulative swap, recovery days, offset days and the -25% / -50% / zero scenarios. It does not judge pass or fail, or “favorable versus adverse.” All calculation stays in your browser, and inputs are neither sent nor stored anywhere. The annualized (CFD) type is a separate mode that requires a day-count basis. First, so the page reads even with JavaScript disabled, here is a static worked table at the default values.

Table 5: Static fallback — swap-point type, 1.0 lot, +¥150 / night, 8 normal nights + 2 triple-days x3 (fictional educational data; spread and other costs not included)
ItemFormula and substitutionResult
Per-night amount150 x 1.0+150 ¥ / night
Charged-equivalent nights8×1 + 2×314 nights
Cumulative swap150 x 14+2,100 ¥
Recovery days (round-trip ¥3,000)3,000 / 150About 20 nights
Offset days (adverse ¥9,000)9,000 / 150About 60 nights
-25% scenario cumulative2,100 x 0.75+1,575 ¥
-50% scenario cumulative2,100 x 0.50+1,050 ¥
Zero scenario cumulative2,100 x 00 ¥

Change the inputs to recalculate (in-browser; nothing is sent externally)

FX typically uses the swap-point type; index and stock CFDs typically use the annualized type.
Positive if received, negative if paid. The sign changes with direction.
0.01 or more. Assumes 1 lot = 100,000 units.
Nights charged at x1. Do not include non-charged weekends.
Nights the multiplier applies to. The weekday varies by broker and instrument.
Triple-days are typically 3, but this can differ by instrument.
Used for recovery days. Spread plus commission, etc.
The unrealized loss used for offset days.
Position notional from quantity x price x contract size.
Reference rate plus spread. Enter a cost as positive.
360 or 365, etc. Always verify in the instrument specification.
A whole number of 1 or more. Used for the cumulative cost.
At the default values (swap-point type, +¥150 / night, 1.0 lot, 8 normal nights + 2 triple-days x3), cumulative swap is about +¥2,100, recovering a ¥3,000 round-trip cost takes about 20 nights, and offsetting a ¥9,000 adverse move takes about 60 nights. At -25% it is about +¥1,575, at -50% about +¥1,050, and at zero ¥0. Formula: cumulative = rate x quantity x (normal nights x1 + triple-day nights x multiplier).
Cumulative swap path for the current inputs A line showing how cumulative swap moves across the charged-equivalent nights, updated as inputs change.

This calculation is a simplified learning aid based on the real trade cost calculator. The swap-point type assumes non-charged weekends and counts charged-equivalent nights as “normal nights + triple-day nights x multiplier,” while the annualized type estimates “notional x annual rate / day-count x holding days.” It does not include spread, commission, tax, execution slippage, currency conversion, dividend adjustments or rollover. If the profit-and-loss currency differs from your account currency, a separate conversion applies. For the full set of inputs including contract specifications, check SG Group’s free trade cost calculator.

Check it free

The free-calculator workflow, and where Pro and Premium fit

Once you have a rough read on swap, the next step is to turn it into numbers for your own account conditions. The free trade cost calculator covers one-way and round-trip transaction cost, a break-even estimate including spread, commission and swap, break-even pips and price, profit or loss per pip or point, cost ratio, friction score, and a daily-to-annual swap credit or debit check (including a triple-day estimate) plus recovery days — all from your inputs. Results also support amount-hidden sharing and add-to-home-screen. Because prices and specifications can change, they are not fixed in the body text; check the current scope on the plans page.

If all you need is to check a “one-off swap credit or debit” as covered here, Free is enough. When you want to line up the same trade under several conditions, view holding-day cost or break-even ladders, or drill into the sensitivity of swap-rate scenarios, adverse-move offset and recovery days, Pro’s in-session analysis comes into view. And when you need to audit swap and funding changes, dividend adjustments, rollover and currency conversion in an ongoing ledger, that is where Premium’s audit features and the ongoing cost audit and ledger guide apply. Differences in funding specifications by instrument are covered in the asset-class trading costs guide. Feature names, scope and pricing can change, so confirm the latest on the current service and plan pages before use.

Avoid these

Common mistakes and how to avoid them

Swap mistakes tend to fall into a few patterns. If any of these sound familiar, that is where to start reviewing.

  • Forgetting to count triple-days: estimating the total from normal nights only and leaving out the triple-day that covers the weekend, so the figure drifts from reality.
  • Assuming the triple-day weekday is fixed: deciding it is Wednesday and not confirming that it varies by broker, instrument and holiday.
  • Treating received swap as fixed income: ignoring daily variation, zeroing and sign reversal, and assuming a guaranteed long-term credit.
  • Using the same rate for long and short: estimating both directions from one number when the amount and sign differ by direction.
  • Thinking swap can fill a price loss: overlooking that offset days are long, that price can keep moving, and that swap can stop.
  • Calculating FX and CFDs with the same formula: confusing the swap-point type with the annualized type, and getting the day-count basis or notional wrong.
  • Lumping in dividend adjustments and rollover: counting index-CFD dividend adjustments, futures rollover or crypto funding together with swap.

FAQ

Frequently asked questions

How do you calculate forex swap?
The base estimate is daily swap rate x lots (or quantity) x charged nights. For example, receiving ¥150 per lot each night and holding for 14 days gives 14 charged nights once normal nights and triple-days are combined, for a cumulative of about +¥2,100 (a fictional educational example). The rate depends on trade direction, broker, account, instrument, jurisdiction and time, and each night’s charge rises or falls on triple-days and around holidays. A displayed swap does not guarantee future crediting, so verify the official terms before trading.
When is the triple swap day?
Many forex brokers apply a triple-day once during the week, when three nights are credited or charged together to cover the coming weekend. The exact weekday varies by broker, instrument, settlement date and holiday calendar. Wednesday is often cited, but it is not a fixed global rule, and index or commodity CFDs may use a different basis. Always confirm the triple-day and holiday adjustments for your specific instrument on your broker’s official calendar.
Is positive swap the same every day?
No. Positive (received) swap moves with rate differentials, supply and demand, and broker adjustments, and it can shrink, fall to zero, or reverse sign into a negative (paid) carry. This article shows -10%, -25%, -50%, zero and sign-reversal scenarios against a base of +¥150 per night as fictional examples. They are sensitivity ranges, not forecasts. Do not build a plan around received swap as fixed income; assume it can change and reverse.
Is CFD overnight financing the same as FX swap?
The mechanism is similar but the maths often differs. Forex is usually quoted as swap points or an amount per lot, whereas index and single-stock CFD overnight financing is commonly a daily accrual of notional value x annual rate / day-count basis (such as 360 or 365 days). In a fictional example, a notional of ¥2,000,000 at 5% on a 360-day basis is about ¥277.78 of cost per day. Index-CFD dividend adjustments, futures rollover and crypto funding are separate items, covered in TC08 and TC10.
How do you estimate 30- or 90-day holding cost?
If you assume the nightly rate is constant, multiply the daily rate by the holding days for a rough total. At the fictional +¥150 per night, that is about +¥4,500 for 30 days, +¥13,500 for 90 days and +¥54,750 for 365 days. In practice, triple-day placement, holiday adjustments and rate changes shift the figure, and the longer you hold, the more that variability compounds, so read a range of scenarios rather than a single number. Annualized CFDs use the notional and day-count basis in a separate formula.
How many days of swap recover transaction costs?
Count the days until cumulative received swap catches up with the spread and commission you paid on entry. In the fictional example, a round-trip cost of ¥3,000 divided by an average +¥150 per night is about 20 nights to recover, and a triple-day slightly shortens it. If swap turns negative, recovery stalls, and this is separate from price movement itself. Recovery days are a cost guide, not a guarantee of profit.
Can positive carry offset an adverse price move?
Partially, but there is no guarantee it cancels a price move. In the fictional example, filling a ¥9,000 adverse move (about 9 pips) with +¥150 per night takes about 60 nights. If price keeps moving against you the offset cannot keep up, and if swap falls to zero or reverses the offset stops entirely. High swap is not collateral against price risk; it is one component of what you receive or pay while holding. Do not hold a high-swap instrument long term to justify direction or paper over a loss.
What is the difference between Free and Pro swap analysis?
Free suits one-off checks: daily-to-annual swap credit or debit, triple-day estimates and a recovery-day guide. Pro is for comparing the same trade under several conditions and drilling into holding-day cost, swap-rate scenarios, and the sensitivity of adverse-move offset and recovery days within a session. Saving, ledgers and CSV/PDF are not part of Pro. When you need an ongoing change ledger or an audit of dividend adjustments and rollover, that extends to Premium and the TC10 workflow. Features and scope can change, so confirm the current plan page before use.

Summary

Summary: the main answer and your next step

Swap cost is fundamentally “daily rate x quantity x charged nights,” with the triple-day schedule, holidays, direction and instrument specifications layered on top. In the fictional example, +¥150 / night on 1.0 lot held for 14 days gave a cumulative +¥2,100, rising to +¥4,500 at 30 days, +¥13,500 at 90 days and +¥54,750 at 365 days. But received swap moves daily, and the total shifts sharply at -25%, -50%, zero and sign reversal. Recovering a ¥3,000 round-trip cost takes about 20 nights and offsetting a ¥9,000 adverse move about 60 nights — and that offset assumes price does not move any further. The FX swap-point type and the CFD annualized type use different formulas, and dividend adjustments and rollover are counted separately.

In practice: (1) confirm the rate, sign and triple-day weekday for your instrument on the official calendar, (2) estimate the cumulative by holding period, (3) read it as a range of scenarios, (4) treat recovery and offset days as figures that assume the rate persists, and (5) turn your own conditions into numbers in the free calculator. Work through that order and you will not be far off.

Read next

TC06: Slippage explained — calculate execution cost and stress scenarios — after the swap you pay while holding, the next step converts the slippage that occurs at execution into real cost.

Disclaimer

  • This article is descriptive, educational content on how to calculate swap and overnight financing cost and holding cost. It does not recommend, advise, solicit or guarantee the buying, holding, entry, exit, price forecast or investment decision for any financial instrument. It makes no claim of “the most favorable swap,” “guaranteed recovery” or “zero cost.”
  • Calculator and simulator results are estimates based on your inputs. They do not include spread, commission, tax, execution slippage, currency conversion, dividend adjustments, rollover or crypto funding. Offset days and recovery days are guides that assume price does not move further and the rate is constant; they do not guarantee price movement or profit.
  • All figures, charts and tables are fictional educational data, not real crediting records, user counts or returns for any actual instrument. The same example dataset is used consistently across the prose, figures, tables and tool defaults.
  • Swap, funding, the triple-day weekday, the day-count basis, contract size, pip and point, minimum quantity and currency conversion vary by broker, account, instrument, jurisdiction and time. Do not treat any value as universal; verify official contract specifications, fee schedules, crediting calendars and execution policy before trading. A displayed swap does not guarantee future crediting and can shrink, zero out or reverse with rates and demand.
  • SG Group’s feature names, scope and pricing can change. Check the latest on the current service and plan pages before use.

Sources and further reading