Binary Division Calculator

Divide binary integers and see the exact base-2 quotient, remainder, and decimal check.

Divide binary numbers
Enter an unsigned binary dividend and a nonzero binary divisor.

About binary division

Binary division finds how many times one base-2 integer fits into another and reports anything left over as a remainder. It follows the same long-division structure taught for decimal numbers, but each quotient digit can only be zero or one. The dividend is the number being divided, the divisor is the number it is divided by, the quotient is the whole-number result, and the remainder is the amount that cannot form another complete divisor. In manual long division, begin at the dividend's most significant bit and bring down bits until the partial value is at least the divisor. Write one in the quotient, subtract the divisor, and bring down the next bit. If the partial value is smaller than the divisor, write zero and continue. Repeating these compare, subtract, and shift steps produces the quotient from left to right. The final partial value is the remainder and must be smaller than the divisor. Consider 1101 divided by 11. In decimal this is thirteen divided by three. The whole-number quotient is four, written 100 in binary, and the remainder is one. The defining identity confirms the result: dividend equals divisor times quotient plus remainder. In binary notation, 1101 equals 11 times 100 plus 1. For 1100 divided by 11, the quotient is again 100 but the remainder is zero because twelve is exactly divisible by three. Digital hardware can implement division with repeated shifts and conditional subtraction. Restoring and non-restoring division algorithms improve how intermediate remainders are managed, while modern processors may use more sophisticated methods for speed. The basic relationship among dividend, divisor, quotient, and remainder remains unchanged. Binary division is important in processor design, fixed-point arithmetic, address calculations, encoding, and low-level optimization. This calculator performs unsigned integer division. It does not append fractional quotient bits; instead, it reports the exact integer remainder. A binary fraction could be generated by repeatedly shifting the remainder left and continuing the division, much like adding decimal digits after a decimal point. Keeping an integer quotient and remainder avoids questions about how many fractional bits to display and whether a repeating expansion should be rounded. Division by zero is undefined, so the divisor must contain at least one set bit. Leading zeros are harmless and do not affect value. The calculation uses arbitrary-length exact integers rather than floating-point numbers, making long practical inputs reliable. When applying the result to fixed-width hardware, remember that signed values require a representation such as two's complement and may involve special overflow rules not modeled by this unsigned calculator.

Binary division examples

Examples show exact division and nonzero remainders.

DivisionQuotient and remainderDecimal check
1100 ÷ 11Quotient 100, remainder 012 ÷ 3 = 4 exactly.
1101 ÷ 11Quotient 100, remainder 113 = 3 × 4 + 1.
101010 ÷ 101Quotient 1000, remainder 1042 = 5 × 8 + 2.
1111 ÷ 10Quotient 111, remainder 115 = 2 × 7 + 1.

How to divide binary numbers

  1. Enter the binary dividend using only zeros and ones.
  2. Enter a nonzero binary divisor using the same unsigned integer notation.
  3. Select Divide Binary Numbers to perform exact integer division.
  4. Read the quotient and remainder, then confirm them with the decimal check.

Binary division FAQ

How do I verify the quotient and remainder?

Multiply the divisor by the quotient and add the remainder. That total must equal the original dividend, and the remainder must be smaller than the divisor.

Why is division by zero rejected?

No number multiplied by zero can reconstruct a nonzero dividend. A unique finite quotient therefore cannot be defined for a zero divisor.

Does the calculator show fractional binary digits?

No. It performs integer division and preserves the leftover amount as a remainder, which is exact and unambiguous.

Do leading zeros change a division?

No. Leading zeros do not change the numerical value of either unsigned operand or the resulting quotient and remainder.

Can the remainder equal the divisor?

No. If the remainder were at least the divisor, one more divisor could be subtracted and the quotient would not yet be complete.