Number Base Converter
Convert numbers between binary, decimal, hexadecimal, and octal systems.
Binario
Octal
Decimal
Hexadecimal
Convert numbers between binary, decimal, hexadecimal, and octal systems.
Binario
Octal
Decimal
Hexadecimal
Convert between binary, octal, decimal, and hexadecimal instantly.
See the number in all bases at once.
Useful for developers working with memory addresses, color codes, and bit manipulation.
One-click copy of any converted value.
Number base conversion is fundamental in computer science and programming. Developers regularly work with hexadecimal for colors and memory addresses, binary for bit operations, and octal for file permissions.
Understanding number bases helps debug software, read machine code, configure network settings, and work with low-level hardware interfaces.
In hex, A=10, B=11, C=12, D=13, E=14, F=15. Confusing letter order causes conversion errors.
In programming, hex numbers often need the 0x prefix (0xFF), binary needs 0b (0b1010), and octal needs 0 or 0o.
The hex value 10 equals decimal 16, not 10. Always specify the base to avoid confusion.
Large decimal numbers produce very long binary strings. Ensure your target system can handle the bit length.
A number base (or radix) defines how many unique digits are used. Decimal uses 10 (0-9), binary uses 2 (0-1), octal uses 8 (0-7), and hexadecimal uses 16 (0-9, A-F).
Computers use binary because electronic circuits have two states: on (1) and off (0). All computer data is ultimately represented in binary.
Hexadecimal is a compact way to represent binary data. Each hex digit represents 4 binary bits. It is used for memory addresses, color codes (#FF0000), and MAC addresses.
Multiply each bit by its position value (powers of 2) and sum. Example: 1011 = 1x8 + 0x4 + 1x2 + 1x1 = 11 in decimal.
Octal was historically used in computing because it groups binary digits in threes. It is still used in Unix file permissions (chmod 755).