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

Going ahead to step 1:
8 divided by 8 is 1 with a remainder of 0.
Put 1 as the next digit of the answer. 
Result so far: 1.0
If we take 8 away from 8, we end up with 0.
Include the next digit (0) from the dividend after 0, then repeat: 0 / 8

Step 2:
8 can be fit into 0 0 times, resulting in a remainder of 0.
Write down 0 as next digit of the result. 
Result so far: 10.0
Deduct 0 from 0 and we're left with 0.
Append the next digit (5) from the dividend to 0 and continue with: 5 / 8

Step 3:
When dividing 5 by 8, we get 0 with a remainder of 5.
Record the quotient 0 as the next digit in the result. 
Result so far: 100.0
If we take 0 away from 5, we end up with 5.
Take the next digit (8) from the dividend and append it to 5, then repeat: 58 / 8

Going ahead to step 4:
The number 8 fits into 58 7 times, leaving a remainder of 2.
The number 7 becomes the next digit in our result. 
Result so far: 1007.0
If we subtract 56 from 58, we get 2.
Fetch the next digit (1) from the dividend, attach it to 2 and continue: 21 / 8

Moving on to step 5:
The number 8 fits into 21 2 times, leaving a remainder of 5.
Use 2 as the next digit of our solution. 
Result so far: 10072.0
Deduct 16 from 21 and we're left with 5.
Fetch the next digit (7) from the dividend, attach it to 5 and continue: 57 / 8

On to step 6:
When dividing 57 by 8, we get 7 with a remainder of 1.
The number 7 becomes the next digit in our result. 
Result so far: 100727.0
Subtracting 56 from 57 leaves us with 1.
Bring next digit (4) of the dividend behind the 1 and repeat the process: 14 / 8

Step 7:
When dividing 14 by 8, we get 1 with a remainder of 6.
Put 1 as the next digit of the answer. 
Result so far: 1007271.0
If we take 8 away from 14, we end up 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 8:
If we divide 60 by 8, we get 7 and a remainder of 4.
Put 7 as the next digit of the answer. 
Result so far: 1007271.7
If we take 56 away from 60, 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 9:
When dividing 40 by 8, we get 5 with a remainder of 0.
Put 5 as the next digit of the answer. 
Result so far: 1007271.75
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.

Advancing to step 10:
8 can be fit into 0 0 times, resulting in a remainder of 0.
Record the quotient 0 as the next digit in the result. 
Result so far: 1007271.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.

On to step 11:
8 goes into 0 0 times with a remainder of 0.
Write down 0 as next digit of the result. 
Result so far: 1007271.75
Deduct 0 from 0 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.

The final result is 1007271.75 with a remainder of 0.0.