Try qalculate. It's great with units and I think will work for base conversions, though I haven't tried that