Number base converter
| Decimal | Binary | Octal | Hex |
|---|---|---|---|
| 0 | 0 | 0 | 0 |
| 1 | 1 | 1 | 1 |
| 8 | 1000 | 10 | 8 |
| 10 | 1010 | 12 | A |
| 15 | 1111 | 17 | F |
| 16 | 10000 | 20 | 10 |
| 64 | 1000000 | 100 | 40 |
| 100 | 1100100 | 144 | 64 |
| 255 | 11111111 | 377 | FF |
| 256 | 100000000 | 400 | 100 |
| 1024 | 10000000000 | 2000 | 400 |
| 65535 | 1111111111111111 | 177777 | FFFF |
Base 36 uses all ten numerals and all twenty-six letters, which is as far as a case-insensitive alphanumeric alphabet goes. Base 62 exists by distinguishing upper and lower case, and Base64 adds two symbols on top — but those are encodings for binary data rather than positional number systems, which is why the general converter stops at 36.
A positional base uses digits worth successive powers of the base. Base 36 uses 0–9 then A–Z, which is the largest case-insensitive alphanumeric base. FF in base 16 is 255 in base 10, 11111111 in base 2 and 73 in base 36.
How to convert between bases
Converting between two arbitrary bases is done by going through decimal, which is what this tool does internally. The exception is when one base is a power of the other — hex to binary, octal to binary — where direct digit substitution works and needs no arithmetic. That shortcut is why those particular pairs feel so much easier than, say, base 7 to base 13.
Questions
Anything from 2 to 36. Base 36 uses 0–9 then A–Z.