It maybe odd but units is my favorite program; well, except for maybe emacs. :D units is great! Besides simple conversions, you can chain entries together along with values. This allows you to solve most physics problems! Look in /usr/share/units/definitions.units for the definitions of the units & constants.