My Learning

Keep this for later

Sign in or create a free account to save it. You’ll return to this page afterward.

Sign inCreate an account

Binary to Decimal

Convert a nonnegative binary integer to decimal without fixed-width overflow.

Enter one nonnegative whole number, not a list of bytes.

How to use this tool

Enter one binary whole number, optionally prefixed with 0b.

Important to know

Convert a nonnegative binary integer to decimal without fixed-width overflow.

Only digits 0 and 1 are valid. This treats the input as one number, not separate ASCII bytes.

Formula and methodology

For binary digits, each position contributes its digit multiplied by a power of 2.

Example

11111111 in binary is 255 in decimal.

Frequently asked questions

Can I decode binary text here?

Use Binary to ASCII for separate eight-bit character groups.