Skip to main content
Country: United States

Choose Your Country Of Residence

We use this to show brokers that accept residents of your country. We detected United States from your connection.

United States
See How We Verify

Swap Calculator

Estimates what holding a position overnight costs or pays, from the financing rate you enter.

Calculator

Your Numbers

A standard lot is 100,000 units of the base currency. 0.01 is a micro lot. About: LotA lot is the unit of trade size. A standard forex lot is conventionally 100,000 units of the base currency, a mini lot 10,000 and a micro lot 1,000. Contract size is set per instrument.Full definition and example

Units of the base currency in one lot. 100,000 is the usual forex convention.

The current price. The default is only an illustration.

Account currency
USD

The currency your account is held in. Results are shown in it.

How many units of your account currency one unit of the quote currency buys. Enter 1 when the quote currency is your account currency. The default is only an illustration; use the current rate.

The yearly rate your broker applies to your side of the position. A negative rate pays you. The default is only an illustration. About: Swap (Overnight Financing)The fee or credit applied to a position moved to the next trading day. The broker sets separate rates for long and short positions, which MetaTrader 5 shows as swap long and swap short.Full definition and example

Count each night the position stays open past the daily rollover.

Day-count basis
360 days

Brokers differ; check the one your broker uses.

Assumptions (3)

  • Charge = lots x contract size x price x quote-to-account rate x yearly rate / day basis x nights.
  • Many brokers charge three nights on one weekday for the weekend. Add those nights yourself.
  • The rate is an input. Real swap rates change often and differ by instrument and side.
Financing charge: $7.64

Per night
$7.64
Position value
$110,000.00

This is an estimate from the numbers above, not a quote. How it works

What Does The Swap Calculator Do?

The calculator estimates what holding a position overnight costs, or pays, from a financing rate that you enter. It returns the total for the nights you choose, the charge for one night, and the value of the position.

Who this is for: traders who hold positions past the daily rollover and want to check a swap line on a statement.

A swap is the fee or credit applied when a position is moved to the next trading day, as MetaTrader 5's help describes it. Closing a trade before the daily rollover usually avoids it.

Each night you keep it open, a rate is added to your account or taken from it. A positive result is a charge, and a negative rate gives a credit that the page labels as a financing credit.

The calculator holds no swap rates and takes the rate as an input from your broker. It shows results in the account currency you pick: £, € or $. The sums on this page use pounds.

What Is The Formula?

Position value = lots × contract size × price × quote-to-account rate

Charge per night = position value × yearly rate ÷ 100 ÷ day basis

Total = charge per night × nights

  • Yearly rate is the percentage per year that your broker applies to your side of the position, and a negative rate pays you.
  • Day basis is 360 or 365, the number of days the year is divided into. Brokers differ, so check the one yours uses.
  • Nights is the number of nights the position stays open past the daily rollover.
  • Lots, contract size, price and the quote-to-account rate work as in the margin calculator.

The page shows each night's charge and the total rounded to two decimals. The sum is made on the unrounded figure. A total can therefore differ by a penny or more from the rounded nightly figure times the nights. The swap guide shows where the rate comes from.

What Does The Calculator Assume?

The page prints three assumptions, and this explainer repeats them without change.

  • Charge = lots x contract size x price x quote-to-account rate x yearly rate / day basis x nights.
  • Many brokers charge three nights on one weekday for the weekend. Add those nights yourself.
  • The rate is an input. Real swap rates change often and differ by instrument and side.

The defaults are 1 lot, a contract size of 100,000, a price of 1.1, a rate of 1, a yearly rate of 2.5%, one night and a day basis of 360. They are illustrations. The yearly rate accepts −50% to 50%, and nights accept 1 to 365. The triple swap entry explains the weekend charge.

What Does A 12-Night Hold Cost On 0.35 Lot, With A Loss And A Profit?

A long 0.35-lot EUR/GBP position at 4.2% a year pays £3.50 a night and £42.05 over 12 nights. You hold a pound account and buy at an illustrative 0.8700. The quote currency is the pound, which makes the rate 1 and the position 0.35 × 100,000 × 0.87 = £30,450.

