The basic math of a stock trade consists of the difference between the bid and ask prices. After a stock is listed at an exchange, market forces take over. Some investors purchase the stock, or bid for it, at a low price. Other traders sell it, or ask for it, at a high price.