Number Base Converter
Free Number Base Converter
Convert numbers instantly between decimal (base 10), binary (base 2), octal (base 8), and hexadecimal (base 16). Type in any field and all others update in real time.
Number Systems Explained
- Decimal (Base 10) — The standard number system using digits 0-9. Used in everyday life.
- Binary (Base 2) — Uses only 0 and 1. The fundamental language of computers.
- Octal (Base 8) — Uses digits 0-7. Used in Unix file permissions and some programming contexts.
- Hexadecimal (Base 16) — Uses 0-9 and A-F. Commonly used for colors, memory addresses, and MAC addresses.
How to Convert
Simply type a number in any field and the other fields will update automatically. The converter supports integers. Negative numbers can be entered by prefixing with a minus sign.
Frequently Asked Questions
Why is hexadecimal used in programming?
Hexadecimal is a compact way to represent binary data — one hex digit maps to exactly four binary digits. For example, FF in hex = 11111111 in binary = 255 in decimal.
What are common hex values?
Colors (#FF0000 = red), byte values (0x00 to 0xFF), and memory addresses are commonly expressed in hexadecimal.