Binary to Decimal Converter
Example
Input:
1010
Output:
255
About this converter
Binary (base 2) and Decimal (base 10) are two notations for the same integers; programmers live between them because computers think in binary, humans in decimal, and hex is the compact spelling of binary (one hex digit is exactly four bits). This converter parses the input digit-by-digit in base 2 and re-emits it in base 10 using arbitrary-precision arithmetic, so values far beyond 2^53 — memory addresses, hashes as numbers, packed flags — convert exactly, and invalid digits for the source base are reported by name.
Frequently Asked Questions
How do I convert binary to decimal by hand?
Convert through place values: multiply each digit by its place value in the source base and add (that gives decimal), then repeatedly divide by the target base and read the remainders upward — or use this page and check the result both ways.
Are negative numbers supported?
Yes — a leading minus sign is honoured in both directions.
Related Developer Tools
Binary to Hex Converter
Convert binary numbers to hexadecimal instantly - free and in your browser.
Binary to Octal Converter
Convert binary numbers to octal instantly - free and in your browser.
Decimal to Binary Converter
Convert decimal numbers to binary instantly - free and in your browser.
Decimal to Hex Converter
Convert decimal numbers to hexadecimal instantly - free and in your browser.
Number Base Converter
Convert numbers between binary, octal, decimal and hex.
Hash Generator
MD5, SHA-1, SHA-256 and more hashes for text and files.
Base64 Encoder & Decoder
Encode text or files to Base64 and decode back, UTF-8 safe.