Binary to Decimal
Binary to Decimal: Convert binary whole numbers to decimal without losing integer precision; the selectors also support the other listed bases.
Binary Converter: Convert signed whole numbers between binary, octal, decimal and hexadecimal, starting with binary as the output base.
Convert signed whole numbers between binary, octal, decimal and hexadecimal, starting with binary as the output base.
Example: Using Integer to convert = 42; From base = Decimal · 10; To base = Binary · 2, the result is 101010.
How it is calculated: Value = sum of each digit × input-base^(position from the right). Express that exact integer using the selected output base.
The starting view reads base 10 and writes base 2. The value stays the same; only the digit representation changes. Both base menus can be changed.
Positional digits represent powers of the selected base. Binary allows 0–1, octal 0–7, decimal 0–9 and hexadecimal 0–9 plus A–F. Exact BigInt arithmetic avoids ordinary floating-point integer rounding.
42 in base 10 represents decimal 42, which is 101010 in base 2. In binary, 101010 = 32 + 8 + 2.
A leading minus is supported. Up to 4,096 input digits are accepted; signed values are mathematical integers, not two’s-complement bit patterns.
Guidance updated . Methods and corrections
Your calculation values and selected files are not stored. Recent and saved tools keep tool identifiers; your market preference keeps only its country code in this browser.
Use the grouped tool selector above the form. Each tool has its own URL, and your browser’s Back button returns to the previous tool.