There are a number of computer programs that will do it for you. Here's the one I use:

http://www.bergerbullets.com/ballistics/