Tool
Number system converter
Convert between decimal, binary and hexadecimal and switch bits on and off one by one.
The numbers from 0 to 15
| Decimal | Binary | Hexadecimal |
|---|---|---|
| 0 | 0000 | 0 |
| 1 | 0001 | 1 |
| 2 | 0010 | 2 |
| 3 | 0011 | 3 |
| 4 | 0100 | 4 |
| 5 | 0101 | 5 |
| 6 | 0110 | 6 |
| 7 | 0111 | 7 |
| 8 | 1000 | 8 |
| 9 | 1001 | 9 |
| 10 | 1010 | A |
| 11 | 1011 | B |
| 12 | 1100 | C |
| 13 | 1101 | D |
| 14 | 1110 | E |
| 15 | 1111 | F |
Powers of two
| n | 2 to the power of n |
|---|---|
| 0 | 1 |
| 1 | 2 |
| 2 | 4 |
| 3 | 8 |
| 4 | 16 |
| 5 | 32 |
| 6 | 64 |
| 7 | 128 |
| 8 | 256 |
| 9 | 512 |
| 10 | 1024 |
Amounts of data
| This | is as much as |
|---|---|
| 1 byte | 8 bits |
| 1 kilobyte (kB) | 1,000 bytes |
| 1 megabyte (MB) | 1,000 kB |
| 1 gigabyte (GB) | 1,000 MB |
| 1 kibibyte (KiB) | 1,024 bytes |