Let's divide 507228 by 8
Let's see how many times 8 fits into 507228.

Let's proceed to step 1:
The number 8 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
Deduct 0 from 5 and we're left with 5.
Grab the next digit (0) from the dividend, add it to 5, then carry on: 50 / 8

On to step 2:
8 goes into 50 6 times with a remainder of 2.
The next digit of our result is 6. 
Result so far: 6.0
The remainder is 2 after subtracting 48 from 50.
Fetch the next digit (7) from the dividend, attach it to 2 and continue: 27 / 8

Step 3:
8 can be fit into 27 3 times, resulting in a remainder of 3.
Put 3 as the next digit of the answer. 
Result so far: 63.0
Deduct 24 from 27 and we're left with 3.
Include the next digit (2) from the dividend after 3, then repeat: 32 / 8

Moving on to step 4:
When dividing 32 by 8, we get 4 with a remainder of 0.
The number 4 becomes the next digit in our result. 
Result so far: 634.0
If we take 32 away from 32, we end up with 0.
Grab the next digit (2) from the dividend, add it to 0, then carry on: 2 / 8

Going ahead to step 5:
8 can be fit into 2 0 times, resulting in a remainder of 2.
Record the quotient 0 as the next digit in the result. 
Result so far: 6340.0
Subtract 0 from 2 to get 2.
Bring next digit (8) of the dividend behind the 2 and repeat the process: 28 / 8

Step 6:
28 divided by 8 is 3 with a remainder of 4.
Record the quotient 3 as the next digit in the result. 
Result so far: 63403.0
If we take 24 away from 28, we end up with 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

On to step 7:
8 goes into 40 5 times with a remainder of 0.
Use 5 as the next digit of our solution. 
Result so far: 63403.5
Deduct 40 from 40 and we're left with 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Let's proceed to step 8:
8 goes into 0 0 times with a remainder of 0.
Record the quotient 0 as the next digit in the result. 
Result so far: 63403.5
The remainder is 0 after subtracting 0 from 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Let's proceed to step 9:
When dividing 0 by 8, we get 0 with a remainder of 0.
Write down 0 as next digit of the result. 
Result so far: 63403.5
Subtracting 0 from 0 leaves us with 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

After the division, we end up with 63403.5 and a remainder of 0.0.