Skip to main content
Numverto logo NUMVERTO

Decimal to Binary Converter

Convert Decimal to Binary

Binary Result

Step-by-Step Working

    Advertisement

    About This Converter

    Convert any decimal (base 10) number to binary (base 2) using the repeated division method. Enter a number like 25 and instantly see the binary result (11001) with each division step shown. Perfect for computer science homework, exam practice, and understanding how computers store integers.

    Worked Examples

    Decimal: 13 → Binary: 1101

    13÷2=6 R1, 6÷2=3 R0, 3÷2=1 R1, 1÷2=0 R1 → read bottom-up: 1101

    Decimal: 255 → Binary: 11111111

    Eight consecutive 1-bits — maximum value for one byte

    Decimal: 100 → Binary: 1100100

    100 in binary is 1100100 (7 bits needed)

    Need More Bases?

    For full multi-base conversion (binary, octal, decimal, and hex all at once), use our Number System Converter — it shows all four representations simultaneously with complete step-by-step working.

    Frequently Asked Questions

    How do I convert decimal to binary step by step?

    Divide the decimal number by 2 repeatedly, recording each remainder. Read remainders from bottom to top for the binary result.

    What is decimal 10 in binary?

    Decimal 10 = binary 1010. Division: 10÷2=5R0, 5÷2=2R1, 2÷2=1R0, 1÷2=0R1 → 1010.

    How many bits does decimal 256 need?

    256 in binary is 100000000 which requires 9 bits. In general, a number n needs ⌈log₂(n+1)⌉ bits.

    Is there a shortcut for powers of 2?

    Yes — any power of 2 (1, 2, 4, 8, 16, 32...) is simply a 1 followed by zeros. For example, 64 = 1000000.

    Can I convert decimal fractions to binary?

    This tool handles whole numbers. For fractions, multiply the decimal part by 2 repeatedly and read integer parts top-down.

    Related Converters

    Advertisement

    Popular Tools

    View all 13 free tools → · Read tutorials · Number system guide