I’ve been through several solutions for hex calculators. Lately I’ve been using xalc. This a very nice tool and quickly allows you to do about anything you need with numbers used in a computer. It shows you dec, hex, and bit representations, and allows you to use convenient shortcuts like 1G.