309878 ÷ 8 
Let's see how many times 8 fits into 309878.

Step 1:
If we divide 3 by 8, we get 0 and a remainder of 3.
Write down 0 as next digit of the result. 
Result so far: 0.0
The remainder is 3 after subtracting 0 from 3.
Append the next digit (0) from the dividend to 3 and continue with: 30 / 8

On to step 2:
8 goes into 30 3 times with a remainder of 6.
Record the quotient 3 as the next digit in the result. 
Result so far: 3.0
Subtracting 24 from 30 leaves us with 6.
Fetch the next digit (9) from the dividend, attach it to 6 and continue: 69 / 8

Let's proceed to step 3:
The number 8 fits into 69 8 times, leaving a remainder of 5.
Put 8 as the next digit of the answer. 
Result so far: 38.0
Subtract 64 from 69 to get 5.
Include the next digit (8) from the dividend after 5, then repeat: 58 / 8

On to step 4:
If we divide 58 by 8, we get 7 and a remainder of 2.
The next digit of our result is 7. 
Result so far: 387.0
If we subtract 56 from 58, we get 2.
Bring next digit (7) of the dividend behind the 2 and repeat the process: 27 / 8

On to step 5:
8 goes into 27 3 times with a remainder of 3.
Write down 3 as next digit of the result. 
Result so far: 3873.0
Subtracting 24 from 27 leaves us with 3.
Append the next digit (8) from the dividend to 3 and continue with: 38 / 8

Step 6:
The number 8 fits into 38 4 times, leaving a remainder of 6.
Record the quotient 4 as the next digit in the result. 
Result so far: 38734.0
Subtracting 32 from 38 leaves us with 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 7:
8 can be fit into 60 7 times, resulting in a remainder of 4.
The next digit of our result is 7. 
Result so far: 38734.7
If we subtract 56 from 60, we 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.

Advancing to step 8:
8 goes into 40 5 times with a remainder of 0.
The next digit of our result is 5. 
Result so far: 38734.75
Subtract 40 from 40 to get 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Advancing to step 9:
8 goes into 0 0 times with a remainder of 0.
Write down 0 as next digit of the result. 
Result so far: 38734.75
Subtract 0 from 0 to get 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

On to step 10:
When dividing 0 by 8, we get 0 with a remainder of 0.
Put 0 as the next digit of the answer. 
Result so far: 38734.75
If we take 0 away from 0, we end up 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.

The final outcome is 38734.75, with a leftover of 0.0.