We're dividing 508371 by 27 
We're looking to find how many times 27 goes into 508371.

Step 1:
27 can be fit into 5 0 times, resulting in a remainder of 5.
The next digit of our result is 0. 
Result so far: 0.0
Subtracting 0 from 5 leaves us with 5.
Bring next digit (0) of the dividend behind the 5 and repeat the process: 50 / 27

On to step 2:
27 can be fit into 50 1 times, resulting in a remainder of 23.
The number 1 becomes the next digit in our result. 
Result so far: 1.0
Subtract 27 from 50 to get 23.
Append the next digit (8) from the dividend to 23 and continue with: 238 / 27

Let's proceed to step 3:
27 goes into 238 8 times with a remainder of 22.
Record the quotient 8 as the next digit in the result. 
Result so far: 18.0
Subtract 216 from 238 to get 22.
Take the next digit (3) from the dividend and append it to 22, then repeat: 223 / 27

Step 4:
If we divide 223 by 27, we get 8 and a remainder of 7.
Use 8 as the next digit of our solution. 
Result so far: 188.0
Subtract 216 from 223 to get 7.
Append the next digit (7) from the dividend to 7 and continue with: 77 / 27

Let's proceed to step 5:
77 divided by 27 is 2 with a remainder of 23.
The number 2 becomes the next digit in our result. 
Result so far: 1882.0
If we subtract 54 from 77, we get 23.
Fetch the next digit (1) from the dividend, attach it to 23 and continue: 231 / 27

Step 6:
27 goes into 231 8 times with a remainder of 15.
The next digit of our result is 8. 
Result so far: 18828.0
Subtract 216 from 231 to get 15.
Since there are no more digits in the dividend, we add a zero to the remainder making it 150, and continue the process.

Advancing to step 7:
The number 27 fits into 150 5 times, leaving a remainder of 15.
Write down 5 as next digit of the result. 
Result so far: 18828.5
If we subtract 135 from 150, we get 15.
Since there are no more digits in the dividend, we add a zero to the remainder making it 150, and continue the process.

Advancing to step 8:
When dividing 150 by 27, we get 5 with a remainder of 15.
The number 5 becomes the next digit in our result. 
Result so far: 18828.55
Subtract 135 from 150 to get 15.
Since there are no more digits in the dividend, we add a zero to the remainder making it 150, and continue the process.

After the division, we end up with 18828.55 and a remainder of 0.015.