Binary to Decimal

Tool processing runs in your browser — your pastes/files are not uploaded to our servers for processing. Ads (if shown) load separately and do not receive your tool inputs.Advertising · Details

Quick answer

To convert binary to decimal, add the place values (1, 2, 4, 8, 16 …) wherever the digit is 1 — for example 1010 = 10. TryDevSnip's converter does it instantly and exactly, even for long bit strings, all in your browser.

Binary to decimal chart

BinaryDecimal
11
102
1004
10008
101010
111115
1000016
10000032
1100100100
11111111255

Reverse or related: decimal to binary · hex to decimal · decimal to hex · all bases

Worked example: 0b1011

Every positional number system works the same way — each digit is multiplied by the base raised to its position, counting from zero on the right. For 0b1011 in binary:

DigitPlaceWeightContribution
12388
02240
12122
12011
Total (decimal)11

Written in decimal that is 11.

Quick reference

Decimalbinarydecimal
111
2102
41004
810008
10101010
161000016
3210000032
64100000064
1001100100100
12810000000128
25511111111255
256100000000256

Things that trip people up

Frequently asked questions

How do I convert binary to decimal?

Give each binary digit a place value that doubles from right (1, 2, 4, 8, 16 …) and add the values where the digit is 1. For example 1010 = 8 + 2 = 10. Or paste it into the converter and read the decimal instantly.

What is 11111111 in decimal?

11111111 (binary) is 255 in decimal — eight 1-bits, the maximum value of one byte.

Does it handle long binary strings?

Yes. The converter uses BigInt, so 64-bit and longer binary values convert to exact decimals with no rounding.

Is my input uploaded?

No. TryDevSnip converts locally in your browser. Nothing you type is uploaded to our servers for processing.

TryDevSnip