Free online tool

Binary Calculator

Enter any decimal integer to see its binary equivalent.

Instant calculation

Binary Calculator

Enter any decimal integer to see its binary equivalent.

Your numbers stay in this browser. Nothing is uploaded or saved.

Three clear steps

How to use this calculator

  1. 01

    Enter decimal number

    Type the decimal integer you want to convert.

  2. 02

    Calculate

    See the binary representation.

  3. 03

    Read binary

    Binary digits read right to left: least significant bit to most significant.

The formula

How this calculation works

Divide the number by 2 repeatedly, recording remainders. The binary representation is the remainders read in reverse.

Binary Calculator

Repeated division by 2: remainder at each step gives binary digits (least significant first).

42÷2=21 r0; 21÷2=10 r1; 10÷2=5 r0; 5÷2=2 r1; 2÷2=1 r0; 1÷2=0 r1 → 101010

Check the method

Worked examples

Each example follows the same formula used by the calculator.

What is 42 in binary?

42÷2=21 r0; 21÷2=10 r1; 10÷2=5 r0; 5÷2=2 r1; 2÷2=1 r0; 1÷2=0 r1 → 101010101010

Common questions

Questions about this calculation

What is the Binary Calculator?

The Binary Calculator helps you convert a decimal number to its binary representation. Enter your values and select Calculate to get an instant result.

How is the result calculated?

Divide the number by 2 repeatedly, recording remainders. The binary representation is the remainders read in reverse.

Can you show an example?

Example: What is 42 in binary? — 101010.

Is my data saved when I use the Binary Calculator?

No. All calculations run locally in your browser. Your inputs and results are never uploaded, stored or shared with anyone.

Is the Binary Calculator free to use?

Yes. The Binary Calculator is completely free. No account, sign-up or payment is required. It works on mobile, tablet and desktop.