To calculate the margin for shares, you need to know the transaction size and the share price.
For example, the share price totals $47 with the transaction size of 5 lots.
When calculating, you should take into account that 1 lot = 100 shares. The standard leverage for shares is of 1:20.
Next, we calculate the pip value using the formula: the stock price is multiplied by the number of stocks (transaction size) and divided by 20 (the leverage is 1:20)
$47*500 stocks (5 lots)/20 = $1,175