HOW DO I CALCULATE THE REQUIRED MARGIN?

Margin requirements are calculated as follows:

($100,000 units * Number of standard lots)/Virtual Leverage * conversion rate to your base currency.

For more details on margin requirements, see https://www.thinkmarkets.com/en/learn-to-trade/beginner/leverage-and-margin