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
Free online tool
Enter any decimal integer to see its binary equivalent.
Instant calculation
Enter any decimal integer to see its binary equivalent.
Your numbers stay in this browser. Nothing is uploaded or saved.
Three clear steps
Type the decimal integer you want to convert.
See the binary representation.
Binary digits read right to left: least significant bit to most significant.
The formula
Divide the number by 2 repeatedly, recording remainders. The binary representation is the remainders read in reverse.
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
Each example follows the same formula used by the calculator.
42÷2=21 r0; 21÷2=10 r1; 10÷2=5 r0; 5÷2=2 r1; 2÷2=1 r0; 1÷2=0 r1 → 101010101010Common questions
The Binary Calculator helps you convert a decimal number to its binary representation. Enter your values and select Calculate to get an instant result.
Divide the number by 2 repeatedly, recording remainders. The binary representation is the remainders read in reverse.
Example: What is 42 in binary? — 101010.
No. All calculations run locally in your browser. Your inputs and results are never uploaded, stored or shared with anyone.
Yes. The Binary Calculator is completely free. No account, sign-up or payment is required. It works on mobile, tablet and desktop.
Continue calculating