Margin accounts and margin calls
Buying on margin means borrowing from the broker. Regulation T lets a client borrow up to 50% of the purchase price of most stocks; FINRA requires equity of at least 25% of the market value of the shares held long, and many firms demand more. If equity falls below the maintenance level, the broker issues a margin call and may sell her securities without notice. Leverage magnifies both gains and losses, and the client pays interest on the loan.
For a short position the call price is found the same way: equity = 1.5 x initial price - current price (per share), and a call comes when equity / current price falls below the maintenance percentage.