400107 ÷ 58 
We want to divide 400107 by 58.

Let's proceed to step 1:
The number 58 fits into 4 0 times, leaving a remainder of 4.
Put 0 as the next digit of the answer. 
Result so far: 0.0
The remainder is 4 after subtracting 0 from 4.
Append the next digit (0) from the dividend to 4 and continue with: 40 / 58

Going ahead to step 2:
40 divided by 58 is 0 with a remainder of 40.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we subtract 0 from 40, we get 40.
Include the next digit (0) from the dividend after 40, then repeat: 400 / 58

On to step 3:
58 goes into 400 6 times with a remainder of 52.
Record the quotient 6 as the next digit in the result. 
Result so far: 6.0
Subtracting 348 from 400 leaves us with 52.
Take the next digit (1) from the dividend and append it to 52, then repeat: 521 / 58

Moving on to step 4:
When dividing 521 by 58, we get 8 with a remainder of 57.
Record the quotient 8 as the next digit in the result. 
Result so far: 68.0
Subtracting 464 from 521 leaves us with 57.
Bring next digit (0) of the dividend behind the 57 and repeat the process: 570 / 58

On to step 5:
If we divide 570 by 58, we get 9 and a remainder of 48.
Write down 9 as next digit of the result. 
Result so far: 689.0
Subtracting 522 from 570 leaves us with 48.
Bring next digit (7) of the dividend behind the 48 and repeat the process: 487 / 58

Going ahead to step 6:
The number 58 fits into 487 8 times, leaving a remainder of 23.
Record the quotient 8 as the next digit in the result. 
Result so far: 6898.0
The remainder is 23 after subtracting 464 from 487.
Since there are no more digits in the dividend, we add a zero to the remainder making it 230, and continue the process.

On to step 7:
230 divided by 58 is 3 with a remainder of 56.
Write down 3 as next digit of the result. 
Result so far: 6898.3
Subtract 174 from 230 to get 56.
Since there are no more digits in the dividend, we add a zero to the remainder making it 560, and continue the process.

Going ahead to step 8:
When dividing 560 by 58, we get 9 with a remainder of 38.
The number 9 becomes the next digit in our result. 
Result so far: 6898.39
Deduct 522 from 560 and we're left with 38.
Since there are no more digits in the dividend, we add a zero to the remainder making it 380, and continue the process.

Moving on to step 9:
380 divided by 58 is 6 with a remainder of 32.
Write down 6 as next digit of the result. 
Result so far: 6898.396
The remainder is 32 after subtracting 348 from 380.
Since there are no more digits in the dividend, we add a zero to the remainder making it 320, and continue the process.

Going ahead to step 10:
58 can be fit into 320 5 times, resulting in a remainder of 30.
Use 5 as the next digit of our solution. 
Result so far: 6898.3965
Subtract 290 from 320 to get 30.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

Advancing to step 11:
The number 58 fits into 300 5 times, leaving a remainder of 10.
The number 5 becomes the next digit in our result. 
Result so far: 6898.39655
Subtract 290 from 300 to get 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

The quotient of the division is 6898.39655, and the remainder is 1e-05.