Base Conversion•Live Bidirectional•100% Client-Side

Decimal to Binary Converter

Convert base-10 decimal integers to base-2 binary with 8-bit, 16-bit, and 32-bit padding options.

Bit Length Padding:
Binary Output (Base 2)
00101010
Length: 8 bits
Hexadecimal0x2A
Octal52

Step-by-Step Division by 2 Method

StepDivisionQuotientRemainder (Bit)
142 ÷ 2210
221 ÷ 2101
310 ÷ 250
45 ÷ 221
52 ÷ 210
61 ÷ 201

* Read the remainders from bottom to top to get the binary representation.

Conversion Formula & Standards

Conversions follow International System of Units (SI) and ISO standard constants.

Repeated integer division by 2 recording remainders (LSB to MSB)

How to Use Decimal to Binary Converter

01

Type any positive or negative decimal integer (e.g., 42 or 255).

02

Select bit padding (None, 8-bit byte, 16-bit word, 32-bit dword).

03

View the binary output and educational step-by-step division table.

Frequently Asked Questions

What is 255 in binary?

255 in binary is 11111111 (an 8-bit byte with all bits set to 1).

Explore Companion Converters

Instant bidirectional unit and number system converters with zero server latency.

View all 20 converters