Binary Converter

Convert between binary, decimal, hexadecimal, and octal with bit breakdown and ASCII lookup.

Non-negative integers

Decimal255
Binary11111111
Hexadecimal0xFF
Octal0o377

Bit / Byte Breakdown

8 bits · 1 byte

11111111

Number Systems Cheat Sheet

Free guide: binary, hex, and bitwise operations explained.

Frequently Asked Questions

How do you convert binary to decimal?

Each binary digit represents a power of 2, starting from the right. Multiply each bit by 2^position and sum the results. For example, binary 1011 = 1×8 + 0×4 + 1×2 + 1×1 = 11 in decimal.

What is hexadecimal and why is it used?

Hexadecimal (base-16) uses digits 0–9 and letters A–F. It compactly represents binary data — each hex digit corresponds to exactly 4 binary bits. It's widely used in programming, color codes, and memory addresses.

What is octal notation?

Octal (base-8) uses digits 0–7. Each octal digit represents 3 binary bits. It was historically used in computing but has largely been replaced by hexadecimal for most modern applications.