Binary Division Calculator

Divide two numbers and show the binary quotient and remainder.

Quotient (binary) 111
Remainder (decimal) 2

Formula: Integer division shown in base 2

Step-by-step with your numbers:
1. Values used:
2. Dividend (decimal) = 30
3. Divisor (decimal) = 4
4.
5. Quotient (binary) = 111
6. Remainder (decimal) = 2
Did we solve your problem today?

Divide binary numbers; enter decimals and read the binary quotient with remainder.

The math behind it

Binary long division works like decimal long division but only ever subtracts the divisor once per step (the digit is 0 or 1).

Worked example

30 ÷ 4 = 7 remainder 2; 7 is 111 in binary.

FAQ

What if it doesn't divide evenly?

You get a quotient plus a remainder, just like integer division.