Trading calculator
Use Deriv’s trading calculators to calculate pip value, margin requirements, and swap charges on all your trades across forex, crypto, commodities, stocks, and more.
Deriv’s trading calculators
Quickly calculate the numbers behind your trade like required margin, pip value, and swap costs using tools that work across all Deriv platforms and markets.
Formula
Required margin = Volume ÷ Effective leverage*
* Use the denominator of the Effective leverage ratio, 1 : XXXX.
Volume is calculated based on the following formula:
- Forex: Lots x Contract size x BSE/USD*
- Other: Lots x Contract size x Execution price x QTE/USD**
*BSE/USD is the conversion rate from the base currency (BSE), referred to as the "Margin Currency" in MT5, to USD.
**QTE/USD is the conversion rate from the quote currency (QTE), referred to as the "Profit Currency" in MT5, to USD.
Example
You are trading 0.25 lots of EUR/GBP with leverage of 1:1000. The EUR to USD conversion rate is 1.10634.


The margin required is USD 27.66 to open the above position.
Note: These are approximate values only and will differ depending on the leverage that is set for your account and the asset you want to trade.
Formula
Pip value USD: Pip size* x Lots x Contract size x QTE/USD*
*QTE/USD is the conversion rate from the quote currency (QTE), referred to as the "Profit Currency" in MT5, to USD.
Example
You are trading 0.25 lots of EUR/GBP, with a GBP to USD conversion rate of 1.31386.
The calculation would be:

This means that for every pip movement of EUR/GBP, your profit or loss (PnL) will change by USD 3.28.
Note: These values are approximate and may vary based on the leverage set for your account and the specific asset being traded.
Formula
Swap = Lots x Contract size x Point size* x Swap rate x QTE/USD**
*Point size = 10-digits (digits can be found in the instrument specification table in your trading terminal)
**QTE/USD is the conversion rate from the quote currency (QTE), referred to as the "Profit Currency" in MT5, to USD.
Example
You hold a short position of 0.2 lots of AUD/JPY overnight that has a point size of 0.001 and a short swap rate of -12.92. The JPY to USD conversion rate is 0.00681.


This means the swap charge is USD 1.76 to keep the position open overnight.
Note: These are approximate values only and will differ depending on the leverage that is set for your account and the asset you want to trade.
Formula
Swap = (Lots x Contract size x Rollover price*) x (Swap rate ÷ 100) ÷ 360 x QTE/USD**
*Rollover price = The last price of the day before the swap is processed, typically at 20:59 or 21:59 GMT.
**QTE/USD is the conversion rate from the quote currency (QTE), referred to as the "Profit Currency" in MT5, to USD.
Example
You hold a long position of 0.2 lots of France 40 overnight, with a long swap rate of -5.46 and the rollover price is 7,654. The EUR to USD conversion rate is 1.10722.


This means the swap charge is USD -0.26 to keep the position open overnight.
Note: These are approximate values only and will differ depending on the leverage that is set for your account and the asset you want to trade.









