The following formula can be used for swap calculations:
Swap = Swap long/short × number of days × lot size × Point Value
Example 1:
You opened a buy (long) order of 1 lot EURUSD with a Standard Account on Tuesday at 15:00 and closed it on Thursday before 24:00 or 12:00 AM.
Calculation:
Lots: 1 (100,000 units)
Swap Rate: -13.472 points
Number of Days Held: 5 (Including triple swap on Wednesday)
Standard Swap on Tuesday at 12:00 AM: 1
Triple Swap on Wednesday at 12:00 AM: 3
Point Value: 100,000 × 0.00001 = 1
Therefore,
Swap = -13.472× 5 × 1 × 1 (Point Value) = -67.36 USD
Result: You will be charged $67.36 for holding this long EURUSD position over 5 days.
Example 2:
You opened a buy (long) order of 1 lot USDJPY with a Standard Account on Monday at 14:00 and held it overnight, closing it on Tuesday before 24:00 (12:00 AM server time).
Lot Size: 1 lot (100,000 units)
Swap Rate: 16.4 points
Days Held: 1 day
Pip Size: 0.01
Point Value (in JPY): 100,000 × 0.01 = 1,000 JPY
Conversion Rate (JPY → USD): 1 JPY = 0.006733
Therefore,
Swap (in JPY) = 16.4 × 1 × 1 × 1,000 = 16,400 JPY
Swap (in USD) = 16,400 × 0.006733 = 110.42 USD
Result: You earned $110.42 from the swap for holding this long USDJPY position overnight.
This charge is negative and is deducted from your trading account balance. If it were positive, no swap charge would be applied.
Note that this is just an example and this can vary depending on the instrument.