Binary to Decimal

Convert binary (base 2) numbers to decimal and see exactly how the answer is calculated.

FreeNo sign-upRuns in your browserMobile-friendly

Loading tool…

Need help with this tool or found a problem? WhatsApp support Email

What does the Binary to Decimal do?

Each binary digit represents a power of two, starting from 2⁰ on the right. To convert, multiply each digit by its power of two and add the results: 101101 = 32 + 8 + 4 + 1 = 45. The tool shows this working for numbers up to 40 bits and converts any length using arbitrary-precision arithmetic.

It also shows the hexadecimal and octal equivalents and the bit count.

How to use the Binary to Decimal

  1. Type a binary number (spaces and a 0b prefix are allowed).
  2. Read the decimal result.
  3. Follow the step-by-step working.

Examples

Byte

11111111 = 255.

Worked example

101101 = 1×32 + 0×16 + 1×8 + 1×4 + 0×2 + 1×1 = 45.

Common use cases

  • Computer science homework
  • Networking (subnet masks)
  • Electronics and microcontrollers

Features and benefits

  • Private by design — your data is processed on your device and never uploaded.
  • Free with no account, no watermark and no usage limits.
  • Works on phones, tablets and desktops in any modern browser.

Limitations to know

  • Negative numbers use a minus sign; two’s-complement interpretation is not applied.
  • Fractional binary (e.g. 0.101) is not supported.

Frequently asked questions

How do I convert binary to decimal?

Add the powers of two where there is a 1.

What is the largest number supported?

There is no fixed limit — arbitrary-length numbers are converted.

What is a bit?

A single binary digit, 0 or 1.

Embed this tool on your website

Add the free Binary to Decimal to your blog or website. Paste the code into your page’s HTML; the tool runs in your visitors’ browsers and stays up to date automatically. Please keep the credit line below the tool.

Free to use on any website. The tool runs inside an iframe served from viptools.pk; nothing your visitors type is sent to your site or ours. Preview the embedded version.