Hex / Binary / Decimal Converter
Convert between decimal, hexadecimal, binary, and octal instantly. Supports arbitrarily large numbers, signed interpretations, and ASCII lookup.
Quick Values
Integer Ranges
| Bits | Max (unsigned) | Hex |
|---|---|---|
| 8-bit | 255 | 0xFF |
| 16-bit | 65,535 | 0xFFFF |
| 32-bit | 4,294,967,295 | 0xFFFFFFFF |
| 64-bit | 18,446,744,073,709,551,615 | 0xFFFFFFFFFFFFFFFF |
Powers of 2
| 2^n | Decimal | Hex |
|---|---|---|
| 20 | 1 | 0x1 |
| 21 | 2 | 0x2 |
| 22 | 4 | 0x4 |
| 23 | 8 | 0x8 |
| 24 | 16 | 0x10 |
| 25 | 32 | 0x20 |
| 26 | 64 | 0x40 |
| 27 | 128 | 0x80 |
| 28 | 256 | 0x100 |
| 29 | 512 | 0x200 |
| 210 | 1,024 | 0x400 |
| 212 | 4,096 | 0x1000 |
| 216 | 65,536 | 0x10000 |
| 220 | 1,048,576 | 0x100000 |
| 224 | 16,777,216 | 0x1000000 |
| 232 | 4,294,967,296 | 0x100000000 |