Decimal to Binary Calculator

Enter a decimal integer to convert it to binary.

How to Convert Decimal to Binary

Method: repeated division by 2

  1. Divide the number by 2. Note the remainder (0 or 1).
  2. Repeat with the quotient until it reaches 0.
  3. Read remainders from bottom to top — that is the binary result.

Example: 42 → 21 R0 → 10 R1 → 5 R0 → 2 R1 → 1 R0 → 0 R1 → 101010

Quick reference

DecimalBinaryHex
111
810008
101010A
161000010
25511111111FF

Related Calculators

Have Feedback or a Suggestion? Contact Us
Top