What this conversion means in practice
You already have values in Decimal (decimal) and need Binary (binary) for the same material, drawing, or dataset. The factor below is the exact reciprocal of the forward direction; use it when sources quote the “other” unit first.
Decimal is how humans count; binary is how hardware stores bits. Converting decimal integers to binary gives you the exact bit pattern for a value without floating-point surprises.
Use this direction when an API gives a base-10 counter but your bitmask or register map expects a binary string.
Long outputs are normal for large integers; the tool uses BigInt so precision is exact.
Mnemonic: 42₁₀ = 101010₂; 255₁₀ = 11111111₂.
How to convert decimal to binary
Treat your input strictly as a base-10 integer: only digits valid for that base are allowed. The tool converts to an exact integer, then prints it in base 2.
Live example: …10 → …2
Unlike unit conversions with a single scale factor, radix conversion rebuilds the digit sequence. The “expand to decimal, then divide out the target base” algorithm matches what you learn in CS, automated here for any size.
Decimal
Definition: Base 10: the everyday positional system using digits 0–9.
History and origin: Linked to counting on ten fingers; dominant globally for human-facing arithmetic.
Current use: General arithmetic, finance, and human-readable magnitudes before re-encoding to other bases.
Binary
Definition: Base 2: positional notation using only the digits 0 and 1. Each place is a power of 2.
History and origin: Used formally since Leibniz; became central with Boolean logic and electronic switching.
Current use: Machine code, buses, flags, and any representation of bits in computing.
Decimal to Binary conversion table
| Decimal (base 10) | Binary (base 2) |
|---|---|
| 0 | 0 |
| 1 | 1 |
| 10 | 1010 |
| 42 | 101010 |
| 255 | 11111111 |
| 4095 | 111111111111 |
| 65535 | 1111111111111111 |
Decimal to Binary FAQ
Quick answers for Decimal-to-Binary rounding (reverse workflow), precision, and common mistakes.
How do I convert decimal to binary by hand?
Repeatedly divide by 2 and read remainders from bottom to top, or use this page for long values.
Can I paste negative numbers?
This tool targets non-negative integers; signed encodings depend on a fixed bit width (two’s complement).
Why so many digits?
Binary representation grows roughly log₂ of the magnitude; large decimals become long bit strings.