you can use a calculator like this one, lots available online.
http://www.digifit.com/heartratezone...&Age=50&RHR=60

and here's how to do a test on the bike.
http://www.cycling-inform.com/heart-...max-heart-rate