How is margin calculated for stock transactions (CFDs on stocks)? Margin for stock is calculated as “Number of lots x lot size x market price/tick size x price x percentage/100”. Related articles I want to trade with a maximum leverage of 2000x with credit bonuses. What documents do I need to submit to open an account? Are there any conditions for withdrawing profits from trades made with credit bonuses? How is the margin calculated for equity indices?