To understand the concept of Division, Shift and Subtract, you must first understand how to do regular decimal long division. Remember the rule for long division is "divide, multiply, subtract, repeat.

Example:

For an animated version of this example, go to this link.

For binary division, you must comply with the following rules:

0/1 = 0

1/1 = 1

The division, shift and subtract rules basically follow these same rules, still complying with the binary rules for division, multiplication and subtraction.

For this example of division, shift and subtract, we will use the sum 18/6.

So:

So our answer is '00011' in binary or '3' in decimal.