Hex, decimal, octal & binary converter

Interactive engineering and procurement calculator. Instant client-side computation with no sign-up.

Enter a value

Input radix

Results

Binary

base 2

0b111111

Octal

base 8

77

Decimal

base 10

63

Hexadecimal

base 16

0x3f

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:

Related Engineering & Sourcing Tools