Number base & bit inspector

All conversions happen in your browser.

Input

Bases

Binary: 11111111
Octal: 377
Decimal: 255
Hex: FF

IEEE 754 (64-bit)

Hex: 0x406FE00000000000
Sign: 0
Exponent (11 bits): 10000000110
Mantissa (52 bits): 1111111000000000000000000000000000000000000000000000

What this tool does

Convert numbers between base 2, 8, 10, and 16 and inspect the IEEE 754 representation of floats.

Why IEEE 754

Most languages store floats in 64-bit IEEE 754. Inspecting the sign, exponent, and mantissa helps explain rounding errors.