NUMBER TOOL · CLIENT-SIDE
Number Base Converter
Convert instantly between binary, octal, decimal, and hexadecimal. Type in any field and the others update automatically. Copy any result with one click.
Digits: 0, 1
Digits: 0-7
Digits: 0-9
Digits: 0-9, A-F
Quick Reference
| Decimal | Binary | Octal | Hex |
|---|
Understanding number bases
Number bases represent how many unique digits are available for each position. Our everyday decimal system uses base 10, while computers operate in binary (base 2). Hexadecimal (base 16) is a compact way to represent binary data — each hex digit maps to exactly 4 bits.
Binary
Base 2. The language of CPUs, logic gates, and bitwise operations.
Hexadecimal
Base 16. Used for memory addresses, color codes, and MAC addresses.
Octal
Base 8. Common in Unix file permissions and legacy systems.
Frequently Asked Questions
What is a number base?
A number base (or radix) is the number of unique digits used to represent values. Decimal (base 10) uses 0-9, binary (base 2) uses 0-1, octal (base 8) uses 0-7, and hexadecimal (base 16) uses 0-9 plus A-F.
How do I convert decimal to binary?
Enter the decimal number in the "Decimal" field. The binary field updates automatically. You can also use repeated division by 2 and collect the remainders in reverse order.
What is hexadecimal used for?
Hexadecimal is widely used in computing for memory addresses, color codes (e.g., #FF5733), MAC addresses, and compactly representing binary data. Each hex digit represents exactly 4 bits.