Weighing Coins Riddle

You are given 27 coins and a balance scale. All the coins weigh the same amount except one coin is counterfeit and weights slightly less. What is the least amount of times that you have to use the scale to ensure you find the counterfeit coin. And how is this possible?