Direct answer: how to calculate swap charges in forex
Swap charges (also called “swap” or “overnight financing”) are calculated from (1) the direction of your position (long vs short), (2) the instrument’s swap rate quoted by your provider, (3) your trade size, and (4) currency conversion into your account. Because providers present swap rates in different formats, the exact arithmetic depends on whether the swap rate is given as points (“swap points”), a percentage, or a direct amount per unit.
Explanation: inputs and the typical calculation path
-
Identify direction (long or short) Swap is usually asymmetric: a long position can receive financing while a short position can be charged, depending on the interest-rate differential between the two currencies in the pair.
-
Get the provider’s swap rate format Common presentations are:
- Swap points / swap in pips-like units: a number you multiply by a pip value (value of one pip for your position size).
- Swap in percentage terms: you apply it to the notional value (position size × current price) over a day or period.
- Swap as an amount per unit: you multiply by the position size in base units.
-
Compute the trade size factor Your swap varies with position size (often measured in lots). For swap-point methods, this commonly reduces to computing the pip value for the instrument and your account currency.
-
Convert currency if needed If your pip value or notional is not already in your account currency, you must convert using the relevant FX rate your provider uses for the swap calculation.
-
Apply timing conventions Swap is typically charged/credited on rolling/overnight. Some providers apply additional amounts around specific weekdays due to their operational settlement conventions. Without the provider’s schedule, you should treat “per day” math as approximate.
Example checks you can do without broker-specific data
Because exact values depend on your provider’s swap-rate table and contract specifications, you can still validate your calculation approach:
- Direction test: Use the same trade size and instrument, flip long to short, and confirm whether the swap rate sign changes (or whether the magnitude changes). If it doesn’t, your provider may use a different convention.
- Size linearity test: If swap is quoted in swap points, doubling your lot size should roughly double the swap charge (allowing for conversion effects).
- Format test: If the provider shows swap as a currency amount per lot/day, you should not multiply by pip value; instead, multiply by the displayed amount factor.
- Account-currency test: If you change account currency (or if the provider indicates a conversion), confirm whether the swap changes by more than a simple scaling factor.
Relevant limitations and risks
- Swap-rate definition varies by provider: two brokers can use the same instrument but present swap differently (points vs percent vs amounts). Using the wrong format is the most common source of error.
- Conversion and contract specifications matter: pip value depends on contract size and FX conversion rules; notional-based calculations depend on how your provider defines notional.
- Timing can create “extra” effects: if an overnight roll happens on a different schedule than your assumption, the effective swap per calendar day may differ.
- No guarantee of future amounts: swap charges are recalculated as market and provider inputs change, so any manual estimate today may not match the eventual charge.
For detailed context on what swap represents in forex, you can also review a general explanation of “swap” and how long vs short positions differ on financing.