Decimal to Binary Converter
Convert base-10 decimal integers to base-2 binary with 8-bit, 16-bit, and 32-bit padding options.
Step-by-Step Division by 2 Method
| Step | Division | Quotient | Remainder (Bit) |
|---|---|---|---|
| 1 | 42 ÷ 2 | 21 | 0 |
| 2 | 21 ÷ 2 | 10 | 1 |
| 3 | 10 ÷ 2 | 5 | 0 |
| 4 | 5 ÷ 2 | 2 | 1 |
| 5 | 2 ÷ 2 | 1 | 0 |
| 6 | 1 ÷ 2 | 0 | 1 |
* 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.
How to Use Decimal to Binary Converter
Type any positive or negative decimal integer (e.g., 42 or 255).
Select bit padding (None, 8-bit byte, 16-bit word, 32-bit dword).
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.
Binary to Decimal Converter
Convert binary bits (0s and 1s) to base-10 decimal with interactive powers of 2 breakdown.
Decimal to Hex Converter
Convert decimal numbers to base-16 hexadecimal (0x...) with uppercase/lowercase formatting.
Hex to Decimal Converter
Convert base-16 hexadecimal values (0-9, A-F) to base-10 decimal numbers.
Roman Numeral Converter
Bidirectional converter: translate Arabic numbers (1–3999) to Roman numerals and Roman numerals to numbers.
Length Converter
Instantly convert between metric and imperial lengths: meters, kilometers, miles, feet, inches, and yards.
Weight Converter
Convert mass and weight between kilograms, grams, pounds (lbs), ounces (oz), metric tons, and stones.