Binary to Decimal Converter

Convert binary numbers to decimal and decimal to binary instantly. Also shows hexadecimal and octal representations. Free browser-based tool.

How to Use

  1. 1 Select Binary → Decimal to convert a binary number to decimal, or Decimal → Binary for the reverse
  2. 2 Enter your binary number (e.g. 1010) or decimal number (e.g. 10)
  3. 3 Click Convert to see the result in decimal, hexadecimal, and octal

Use Cases

Programming

Convert between binary flags, decimal values, and hex representations when working with low-level code or bitwise operations.

Computer Science Learning

Practice number base conversions to strengthen your understanding of how computers represent integers internally.

Networking

Convert binary subnet masks and IP address components to decimal for network configuration and troubleshooting.

FAQ

Multiply each bit by its positional power of 2 and sum the results. For example, 1010 = 1×8 + 0×4 + 1×2 + 0×1 = 10.

This tool handles standard JavaScript integers (up to 2^53 - 1 = 9,007,199,254,740,991), which covers practical use cases.

Each hex digit represents exactly 4 binary bits, making hex a compact way to write binary values. For example, 11111111 binary = FF hex.

Related Tools