The margin calculation formula is as below.
Margin requirement
Price x Contract size (* Varies for each brand) x Lot ÷ Leverage
(Example) When you buy BTC/USD for 0.1 lot at the price of
$ 36,100
The formula will be : 36,100 x 1 x 0.1 / 20 = 180.5 USD
Example) When you buy BTC/JPY for 0.01 lot, 4,500,000 JPY
The formula will be : 4,500,000 x 1 x 0.01 / 20 = 2,250 JPY
Example) placing 1 lot trade of BTC/JPY, Open price 3,850,000
The formula will be : 1 x 1 x 3,850,000 / 20 (or * 5%) = 192,500 JPY
Example) placing 5.5 lot trades of XRP/JPY, Open price 73.65
The formula will be 5.5 x 10,000 x 73.65 / 20 (or * 5%)= 202,538 JPY