We're dividing 507060 by 87 
Our goal is to divide 507060 by 87.

Going ahead to step 1:
The number 87 fits into 5 0 times, leaving a remainder of 5.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
The remainder is 5 after subtracting 0 from 5.
Bring next digit (0) of the dividend behind the 5 and repeat the process: 50 / 87

On to step 2:
87 goes into 50 0 times with a remainder of 50.
The next digit of our result is 0. 
Result so far: 0.0
If we subtract 0 from 50, we get 50.
Bring next digit (7) of the dividend behind the 50 and repeat the process: 507 / 87

Advancing to step 3:
87 goes into 507 5 times with a remainder of 72.
The next digit of our result is 5. 
Result so far: 5.0
Deduct 435 from 507 and we're left with 72.
Bring next digit (0) of the dividend behind the 72 and repeat the process: 720 / 87

Going ahead to step 4:
87 goes into 720 8 times with a remainder of 24.
Use 8 as the next digit of our solution. 
Result so far: 58.0
Subtract 696 from 720 to get 24.
Include the next digit (6) from the dividend after 24, then repeat: 246 / 87

Going ahead to step 5:
The number 87 fits into 246 2 times, leaving a remainder of 72.
Put 2 as the next digit of the answer. 
Result so far: 582.0
Subtracting 174 from 246 leaves us with 72.
Bring next digit (0) of the dividend behind the 72 and repeat the process: 720 / 87

Moving on to step 6:
720 divided by 87 is 8 with a remainder of 24.
Record the quotient 8 as the next digit in the result. 
Result so far: 5828.0
Subtract 696 from 720 to get 24.
Since there are no more digits in the dividend, we add a zero to the remainder making it 240, and continue the process.

Advancing to step 7:
87 can be fit into 240 2 times, resulting in a remainder of 66.
The next digit of our result is 2. 
Result so far: 5828.2
Subtracting 174 from 240 leaves us with 66.
Since there are no more digits in the dividend, we add a zero to the remainder making it 660, and continue the process.

Step 8:
87 can be fit into 660 7 times, resulting in a remainder of 51.
Write down 7 as next digit of the result. 
Result so far: 5828.27
If we take 609 away from 660, we end up with 51.
Since there are no more digits in the dividend, we add a zero to the remainder making it 510, and continue the process.

Moving on to step 9:
87 can be fit into 510 5 times, resulting in a remainder of 75.
The next digit of our result is 5. 
Result so far: 5828.275
The remainder is 75 after subtracting 435 from 510.
Since there are no more digits in the dividend, we add a zero to the remainder making it 750, and continue the process.

Moving on to step 10:
750 divided by 87 is 8 with a remainder of 54.
Put 8 as the next digit of the answer. 
Result so far: 5828.2758
If we take 696 away from 750, we end up with 54.
Since there are no more digits in the dividend, we add a zero to the remainder making it 540, and continue the process.

Moving on to step 11:
The number 87 fits into 540 6 times, leaving a remainder of 18.
Use 6 as the next digit of our solution. 
Result so far: 5828.27586
The remainder is 18 after subtracting 522 from 540.
Since there are no more digits in the dividend, we add a zero to the remainder making it 180, and continue the process.

Going ahead to step 12:
180 divided by 87 is 2 with a remainder of 6.
Write down 2 as next digit of the result. 
Result so far: 5828.275862
Subtract 174 from 180 to get 6.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

Advancing to step 13:
87 goes into 60 0 times with a remainder of 60.
Write down 0 as next digit of the result. 
Result so far: 5828.275862
If we take 0 away from 60, we end up with 60.
Since there are no more digits in the dividend, we add a zero to the remainder making it 600, and continue the process.

On to step 14:
When dividing 600 by 87, we get 6 with a remainder of 78.
Put 6 as the next digit of the answer. 
Result so far: 5828.27586206
If we take 522 away from 600, we end up with 78.
Since there are no more digits in the dividend, we add a zero to the remainder making it 780, and continue the process.

The quotient of the division is 5828.27586206, and the remainder is 7.8e-08.