Convert between Binary, Decimal, Hexadecimal, and Octal number systems with detailed explanations
The conversion process will be explained step by step.
| Decimal | Binary | Hex | Octal |
|---|---|---|---|
| 0 | 0 | 0 | 0 |
| 1 | 1 | 1 | 1 |
| 8 | 1000 | 8 | 10 |
| 15 | 1111 | F | 17 |
| 16 | 10000 | 10 | 20 |
| 255 | 11111111 | FF | 377 |
| 1024 | 10000000000 | 400 | 2000 |
Colors in Web Development:
FF0000 - Red00FF00 - Green0000FF - BlueFFFFFF - White000000 - BlackFile Permissions (Octal):
755 - rwxr-xr-x644 - rw-r--r--777 - rwxrwxrwxComputer Memory:
1024 - 1 KB1048576 - 1 MB65536 - 64 KBNetwork & IP:
192 - First octet of 192.168.x.x255 - Subnet mask componentC0A8 - 192.168 in hexBinary (Base 2): Uses only digits 0 and 1. Each position represents a power of 2.
Decimal (Base 10): Uses digits 0-9. Our everyday number system.
Hexadecimal (Base 16): Uses digits 0-9 and letters A-F. Common in programming.
Octal (Base 8): Uses digits 0-7. Used in file permissions and some programming contexts.
To Decimal:
From Decimal: