Decimal to Binary Converter

Convert decimal numbers to binary. See step-by-step conversion process.

Decimal: 42

101010

Binary

All Conversions

101010

Binary

52

Octal

0x2A

Hexadecimal

Conversion Steps

Divide by 2 repeatedly, collect remainders from bottom to top:

StepNumber ÷ 2QuotientRemainder
142 ÷ 2210
221 ÷ 2101
310 ÷ 250
45 ÷ 221
52 ÷ 210
61 ÷ 201

Reading remainders from bottom to top: 101010

Common Conversions

10

= 1010

100

= 1100100

255

= 11111111

1000

= 1111101000

💡

Help us improve!

How would you rate the Decimal to Binary Converter?

<>

Editorial Note

MyCalcBuddy Editorial Team

This page is maintained as an educational calculator reference.

📚

Formula Source: NIST Guide to SI Units

by National Institute of Standards

🔄Last reviewed: May 2026
✓Formula checks are based on standard references and internal QA review.