Binary to Decimal Converter — Convert Binary, Decimal, Hex & Octal

Convert between binary, decimal, hexadecimal and octal number systems — all four bases shown at once.

Also convert text to binary with the Text to Binary tool or encode data with the Base64 Encoder.

🔒 Your input is processed locally — nothing is stored or uploaded.

Decimal
Binary
Hex
Octal
How to Use

How to Use the Binary to Decimal Converter

1
Select the base of your input — choose Decimal, Binary, Hexadecimal, or Octal from the dropdown.
2
Enter your number — type the value in the format matching the selected base. For binary, use only 0s and 1s. For hex, letters A–F are accepted.
3
Click Convert — all four base representations appear instantly: decimal, binary, hexadecimal, and octal.
4
Use the results — copy any value from the result cards for use in programming, assignments, or documentation.
About

Number Base Systems Explained

This binary to decimal converter works as a number base converter, hex to decimal calculator, and octal converter for computer science students, developers, and anyone working with different numeral systems. Enter a number in any of the four supported bases and the tool instantly shows the equivalent value in all other bases.

Computers store and process all data as binary — sequences of 0s and 1s — because digital circuits can only represent two states: on and off. A single binary digit is called a bit, and groups of 8 bits form a byte. The decimal number 255, for example, is 11111111 in binary (eight 1-bits, the maximum for one byte), FF in hexadecimal, and 377 in octal. Understanding these conversions is fundamental to computer science, programming, and digital electronics coursework.

Hexadecimal (base 16) uses digits 0–9 and letters A–F to represent values 0 through 15. It is widely used in programming because each hex digit represents exactly four binary bits (a nibble), making it a compact and human-readable way to express binary data. Hex is used in HTML and CSS colour codes, memory addresses, machine code, and network protocol specifications. Octal (base 8) uses digits 0–7, where each octal digit represents exactly three binary bits. It was historically used in early computing and is still found in Unix and Linux file permission notation — the familiar chmod 755 command uses octal values to set read, write, and execute permissions. Understanding these four base systems and being able to convert between them quickly is a core skill for computer science and programming students.

FAQ

Frequently Asked Questions

Yes, completely free with no account or signup required. Open the page and start converting immediately.
The converter supports binary (base 2), decimal (base 10), hexadecimal (base 16), and octal (base 8). Enter a number in any base and all four representations are shown instantly.
Select Binary (Base 2) from the dropdown, enter your binary number using only 0s and 1s, and click Convert. The decimal equivalent appears immediately alongside hex and octal.
No. All conversion runs entirely in your browser — your input is never sent to any server or stored anywhere.
Related tools

Related Free Tools