Skip to content
Toolzent

Binary to Decimal Converter

Convert any binary number to decimal instantly. Enter 0s and 1s and see the base-10 value, hex equivalent, and a clear place-value breakdown.

Updated 2026-06-14 · Free · No sign-up · Runs privately in your browser

Decimal (base 10)
Hexadecimal
Show the place-value breakdown

How the Binary to Decimal Converter Works

A binary number is written in base 2, using only the digits 0 and 1. The decimal system we use every day is base 10. This converter takes a binary string, validates that it contains only 0s and 1s, and returns the equivalent base-10 value plus the hexadecimal form.

The Method

Each digit in a binary number has a place value that is a power of 2. Reading from right to left, the positions are worth 2⁰ (1), 2¹ (2), 2² (4), 2³ (8), and so on. To convert:

Decimal = (digit × 2ᵖᵒˢⁱᵗⁱᵒⁿ) summed across every digit

You multiply each binary digit by the power of 2 for its position, then add all the products together.

Worked Example

Convert binary 101101 to decimal:

DigitPositionPower of 2Value
152⁵ = 3232
042⁴ = 160
132³ = 88
122² = 44
012¹ = 20
102⁰ = 11

Adding the values: 32 + 0 + 8 + 4 + 0 + 1 = 45. So binary 101101 equals decimal 45.

Why Binary Matters

Binary is the native language of computers. Every number, character, image, and instruction is ultimately stored as a pattern of 1s and 0s. Understanding how binary maps to decimal helps with:

  • Programming and debugging — reading memory addresses, flags, and bit masks.
  • Networking — interpreting IP addresses and subnet masks, which are based on 8-bit binary groups.
  • Digital electronics — working with logic gates, registers, and microcontrollers.

The hexadecimal output is a handy shortcut because each hex digit represents exactly four binary digits, making long binary values much easier to read.

Frequently asked questions

How do you convert binary to decimal?+

Multiply each binary digit by 2 raised to the power of its position (counting from 0 on the right), then add the results. For 1011 that is 1x8 + 0x4 + 1x2 + 1x1 = 11.

What is 1010 in decimal?+

Binary 1010 equals 10 in decimal: 1x8 + 0x4 + 1x2 + 0x1 = 8 + 0 + 2 + 0 = 10.

What is 11111111 in decimal?+

The 8-bit binary number 11111111 equals 255 in decimal, which is the largest value a single byte can hold.

Why do computers use binary instead of decimal?+

Electronic circuits have two stable states (on and off), which map cleanly to the digits 1 and 0. Binary is the simplest reliable way to store and process data with transistors.

Can this tool convert large binary numbers?+

Yes. It accepts long binary strings of 0s and 1s and returns the exact decimal value along with the hexadecimal equivalent for convenience.