Back to Glossary

What Is a Swap Fee? Meaning, Formula and Example

Swap fee meaning: the interest you pay or receive to hold a position overnight. When it is charged, why Wednesday is triple, and why a backtest omits it.

A swap fee is the interest you pay or receive for holding a position overnight. It comes from the gap between the interest rates of the two currencies in the pair, and it is charged once for every night the position stays open.

Dukascopy's definition: "A forex overnight swap is essentially an interest payment that comes into play when you hold a trading position overnight. Overnight swap is when you either pay or receive for keeping your trade open beyond the market's daily closing."

Why does a swap fee exist?

Because a currency trade is two positions at once, and each side has its own interest rate.

Dukascopy again: "When you trade currencies, you're actually borrowing one currency and lending the another." Since two currencies mean two rates, "The difference between these rates determines whether you'll pay or receive an overnight swap fee."

Top One Trader, a prop firm, puts the same thing in one line:

In essence, Forex swap fees represent the interest paid for "borrowing" a currency compared to the interest received for "investing" in another currency.

When is a swap fee charged?

Once per day, at the moment your broker rolls positions over to the next trading day. Close before that moment and there is no swap.

Pinning down the moment is the awkward part, because the published wording differs and some of it is the same instant written two ways.

Who publishes itWhen the trading day rolls over
Dukascopy"the trading day ends at 4:59:59PM EST"
Century Financial"usually around 5 PM New York time"
Fortrade"00:00 server time", which they also call "tomorrow next"
Top One Trader"the end of business hours in New York, or 22:00 GMT (London time)"

Do the arithmetic and three of those four collapse into one. New York on standard time is UTC minus 5, so 5 PM there is 22:00 GMT, which makes the first, second and fourth agree exactly. When New York moves to daylight time it is UTC minus 4, and 5 PM becomes 21:00 GMT, so a rule written as 22:00 GMT and a rule written as 5 PM New York are the same rule in winter and an hour apart in summer. The "(London time)" gloss carries the same wrinkle, since London runs an hour ahead of GMT through British Summer Time.

Fortrade's is the different one. "00:00 server time" is midnight on your broker's own clock, and which clock that is varies by broker.

Find the rollover time in your own broker's contract specifications, in the timezone your platform displays, and write it down before you plan a trade around closing beforehand.

Century's version of the rule itself: "Swap charges in forex are applied once per trading day when positions remain open after the rollover time, usually around 5 PM New York time." Their FAQ adds the other half, that trades closed before the rollover time do not incur it. And it keeps accruing for as long as you hold. Top One Trader: "It continues to accrue until the trade is closed."

Is a swap fee positive or negative?

Either. It depends on which currency in the pair pays the higher interest rate and which side of the pair you are on.

Buy the currency with the higher rate against the one with the lower rate and the swap can be credited to you. Hold the reverse and it is charged. Century's FAQ makes the point that direction matters on the same pair: a buy trade may have a positive swap while the sell on that same pair costs you.

Dukascopy frames a positive swap as an opportunity to earn while holding. That is their framing, and holding a position for the interest is not something we suggest.

What is the swap fee formula?

There are two in circulation, because there are two things you might be starting from.

From interest rates, Dukascopy's version, which their page hedges as how the formula "typically goes": "Swap = (Contract Size × Price × (Interest Rate Differential) / 100) / 365"

From your broker's published swap rate, Fortrade's version: "Swap = (pip value) x (swap rate) x (number of nights)/10"

In practice you will use the second kind, because the first needs a rate differential your broker has already applied a markup to. Dukascopy says as much: "Your broker does them for you and typically displays the swap values right in your trading platform as "swap long" and "swap short" values for each currency pair." Century's caveat covers both: "Actual swap values vary by broker and market conditions, but the logic remains consistent."

A worked example

Round numbers, as an illustration only. These are not real swap rates, and no pair is named on purpose, because rates change daily and differ by broker.

Say your platform shows a swap of 0.5 units of the quote currency per night against your position size, and you hold for 10 nights.

  • Nightly: 0.5
  • Ten nights: 5.0
  • One of those nights falls on the triple day, so add two extra nights: 6.0

Now put 6.0 next to the trade. If the move you were aiming for was worth 50, the swap took 12% of it. If you were aiming for 500, it took just over 1%. Same cost, two different stories, and the only thing that changed was how big the target was.

