🧮
Number Base Converter
Convert numbers between binary (base 2), octal (base 8), decimal (base 10) and hexadecimal (base 16).
Conversion Formula
Binary uses digits 0–1 · Octal uses 0–7 · Decimal uses 0–9 · Hex uses 0–9 and A–F (10–15)
Common Number Base Converter Reference
| From | Equals | Also |
| Decimal 10 | Binary 1010 | Hex A |
| Decimal 15 | Binary 1111 | Hex F |
| Decimal 100 | Binary 1100100 | Hex 64 |
| Decimal 255 | Binary 11111111 | Hex FF |
| Decimal 1000 | Binary 1111101000 | Hex 3E8 |
| Decimal 2024 | Binary 11111101000 | Hex 7E8 |
How to Convert Number Base
- Enter the value you want to convert.
- Choose the From unit.
- Choose the To unit.
- Click Convert to see the result instantly.
Frequently Asked Questions
How do I convert decimal to binary?+
Repeatedly divide by 2 and record remainders, then read in reverse. Example: 10 → 1010.
How do I convert hex to decimal?+
Multiply each digit by 16 raised to its position and sum. Example: FF = 15×16 + 15 = 255.
What is hexadecimal used for?+
Hex is widely used in computing (memory addresses, colours like #FFFFFF, MAC addresses) because it's compact and maps cleanly to binary.
How do I convert binary to hex?+
Group binary digits into groups of 4 and replace each group with its hex digit. Example: 11111111 → 1111 1111 → FF.
What is octal used for?+
Octal is used in some older computing systems and Unix file permissions.
We’d Love Your Feedback! 🌟