Copy this code into your page. It's free — please keep the link to Abacurio.
How is it calculated?
Each base uses its own digits: binary 0–1, octal 0–7, decimal 0–9 and hexadecimal 0–9 and A–F. Each position is worth the base times the position to its right.
Binary is grouped in fours for easy reading; each group of four bits is one hexadecimal digit.