The yearly charge is 30,450 × 4.2 ÷ 100 = £1,278.90 on a 365-day basis. Per night that is £1,278.90 ÷ 365 = £3.50. The 12-night total is £42.05 from the unrounded nightly figure (12 × 3.5038), where twelve times the rounded £3.50 would be £42.00.

For the loss case the bid falls 0.6%, which is 0.6% × £30,450 = £182.70. Add the swap of £42.05 and a 1-pip spread of £3.50 (a pip on 0.35 lot is £3.50), and the trade loses £228.25. Of that, £45.55 is cost that arrives whatever the price does.

In the profit case the price rises 0.6%, and you gain £182.70 but pay £42.05 plus £3.50, which leaves £137.15. The swap took 23.0% of the gain (42.05 ÷ 182.70).

For the credit case, say the short side is credited at 0.8% a year. The credit is 30,450 × 0.8 ÷ 100 ÷ 365 = £0.67 a night, or £8.01 over 12 nights. The long and short sides carry separate rates; check both.

If your broker charges three nights on one weekday and your hold crosses it, count two extra nights. Enter 14 instead of 12 and the charge becomes £49.05.

Which Test Cases Can You Redo By Hand?

Enter these inputs and compare, with a contract size of 100,000 in every case.

CaseLotsPriceRateYearly rateNightsBasisPosition valuePer nightTotal
1. Defaults11.112.5%1360110,000.007.647.64 charge
2. Three nights11.112.5%3360110,000.007.6422.92 charge
3. 365-day basis11.112.5%1365110,000.007.537.53 charge
4. Negative rate11.11−1.5%1360110,000.00−4.584.58 credit
5. EUR/GBP, pound account0.450.8713.2%636539,150.003.4320.59 charge

To redo case 1: 110,000 × 2.5 ÷ 100 = 2,750 a year, and 2,750 ÷ 360 = 7.6389 a night, shown as 7.64. In case 2, 7.6389 × 3 = 22.9167, shown as 22.92. In case 5, 39,150 × 3.2 ÷ 100 = 1,252.80 and 1,252.80 ÷ 365 = 3.4323 a night. Times six nights it is 20.5940, shown as 20.59.

What Does The Calculator Not Cover?

  • Brokers that calculate swap another way, because MetaTrader 5 lets a broker pick a swap type that sets the calculation. A fixed amount per lot will not match this formula.
  • Different rates for long and short, which means you must enter the rate for your own side.
  • Rates that change from day to day, because the calculator uses one rate for all the nights.
  • The weekday that carries the extra nights, which you count yourself and add to the nights field.
  • Spread, commission, currency conversion and other fees, none of which the formula includes.
  • Whether the broker explains its charges clearly. The Financial Conduct Authority (FCA) published the results of a review of contracts for difference (CFDs) on 13 November 2025. It said it found overnight funding charges that varied without clear justification and often were not adequately disclosed. Read the firm's published rates and ask for the method in writing.

A credit does not make a trade safe, because the price can move further than any credit repays.

How Can You Check The Result At Your Broker?

Find the swap long and swap short figures for the instrument in your platform's market watch, and the swap type. Note the day-count basis and the weekday that carries the extra nights. Hold a small position over one rollover on a demo or live account and compare the charge on your statement with this page. If they differ, ask the broker which formula it uses.

Sources

Frequently Asked Questions

Why Can The Swap Be A Credit?

The broker sets the rate, and it differs by instrument and by side. A negative rate on your side pays you, and the calculator shows that as a financing credit.

How Is The Weekend Counted?

Many brokers charge three nights on one weekday, but the calculator does not know which day. Add the extra nights to the nights field. In the worked example, two extra nights take 12 nights to 14.

Where Is The Swap Rate Found?

In your broker's swap table or contract specification, where MetaTrader 5 shows swap long and swap short for each instrument. The calculator does not fetch rates; enter the one for your side.