Looking for a good tool for doing hex math

While I'm writing about all of these address tricks -- I figured I'd ask around if there's a good tool for manipulating hex values.  I just use "calc" which comes with Windows; if you put it into scientific mode it will handle hex values for you.  But it doesn't have very good shifting or bitwise functionality, and it always uses 64-bit values.  Most of the time I want to subtract and get the 32-bit value, not FFFFFFFF FFFFFFFF.  I like how easy it is to flip between hex and decimal in calc, but I wish I could do it without using the mouse.

So I figured I'd ask and see if anyone else knows of a better tool.