508115 divided by 18 
We want to divide 508115 by 18.

Moving on to step 1:
5 divided by 18 is 0 with a remainder of 5.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Deduct 0 from 5 and we're left with 5.
Append the next digit (0) from the dividend to 5 and continue with: 50 / 18

Step 2:
The number 18 fits into 50 2 times, leaving a remainder of 14.
The next digit of our result is 2. 
Result so far: 2.0
Subtract 36 from 50 to get 14.
Grab the next digit (8) from the dividend, add it to 14, then carry on: 148 / 18

Advancing to step 3:
148 divided by 18 is 8 with a remainder of 4.
The number 8 becomes the next digit in our result. 
Result so far: 28.0
If we take 144 away from 148, we end up with 4.
Fetch the next digit (1) from the dividend, attach it to 4 and continue: 41 / 18

Moving on to step 4:
If we divide 41 by 18, we get 2 and a remainder of 5.
The next digit of our result is 2. 
Result so far: 282.0
If we take 36 away from 41, we end up with 5.
Append the next digit (1) from the dividend to 5 and continue with: 51 / 18

Advancing to step 5:
18 can be fit into 51 2 times, resulting in a remainder of 15.
The number 2 becomes the next digit in our result. 
Result so far: 2822.0
Subtract 36 from 51 to get 15.
Grab the next digit (5) from the dividend, add it to 15, then carry on: 155 / 18

On to step 6:
The number 18 fits into 155 8 times, leaving a remainder of 11.
Use 8 as the next digit of our solution. 
Result so far: 28228.0
The remainder is 11 after subtracting 144 from 155.
Since there are no more digits in the dividend, we add a zero to the remainder making it 110, and continue the process.

Advancing to step 7:
When dividing 110 by 18, we get 6 with a remainder of 2.
Write down 6 as next digit of the result. 
Result so far: 28228.6
The remainder is 2 after subtracting 108 from 110.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

On to step 8:
18 goes into 20 1 times with a remainder of 2.
Use 1 as the next digit of our solution. 
Result so far: 28228.61
The remainder is 2 after subtracting 18 from 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

On to step 9:
The number 18 fits into 20 1 times, leaving a remainder of 2.
Write down 1 as next digit of the result. 
Result so far: 28228.611
If we subtract 18 from 20, we get 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

The final outcome is 28228.611, with a leftover of 0.0002.