40830394 ÷ 861 
We're looking to find how many times 861 goes into 40830394.

On to step 1:
When dividing 4 by 861, we get 0 with a remainder of 4.
The next digit of our result is 0. 
Result so far: 0.0
If we subtract 0 from 4, we get 4.
Take the next digit (0) from the dividend and append it to 4, then repeat: 40 / 861

Going ahead to step 2:
If we divide 40 by 861, we get 0 and a remainder of 40.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
The remainder is 40 after subtracting 0 from 40.
Bring next digit (8) of the dividend behind the 40 and repeat the process: 408 / 861

On to step 3:
When dividing 408 by 861, we get 0 with a remainder of 408.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
If we take 0 away from 408, we end up with 408.
Take the next digit (3) from the dividend and append it to 408, then repeat: 4083 / 861

Moving on to step 4:
4083 divided by 861 is 4 with a remainder of 639.
The next digit of our result is 4. 
Result so far: 4.0
The remainder is 639 after subtracting 3444 from 4083.
Fetch the next digit (0) from the dividend, attach it to 639 and continue: 6390 / 861

Going ahead to step 5:
When dividing 6390 by 861, we get 7 with a remainder of 363.
Write down 7 as next digit of the result. 
Result so far: 47.0
If we take 6027 away from 6390, we end up with 363.
Bring next digit (3) of the dividend behind the 363 and repeat the process: 3633 / 861

Let's proceed to step 6:
When dividing 3633 by 861, we get 4 with a remainder of 189.
The next digit of our result is 4. 
Result so far: 474.0
Subtract 3444 from 3633 to get 189.
Bring next digit (9) of the dividend behind the 189 and repeat the process: 1899 / 861

On to step 7:
The number 861 fits into 1899 2 times, leaving a remainder of 177.
Record the quotient 2 as the next digit in the result. 
Result so far: 4742.0
Deduct 1722 from 1899 and we're left with 177.
Take the next digit (4) from the dividend and append it to 177, then repeat: 1774 / 861

Step 8:
1774 divided by 861 is 2 with a remainder of 52.
The next digit of our result is 2. 
Result so far: 47422.0
Subtract 1722 from 1774 to get 52.
Since there are no more digits in the dividend, we add a zero to the remainder making it 520, and continue the process.

On to step 9:
The number 861 fits into 520 0 times, leaving a remainder of 520.
The number 0 becomes the next digit in our result. 
Result so far: 47422.0
Deduct 0 from 520 and we're left with 520.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5200, and continue the process.

Step 10:
5200 divided by 861 is 6 with a remainder of 34.
The number 6 becomes the next digit in our result. 
Result so far: 47422.06
Deduct 5166 from 5200 and we're left with 34.
Since there are no more digits in the dividend, we add a zero to the remainder making it 340, and continue the process.

Going ahead to step 11:
340 divided by 861 is 0 with a remainder of 340.
The number 0 becomes the next digit in our result. 
Result so far: 47422.06
Subtract 0 from 340 to get 340.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3400, and continue the process.

Step 12:
The number 861 fits into 3400 3 times, leaving a remainder of 817.
The next digit of our result is 3. 
Result so far: 47422.0603
Subtract 2583 from 3400 to get 817.
Since there are no more digits in the dividend, we add a zero to the remainder making it 8170, and continue the process.

Going ahead to step 13:
8170 divided by 861 is 9 with a remainder of 421.
The next digit of our result is 9. 
Result so far: 47422.06039
The remainder is 421 after subtracting 7749 from 8170.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4210, and continue the process.

Moving on to step 14:
861 goes into 4210 4 times with a remainder of 766.
Put 4 as the next digit of the answer. 
Result so far: 47422.060394
If we take 3444 away from 4210, we end up with 766.
Since there are no more digits in the dividend, we add a zero to the remainder making it 7660, and continue the process.

Going ahead to step 15:
If we divide 7660 by 861, we get 8 and a remainder of 772.
Use 8 as the next digit of our solution. 
Result so far: 47422.0603948
Subtracting 6888 from 7660 leaves us with 772.
Since there are no more digits in the dividend, we add a zero to the remainder making it 7720, and continue the process.

Going ahead to step 16:
If we divide 7720 by 861, we get 8 and a remainder of 832.
Record the quotient 8 as the next digit in the result. 
Result so far: 47422.06039488
Subtracting 6888 from 7720 leaves us with 832.
Since there are no more digits in the dividend, we add a zero to the remainder making it 8320, and continue the process.

The final outcome is 47422.06039488, with a leftover of 8.32e-07.