501312 divided by 89 
We want to divide 501312 by 89.

Going ahead to step 1:
5 divided by 89 is 0 with a remainder of 5.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Subtract 0 from 5 to get 5.
Fetch the next digit (0) from the dividend, attach it to 5 and continue: 50 / 89

On to step 2:
89 goes into 50 0 times with a remainder of 50.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtract 0 from 50 to get 50.
Take the next digit (1) from the dividend and append it to 50, then repeat: 501 / 89

Step 3:
The number 89 fits into 501 5 times, leaving a remainder of 56.
Write down 5 as next digit of the result. 
Result so far: 5.0
Subtracting 445 from 501 leaves us with 56.
Bring next digit (3) of the dividend behind the 56 and repeat the process: 563 / 89

Moving on to step 4:
89 can be fit into 563 6 times, resulting in a remainder of 29.
Write down 6 as next digit of the result. 
Result so far: 56.0
Deduct 534 from 563 and we're left with 29.
Take the next digit (1) from the dividend and append it to 29, then repeat: 291 / 89

On to step 5:
89 can be fit into 291 3 times, resulting in a remainder of 24.
Write down 3 as next digit of the result. 
Result so far: 563.0
Deduct 267 from 291 and we're left with 24.
Fetch the next digit (2) from the dividend, attach it to 24 and continue: 242 / 89

Advancing to step 6:
89 goes into 242 2 times with a remainder of 64.
The next digit of our result is 2. 
Result so far: 5632.0
If we take 178 away from 242, we end up with 64.
Since there are no more digits in the dividend, we add a zero to the remainder making it 640, and continue the process.

Going ahead to step 7:
If we divide 640 by 89, we get 7 and a remainder of 17.
Write down 7 as next digit of the result. 
Result so far: 5632.7
Deduct 623 from 640 and we're left with 17.
Since there are no more digits in the dividend, we add a zero to the remainder making it 170, and continue the process.

On to step 8:
89 can be fit into 170 1 times, resulting in a remainder of 81.
Write down 1 as next digit of the result. 
Result so far: 5632.71
Subtracting 89 from 170 leaves us with 81.
Since there are no more digits in the dividend, we add a zero to the remainder making it 810, and continue the process.

Step 9:
If we divide 810 by 89, we get 9 and a remainder of 9.
Write down 9 as next digit of the result. 
Result so far: 5632.719
Subtract 801 from 810 to get 9.
Since there are no more digits in the dividend, we add a zero to the remainder making it 90, and continue the process.

On to step 10:
When dividing 90 by 89, we get 1 with a remainder of 1.
Record the quotient 1 as the next digit in the result. 
Result so far: 5632.7191
Subtracting 89 from 90 leaves us with 1.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

Moving on to step 11:
89 goes into 10 0 times with a remainder of 10.
Write down 0 as next digit of the result. 
Result so far: 5632.7191
If we take 0 away from 10, we end up with 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

Moving on to step 12:
89 goes into 100 1 times with a remainder of 11.
Record the quotient 1 as the next digit in the result. 
Result so far: 5632.719101
If we subtract 89 from 100, we get 11.
Since there are no more digits in the dividend, we add a zero to the remainder making it 110, and continue the process.

On to step 13:
110 divided by 89 is 1 with a remainder of 21.
Put 1 as the next digit of the answer. 
Result so far: 5632.7191011
Deduct 89 from 110 and we're left with 21.
Since there are no more digits in the dividend, we add a zero to the remainder making it 210, and continue the process.

After the division, we end up with 5632.7191011 and a remainder of 2.1e-07.