Convert between Binary, Octal, Decimal, and Hexadecimal. Enter a value in any base to see all other representations.
| Decimal | Binary | Octal | Hex |
|---|
Select input type: Choose the base of your input number.
Enter value: Type a number — all other bases are calculated automatically.
Reference table: Quick reference for numbers 0-32 in all bases.
Octal uses digits 0-7. Commonly used for Unix/Linux file permissions (e.g. chmod 755).
Multiply each digit by powers of 8. Example: octal 123 = 1×64 + 2×8 + 3 = 83.
Binary (Base-2), Octal (Base-8), Decimal (Base-10), and Hexadecimal (Base-16).
A=10, B=11, C=12, D=13, E=14, F=15. Hex is commonly used for memory addresses and color codes.