40099634 ÷ 476 
We want to divide 40099634 by 476.

Step 1:
476 goes into 4 0 times with a remainder of 4.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtract 0 from 4 to get 4.
Take the next digit (0) from the dividend and append it to 4, then repeat: 40 / 476

On to step 2:
476 can be fit into 40 0 times, resulting in a remainder of 40.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Deduct 0 from 40 and we're left with 40.
Bring next digit (0) of the dividend behind the 40 and repeat the process: 400 / 476

Let's proceed to step 3:
400 divided by 476 is 0 with a remainder of 400.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
If we subtract 0 from 400, we get 400.
Take the next digit (9) from the dividend and append it to 400, then repeat: 4009 / 476

On to step 4:
4009 divided by 476 is 8 with a remainder of 201.
Use 8 as the next digit of our solution. 
Result so far: 8.0
Subtracting 3808 from 4009 leaves us with 201.
Append the next digit (9) from the dividend to 201 and continue with: 2019 / 476

On to step 5:
If we divide 2019 by 476, we get 4 and a remainder of 115.
The next digit of our result is 4. 
Result so far: 84.0
The remainder is 115 after subtracting 1904 from 2019.
Include the next digit (6) from the dividend after 115, then repeat: 1156 / 476

Going ahead to step 6:
1156 divided by 476 is 2 with a remainder of 204.
The number 2 becomes the next digit in our result. 
Result so far: 842.0
Subtract 952 from 1156 to get 204.
Include the next digit (3) from the dividend after 204, then repeat: 2043 / 476

Going ahead to step 7:
When dividing 2043 by 476, we get 4 with a remainder of 139.
Put 4 as the next digit of the answer. 
Result so far: 8424.0
Subtract 1904 from 2043 to get 139.
Grab the next digit (4) from the dividend, add it to 139, then carry on: 1394 / 476

Advancing to step 8:
If we divide 1394 by 476, we get 2 and a remainder of 442.
Use 2 as the next digit of our solution. 
Result so far: 84242.0
Subtracting 952 from 1394 leaves us with 442.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4420, and continue the process.

Advancing to step 9:
476 goes into 4420 9 times with a remainder of 136.
Use 9 as the next digit of our solution. 
Result so far: 84242.9
Deduct 4284 from 4420 and we're left with 136.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1360, and continue the process.

Step 10:
The number 476 fits into 1360 2 times, leaving a remainder of 408.
Record the quotient 2 as the next digit in the result. 
Result so far: 84242.92
The remainder is 408 after subtracting 952 from 1360.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4080, and continue the process.

On to step 11:
If we divide 4080 by 476, we get 8 and a remainder of 272.
Write down 8 as next digit of the result. 
Result so far: 84242.928
Deduct 3808 from 4080 and we're left with 272.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2720, and continue the process.

On to step 12:
476 goes into 2720 5 times with a remainder of 340.
The number 5 becomes the next digit in our result. 
Result so far: 84242.9285
If we take 2380 away from 2720, we end up with 340.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3400, and continue the process.

On to step 13:
The number 476 fits into 3400 7 times, leaving a remainder of 68.
Write down 7 as next digit of the result. 
Result so far: 84242.92857
Deduct 3332 from 3400 and we're left with 68.
Since there are no more digits in the dividend, we add a zero to the remainder making it 680, and continue the process.

Advancing to step 14:
The number 476 fits into 680 1 times, leaving a remainder of 204.
Write down 1 as next digit of the result. 
Result so far: 84242.928571
Deduct 476 from 680 and we're left with 204.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2040, and continue the process.

Step 15:
The number 476 fits into 2040 4 times, leaving a remainder of 136.
Use 4 as the next digit of our solution. 
Result so far: 84242.9285714
If we take 1904 away from 2040, we end up with 136.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1360, and continue the process.

Advancing to step 16:
1360 divided by 476 is 2 with a remainder of 408.
Write down 2 as next digit of the result. 
Result so far: 84242.92857142
The remainder is 408 after subtracting 952 from 1360.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4080, and continue the process.

After the division, we end up with 84242.92857142 and a remainder of 4.08e-07.