Hex, decimal, octal & binary converter
Interactive engineering and procurement calculator. Instant client-side computation with no sign-up.
Enter a value
Results
Binary
base 2
Octal
base 8
Decimal
base 10
Hexadecimal
base 16
ASCII
character view
About radix notation
Firmware registers, memory addresses and I²C/SPI opcodes are usually written in hex, while ADC counts and timer reload values are binary. The converter detects 0x / 0b / 0o prefixes and lets the prefix set the base, so pasting a value straight from a datasheet or register map works no matter which radix the selector holds. BigInt keeps 64-bit register values exact — no double-precision rounding above 2⁵³. Byte and word boundaries still matter, so keep the register width in mind when converting.
Browse related parts: