Binary Calculator

Convert numbers between binary, decimal, octal and hexadecimal.

What this calculator does

Enter a value and its base to convert it to binary, decimal, octal and hex at once. Handy for programming and digital electronics.

The default scenario, worked through

The calculator opens with a value of 255. On those figures the result is FF. Underneath, Binary comes out at 11111111 and Octal at 377. Change any field and every figure updates as you type.

Step by step

  1. Enter your figures in the fields provided.
  2. The result updates as you type.
  3. Review the breakdown below the main number.

The maths behind it

convert to decimal, then to the target base

Questions people ask about this

How do I convert binary to decimal?
Each binary digit is a power of two; the converter sums them for you.
What is binary?
Base-2, using only 0 and 1 โ€” the language computers compute in.