Number Base Converter
Convert between binary, octal, decimal, and hexadecimal — free, instant
Number Systems Explained
A number base (or radix) defines how many unique digits a system uses. The decimal system we use daily has base 10 (digits 0–9). Computers use binary (base 2) internally, while programming commonly uses hexadecimal (base 16) for compact representation of binary data.
Binary (Base 2)
Uses only 0 and 1. The native language of computers. Every file, image, and program is stored as a sequence of bits. 1 byte = 8 bits = 00000000 to 11111111.
Octal (Base 8)
Uses digits 0–7. Historically used in Unix file permissions (chmod 755). Each octal digit represents exactly 3 binary bits.
Decimal (Base 10)
The standard human number system using digits 0–9. The result of having 10 fingers. Natural for arithmetic but not native to computers.
Hexadecimal (Base 16)
Uses 0–9 and A–F. One hex digit = 4 binary bits (a nibble). Two hex digits = 1 byte. Widely used for colors (#FF5733), memory addresses, and binary data.
Frequently Asked Questions
Why do programmers use hexadecimal?
How do I convert binary to decimal manually?
What are Unix file permission numbers?
What is 0xFF in decimal?
Popular searches: binary to decimal converter • decimal to binary • hex to decimal • number base converter online • binary converter • hexadecimal to decimal