Margin is the difference between the market value of a stock and the loan a broker makes to cover the purchase of that stock. When someone buys a stock “on margin,” they pay for a certain percentage of the purchase and their brokerage “covers” the rest.