All converters

Home › Numbers

Numbers converter

Convert a number between bases — binary, octal, decimal, hex and anything up to base 36.

How base conversion works

A base is just how many digits you count with before the column rolls over. Decimal uses ten (0–9), binary two (0 and 1), hexadecimal sixteen (0–9 then a–f). The number itself does not change — 255, FF and 11111111 are the same quantity written three ways.

The ones people actually use

BaseNameDigits255 looks like
2Binary0 111111111
8Octal0 1 2 3 4 5 6 7377
10Decimal0 1 2 3 4 5 6 7 8 9255
16Hexadecimal0 1 2 3 4 5 6 7 8 9 a b c d e fFF

Where this breaks. A browser holds whole numbers exactly only up to 9,007,199,254,740,991. Past that the digits start drifting, so the converter says so rather than printing a confident wrong answer.

Every converter on the site