← All tools
// NUMBERS

Binary to Decimal online

Convert binary to decimal, hex and octal — or go the other direction. Browser-side.

Binary to Decimal Converter logo
by
CHUNKY
MUNSTER

About Binary to Decimal

Binary (base 2) is the native language of computers. Each bit is either 0 or 1. To convert binary to decimal, each bit is multiplied by 2 raised to the power of its position (right to left, starting at 0). This tool also shows octal and hexadecimal equivalents.

Quick examples

How to Use binary-to-decimal

  1. Type or paste your binary number (e.g. 11001101) into the input field.
  2. The decimal, hexadecimal, and octal equivalents appear instantly.
  3. Switch the direction — enter a decimal, hex, or octal number to see all conversions.
  4. Copy any output value with a single click.

Binary, decimal, hexadecimal, and octal are four numeral systems representing the same underlying values with different bases: 2, 10, 16, and 8. Programmers and engineers constantly switch between them — reading CPU flags, writing bitmasks, debugging memory dumps, and working with colour codes. This converter handles all four directions simultaneously.

Number Bases in Practice

Binary (base-2) is how CPUs actually store data — every register value and memory address is a sequence of 0s and 1s. Hexadecimal (base-16) is a compact shorthand: one hex digit represents exactly 4 binary bits, making hex ideal for reading memory dumps, colour codes (#FF8800), and byte-level flags. Octal (base-8) was common in older Unix file permissions (chmod 755) and still appears in some embedded systems. Decimal is human-readable but the least useful for low-level work.

Frequently Asked Questions

How do I convert binary to decimal by hand?

Write the binary number and, starting from the right, multiply each bit by 2 raised to its position: 1101 = (1×8) + (1×4) + (0×2) + (1×1) = 13.

Why is hexadecimal so common in programming?

Every hex digit maps to exactly 4 binary bits. The byte value 255 is 11111111 in binary and FF in hex — 2 characters instead of 8. Hex makes binary data much more readable without losing precision.

What does chmod 755 mean in binary?

755 in octal is 111 101 101 in binary — three 3-bit groups for owner, group, and other. Bit pattern 111 = rwx (all permissions), 101 = r-x (read + execute, no write).

Is there a limit on the size of numbers this tool handles?

The tool uses JavaScript's BigInt for large number support, handling integers well beyond 32-bit and 64-bit ranges without overflow.

See also Hex to Binary, Binary to Text, and the Bitwise Calculator for bit manipulation.