If you are buying shares you always pay the ask price (the higher price), and if you are selling shares you receive the bid price (the lower price). There is always a gap between the bid and ask prices, and this gap is called the spread.