Binary, Decimal, Octal, Hexadecimal Converter
Decimal, Binary, Octal, Hexadecimal Converter
Provides conversion between binary, octal, decimal, and hexadecimal values.
Binary
Binary (bin) is a base-2 number system. Its symbols are 0 and 1.
- Binary is directly employed by logic gates in electronic circuits. It is commonly used in modern computers and devices that rely on computers.
Octal
Octal (oct) is a base-8 number system. Its symbols are 0, 1, 2, 3, 4, 5, 6, and 7.
Decimal
Decimal (dec) is a base-10 number system. Its symbols are 0, 1, 2, 3, 4, 5, 6, 7, 8, and 9.
- Decimal is the most widely used number system in the world.
Hexadecimal
Hexadecimal (hex) is a base-16 number system. Its symbols are 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, A, B, C, D, E, and F.
- Hexadecimal is commonly used in computer systems and programming languages.
Conversion Table
Decimal | Binary | Octal | Hexadecimal |
---|---|---|---|
0 | 0 | 0 | 0 |
1 | 1 | 1 | 1 |
2 | 10 | 2 | 2 |
3 | 11 | 3 | 3 |
4 | 100 | 4 | 4 |
5 | 101 | 5 | 5 |
6 | 110 | 6 | 6 |
7 | 111 | 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 |