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

Step 1:
87 can be fit into 5 0 times, resulting in a remainder of 5.
Use 0 as the next digit of our solution. 
Result so far: 0.0
If we take 0 away from 5, we end up with 5.
Fetch the next digit (0) from the dividend, attach it to 5 and continue: 50 / 87

Advancing to step 2:
The number 87 fits into 50 0 times, leaving a remainder of 50.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we subtract 0 from 50, we get 50.
Fetch the next digit (8) from the dividend, attach it to 50 and continue: 508 / 87

Advancing to step 3:
508 divided by 87 is 5 with a remainder of 73.
The next digit of our result is 5. 
Result so far: 5.0
Deduct 435 from 508 and we're left with 73.
Fetch the next digit (3) from the dividend, attach it to 73 and continue: 733 / 87

On to step 4:
The number 87 fits into 733 8 times, leaving a remainder of 37.
Put 8 as the next digit of the answer. 
Result so far: 58.0
If we subtract 696 from 733, we get 37.
Fetch the next digit (6) from the dividend, attach it to 37 and continue: 376 / 87

Moving on to step 5:
87 can be fit into 376 4 times, resulting in a remainder of 28.
The number 4 becomes the next digit in our result. 
Result so far: 584.0
Subtracting 348 from 376 leaves us with 28.
Include the next digit (0) from the dividend after 28, then repeat: 280 / 87

Moving on to step 6:
The number 87 fits into 280 3 times, leaving a remainder of 19.
The next digit of our result is 3. 
Result so far: 5843.0
If we subtract 261 from 280, we get 19.
Since there are no more digits in the dividend, we add a zero to the remainder making it 190, and continue the process.

Step 7:
190 divided by 87 is 2 with a remainder of 16.
The next digit of our result is 2. 
Result so far: 5843.2
The remainder is 16 after subtracting 174 from 190.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

On to step 8:
If we divide 160 by 87, we get 1 and a remainder of 73.
Put 1 as the next digit of the answer. 
Result so far: 5843.21
Subtracting 87 from 160 leaves us with 73.
Since there are no more digits in the dividend, we add a zero to the remainder making it 730, and continue the process.

Advancing to step 9:
87 can be fit into 730 8 times, resulting in a remainder of 34.
Record the quotient 8 as the next digit in the result. 
Result so far: 5843.218
Deduct 696 from 730 and we're left with 34.
Since there are no more digits in the dividend, we add a zero to the remainder making it 340, and continue the process.

Advancing to step 10:
87 can be fit into 340 3 times, resulting in a remainder of 79.
Put 3 as the next digit of the answer. 
Result so far: 5843.2183
The remainder is 79 after subtracting 261 from 340.
Since there are no more digits in the dividend, we add a zero to the remainder making it 790, and continue the process.

On to step 11:
87 can be fit into 790 9 times, resulting in a remainder of 7.
Use 9 as the next digit of our solution. 
Result so far: 5843.21839
If we subtract 783 from 790, we get 7.
Since there are no more digits in the dividend, we add a zero to the remainder making it 70, and continue the process.

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

Moving on to step 13:
If we divide 700 by 87, we get 8 and a remainder of 4.
The next digit of our result is 8. 
Result so far: 5843.2183908
Subtract 696 from 700 to get 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Going ahead to step 14:
40 divided by 87 is 0 with a remainder of 40.
Record the quotient 0 as the next digit in the result. 
Result so far: 5843.2183908
If we subtract 0 from 40, we get 40.
Since there are no more digits in the dividend, we add a zero to the remainder making it 400, and continue the process.

The quotient of the division is 5843.2183908, and the remainder is 4e-08.