Quartile Calculations

What is the correct way to calculate the quartiles? I know that it is more than just taking 25%, 50%, and 75%, but I don't recall the exact formula.

For example, if you have a data set thats count is not multiple of 4 you will not get a whole number for Q1. How do you handle this?

Thanks for you help,