Forex Swap / Rollover Calculator
FOREX · OVERNIGHT HOLDING COST · BROKER SWAP RATE
Total swap/rollover cost or credit for holding a forex position overnight, from your broker's own swap rate. Optional live conversion to your account currency.
Swap rate is set by your broker, per standard lot, in the pair's quote currency. Negative = you pay, positive = you receive. Check your broker's platform for the current rate.
What is swap / rollover?
Swap (also called rollover) is the interest your broker charges or pays for holding a forex position open overnight, reflecting the interest-rate difference between the two currencies in the pair. It's set by your broker, not a market-wide number: there's no free live feed for swap rates, so you enter your own broker's rate here (check your platform's contract specifications or trading conditions page).
The formula
- Lots = units / 100,000
- Total swap = swap per lot per night × lots × nights held
Worked example
2 standard lots of EUR/USD, −$5.20/lot/night, held 3 nights:
- total swap = −5.20 × 2 × 3 = −$31.20
A negative result means you pay this amount; a positive rate means you receive it.
Why swap rates aren't symmetric
Going long a currency with a higher interest rate than the one you're short typically earns swap; the reverse typically costs it. Most retail brokers also apply their own markup on top of the raw interest-rate differential, so long and short swap on the same pair are rarely exact mirrors of each other. Always check both directions on your broker's own published rates before holding a position overnight.
Where to go next
Factor swap into your total cost alongside spread and commission to see your true breakeven, or check the PnL calculator for the position's price-driven profit or loss separately.
Use via API or MCP
This calculation is available as a deterministic API call for bots and AI agents.
Where do I find my broker's swap rate?
Check your trading platform's contract specifications or "trading conditions" page for the pair, usually listed separately for long and short. Swap rates are broker-set and change over time (they track central bank rate differentials plus the broker's own markup), so there's no free live feed for them.
Why is swap negative for one direction and positive for the other?
It reflects the interest-rate difference between the two currencies, plus your broker's markup. Being long the higher-yielding currency in the pair typically earns swap; being short it typically costs swap, though broker markups can shift or flatten this.
Is swap charged every single night?
Most brokers charge it every night a position is held past their daily rollover cutoff, with many charging triple swap on Wednesdays (or another specific day) to account for weekend settlement. Check your specific broker's policy.
Does position size affect swap the way it affects pip value?
Yes, the same way: swap is quoted per standard lot, so it scales linearly with position size exactly like pip value does. Double the lots, double the total swap cost or credit.