When you see a bid price for a stock that is a higher price at which someone is willing to buy it, and when you see an Ask price, that is the lowest price at which someone is willing to sell it. A trade is executed when Bid = Ask. In the same way, when you enter a market order, you agree to buy at the Ask or sell at the Bid.