Number Base
Binary/Octal/Decimal/Hex conversion
Binary
11111111
Octal
377
Decimal
255
Hexadecimal
FF
7
6
5
4
3
2
1
0
1
1
1
1
1
1
1
1
1111
1111
| Decimal | Binary | Octal | Hexadecimal |
|---|---|---|---|
| 0 | 0000 | 0 | 0 |
| 1 | 0001 | 1 | 1 |
| 2 | 0010 | 2 | 2 |
| 3 | 0011 | 3 | 3 |
| 4 | 0100 | 4 | 4 |
| 5 | 0101 | 5 | 5 |
| 6 | 0110 | 6 | 6 |
| 7 | 0111 | 7 | 7 |
| 8 | 1000 | 10 | 8 |
| 9 | 1001 | 11 | 9 |
| 10 | 1010 | 12 | A |
| 11 | 1011 | 13 | B |
| 12 | 1100 | 14 | C |
| 13 | 1101 | 15 | D |
| 14 | 1110 | 16 | E |
| 15 | 1111 | 17 | F |
Number Base Conversion Guide
Binary (Base-2)
Uses only 0 and 1. This is the fundamental representation method in computers.
Hexadecimal (Base-16)
Uses 0-9 and A-F. Used for color codes, memory addresses, etc.
Two's Complement
Method to represent negative numbers. If MSB is 1, the number is negative.