Nifty Dev Tools
  1. Home
  2. Number Converter
  3. Binary to Decimal
Convert

Binary to Decimal Converter

We never upload what you paste ✨

Type a binary number and get it in decimal instantly. Any size, negative numbers and two's complement included.

Binary
Decimal

The result will appear here as you type.

How to convert binary to decimal

Multiply each digit by its place value (powers of 2) and add them up. For 1011110011:

1 × 2^9 + 0 × 2^8 + 1 × 2^7 + 1 × 2^6 + 1 × 2^5 + 1 × 2^4 + 0 × 2^3 + 0 × 2^2 + 1 × 2^1 + 1 × 2^0
= 512 + 0 + 128 + 64 + 32 + 16 + 0 + 0 + 2 + 1
= 755

Binary to decimal table

BinaryDecimal
00
11
102
113
1004
1015
1106
1117
10008
10019
101010
101111
110012
110113
111014
111115
1000016
10000032
100000064
1100100100
1111111127
10000000128
11111111255
100000000256
100000000001024
10000000000004096
111111111111111165535

FAQ

How are negative numbers converted?

Without a bit width, the sign is kept: −255 becomes −FF. Choose a bit width and turn on Signed to use two's complement, the way computers store negative numbers: −1 in 8 bits is FF.

Is there a size limit?

No practical one. Arbitrary-precision integers (BigInt) convert even 100-digit numbers exactly. Fractions aren't supported.

Can I paste 0x, 0b or 0o prefixes, spaces or underscores?

Yes. Prefixes are recognized, and spaces or underscores between digits (like 1111_0000) are ignored. Put several numbers on separate lines to convert them all at once.

Is my data uploaded?

No. Everything is converted in your browser. Privacy