The best programs are calculators designed specifically for that.
I like Bit Rate Pro because you can punch in any two sets and it'll solve for the the third.
Click on the Bit Rate Pro tab
http://www.pimley.net/projects/index.html
VideoSpec has Bit Rate Pro built in as one of its functions.
http://videospec.free.fr/english/