# Margin Calculator

Traders' tools

Margin calculator

### Our margin calculator helps you to estimate the margin required to keep your positions open overnight on Deriv MT5.

### How to calculate margin

The margin required for a contract on Deriv MT5 is calculated based on the formula:

**Margin = (volume × contract size × asset price) ÷ leverage**

This gives you the margin requirement in the quote currency for forex pairs, or in the denomination of the underlying asset for other instruments.

For instance, if you are trading the USD/CHF forex pair, the margin requirement will be calculated in Swiss Franc (CHF) which is the quote currency. On the other hand, if you are trading Volatility Index 75, then the margin requirement will be calculated in US Dollar (USD), which is the denomination of the underlying asset – Volatility Index 75.

### Example calculation

Margin required