We're dividing 40308267 by 295 
We want to divide 40308267 by 295.

Step 1:
If we divide 4 by 295, we get 0 and a remainder of 4.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Subtracting 0 from 4 leaves us with 4.
Append the next digit (0) from the dividend to 4 and continue with: 40 / 295

Going ahead to step 2:
295 goes into 40 0 times with a remainder of 40.
Put 0 as the next digit of the answer. 
Result so far: 0.0
The remainder is 40 after subtracting 0 from 40.
Take the next digit (3) from the dividend and append it to 40, then repeat: 403 / 295

Going ahead to step 3:
The number 295 fits into 403 1 times, leaving a remainder of 108.
Use 1 as the next digit of our solution. 
Result so far: 1.0
If we subtract 295 from 403, we get 108.
Bring next digit (0) of the dividend behind the 108 and repeat the process: 1080 / 295

Moving on to step 4:
When dividing 1080 by 295, we get 3 with a remainder of 195.
Put 3 as the next digit of the answer. 
Result so far: 13.0
If we take 885 away from 1080, we end up with 195.
Include the next digit (8) from the dividend after 195, then repeat: 1958 / 295

Step 5:
1958 divided by 295 is 6 with a remainder of 188.
Put 6 as the next digit of the answer. 
Result so far: 136.0
Subtracting 1770 from 1958 leaves us with 188.
Fetch the next digit (2) from the dividend, attach it to 188 and continue: 1882 / 295

Going ahead to step 6:
295 goes into 1882 6 times with a remainder of 112.
Record the quotient 6 as the next digit in the result. 
Result so far: 1366.0
Deduct 1770 from 1882 and we're left with 112.
Grab the next digit (6) from the dividend, add it to 112, then carry on: 1126 / 295

Moving on to step 7:
295 goes into 1126 3 times with a remainder of 241.
Use 3 as the next digit of our solution. 
Result so far: 13663.0
The remainder is 241 after subtracting 885 from 1126.
Grab the next digit (7) from the dividend, add it to 241, then carry on: 2417 / 295

Going ahead to step 8:
If we divide 2417 by 295, we get 8 and a remainder of 57.
Write down 8 as next digit of the result. 
Result so far: 136638.0
Deduct 2360 from 2417 and we're left with 57.
Since there are no more digits in the dividend, we add a zero to the remainder making it 570, and continue the process.

On to step 9:
570 divided by 295 is 1 with a remainder of 275.
Put 1 as the next digit of the answer. 
Result so far: 136638.1
Subtracting 295 from 570 leaves us with 275.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2750, and continue the process.

Advancing to step 10:
If we divide 2750 by 295, we get 9 and a remainder of 95.
Use 9 as the next digit of our solution. 
Result so far: 136638.19
Subtract 2655 from 2750 to get 95.
Since there are no more digits in the dividend, we add a zero to the remainder making it 950, and continue the process.

On to step 11:
295 goes into 950 3 times with a remainder of 65.
Write down 3 as next digit of the result. 
Result so far: 136638.193
Subtract 885 from 950 to get 65.
Since there are no more digits in the dividend, we add a zero to the remainder making it 650, and continue the process.

Going ahead to step 12:
295 can be fit into 650 2 times, resulting in a remainder of 60.
The next digit of our result is 2. 
Result so far: 136638.1932
The remainder is 60 after subtracting 590 from 650.
Since there are no more digits in the dividend, we add a zero to the remainder making it 600, and continue the process.

On to step 13:
295 goes into 600 2 times with a remainder of 10.
Record the quotient 2 as the next digit in the result. 
Result so far: 136638.19322
If we subtract 590 from 600, we 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.

Our division results in 136638.19322 with a remaining 1e-05.