Why is Wednesday's swap triple?

Because spot forex settles two business days after the trade, so the roll from Wednesday to Thursday carries Saturday and Sunday with it.

Dukascopy gives the mechanism with the caveat built into the same sentence: the triple swap "usually happens on Wednesdays (or different days depending on your broker)", because most pairs trade with spot value T plus two, and "brokers apply three days' worth of swap on Wednesday when spot value moves from Friday to Monday, skipping Saturday and Sunday."

Dukascopy's own illustration, rather than a current rate: a GBP/USD position that "normally costs $5 in swap fees daily" is charged "$15 to cover the weekend ahead" on the triple day.

Century states the same rule from the other side: "On Wednesdays, traders incur or earn a triple rollover fee. This is because forex markets settle on a T+2 basis, covering Saturday and Sunday. Traders who ignore this factor may experience unexpected changes in their account balance, especially when trading higher volumes."

Top One Trader states it without the hedge, as a flat rule on its own accounts: "Triple swap: if a position is held overnight on a Wednesday (to Thursday), the normal swap rate is tripled."

Treat Wednesday as the usual case rather than a universal rule. Dukascopy and Century both hedge it, because the day is your broker's choice.

Is a swap fee the same as a rollover fee?

For practical purposes, yes. Century: "The terms "overnight swap" and "rollover fee" are often used interchangeably. They both describe the cost or income resulting from extending a position into the next trading day."

Fortrade's answers page opens on the same equivalence, calling a swap fee "also known as a rollover fee". You will also see it called overnight financing or carry, depending on the broker and the asset.

Does a swap fee show up in a backtest?

No. Nothing in ChartLabs models swap, and a manual backtest does not charge you for holding a position overnight unless you account for it yourself.

Our cost controls do cover commission and slippage, set per symbol, and those flow into every trade's P&L, balances and analytics. The Trading Costs card reports Total Costs, Cost Drag and Avg Cost per Trade from those inputs. Swap is not among them, so Cost Drag is not the full cost of a trade you held for a week.

Top One Trader draws the distinction: spread and commission are "one-time costs incurred when opening a trade", while "swaps are ongoing costs for the duration of the trade."

So the size of the problem depends on your holding period:

  • Test a strategy that opens and closes inside a session, and swap is close to irrelevant. There are no nights to charge.
  • Test one that holds for days or weeks, and your test is missing a cost the live version would have paid every night, including the triples.

Two honest ways to handle it. Either keep the omission in mind when you read a swing result, knowing the real figure is lower than the tested one. Or look up the current swap for your pair and direction, work out what your average holding period would have cost, and subtract it by hand before you judge the result. How to backtest a swing trading strategy covers the rest of what a multi-day trade needs recorded.

Dukascopy's warning: individual payments "might seem negligible at just a few dollars per night", but "they compound dramatically for long-term positions".

The Trading Costs card in ChartLabs analytics for the demo account's Opening Range Breakout strategy, showing total costs, cost drag and average cost per trade built from commission and slippage only, with no line anywhere for swap or overnight financing

Does a prop firm use the same day boundary?

Not necessarily, and it is not safe to assume. A firm sets its own trading-day boundary on its own clock, and that clock is not your broker's.

FundedNext's help centre shows how it is written, with its own worked examples running on a Stellar 2-Step challenge account. On its challenges the daily loss limit "will reset every day at 00:00 (server time)", and a separate note on the same page says the server runs on GMT+3 during daylight saving time and GMT+2 the rest of the year. On those offsets their day turns at 22:00 GMT in winter and 21:00 GMT in summer, which is the same instant as 5 PM New York in each season, give or take the weeks when the two daylight-saving calendars do not switch together. Whether your own broker rolls over at that instant is arithmetic you have to do yourself rather than something to take on trust.

FundedNext's rules also fold financing into the limit: "swap charges, commissions, and fees are included in the total amount." A night of swap does not only shrink the result, it can count against a daily loss limit.

Where to go next

Backtesting a Trading Strategy covers running a test properly, and Backtesting Accuracy covers the costs a test can model.

Next step

Know your holding period, then find out what a night costs before you trust a swing result. ChartLabs is $20 a month or $200 a year, one plan with everything included: start the free trial.

Tags

swap-feerollover-feetrading-coststrading-termsbacktesting