Decimal to Binary Converter
Convert decimal (base-10) numbers to binary (base-2) instantly with a step-by-step division breakdown. Supports batch conversion and reverse direction.
100% client-side. Your data never leaves your browser.
Step-by-Step Division Method
| Step | Division | Quotient | Remainder |
|---|
Common Decimal to Binary Values
= 1
= 1000
= 1010
= 10000
= 101010
= 1000000
= 1100100
= 1111111
= 10000000
= 11111111
= 100000000
= 10000000000
Related Tools
Bidirectional
Convert decimal to binary and binary back to decimal. Click the Swap button to switch direction instantly.
Division Breakdown
See the full division-remainder method showing each step of converting a decimal number to binary.
Configurable Output
Pad to 4, 8, 16, or 32 bits. Group binary digits into 4-bit nibbles for easy reading.
Need something custom built?
I build custom Laravel tools, web apps, and SaaS platforms. If you need something beyond off-the-shelf, let's talk.
ContactFrequently Asked Questions
How do I convert decimal to 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. Reading bottom-to-top: 101010.
What is binary?
What is 255 in binary?
255 in binary is 11111111 (eight 1s). This is the maximum value stored in a single byte (8 bits). It appears commonly in RGB color values (e.g., rgb(255, 255, 255) for white), subnet masks, and as the max unsigned 8-bit integer.
What is the decimal to binary formula?
Can I convert binary back to decimal?
101010 = (1×32) + (0×16) + (1×8) + (0×4) + (1×2) + (0×1) = 42. Click "Swap Direction" to use this mode.