← All Tools
Binary/Hex/Decimal Calculator
Convert between number bases with step-by-step explanations.
All processing is 100% client-side. Your data never leaves your browser.
Input
Enter a decimal number (0-9)
Results
Enter a number and click Convert to see results
Binary Arithmetic
Quick Reference
Binary (Base 2)
Digits: 0, 1
Prefix: 0b
Example: 0b1010 = 10
Used in: Computer hardware, digital logic
Octal (Base 8)
Digits: 0-7
Prefix: 0o or 0
Example: 0o12 = 10
Used in: Unix permissions, legacy systems
Decimal (Base 10)
Digits: 0-9
Prefix: none
Example: 10 = 10
Used in: Everyday numbers
Hexadecimal (Base 16)
Digits: 0-9, A-F
Prefix: 0x
Example: 0xA = 10
Used in: Colors, memory addresses, MAC
Common Values
| Decimal | Binary | Hex | Octal |
|---|---|---|---|
| 0 | 0000 | 0 | 0 |
| 1 | 0001 | 1 | 1 |
| 8 | 1000 | 8 | 10 |
| 10 | 1010 | A | 12 |
| 15 | 1111 | F | 17 |
| 16 | 10000 | 10 | 20 |
| 255 | 11111111 | FF | 377 |
| 256 | 100000000 | 100 | 400 |