40518305 ÷ 498 
We want to divide 40518305 by 498.

Step 1:
When dividing 4 by 498, we get 0 with a remainder of 4.
The next digit of our result is 0. 
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 / 498

Advancing to step 2:
The number 498 fits into 40 0 times, leaving a remainder of 40.
The next digit of our result is 0. 
Result so far: 0.0
Subtracting 0 from 40 leaves us with 40.
Grab the next digit (5) from the dividend, add it to 40, then carry on: 405 / 498

Going ahead to step 3:
405 divided by 498 is 0 with a remainder of 405.
The next digit of our result is 0. 
Result so far: 0.0
The remainder is 405 after subtracting 0 from 405.
Include the next digit (1) from the dividend after 405, then repeat: 4051 / 498

Advancing to step 4:
The number 498 fits into 4051 8 times, leaving a remainder of 67.
Put 8 as the next digit of the answer. 
Result so far: 8.0
Subtract 3984 from 4051 to get 67.
Grab the next digit (8) from the dividend, add it to 67, then carry on: 678 / 498

Going ahead to step 5:
498 goes into 678 1 times with a remainder of 180.
The next digit of our result is 1. 
Result so far: 81.0
If we take 498 away from 678, we end up with 180.
Bring next digit (3) of the dividend behind the 180 and repeat the process: 1803 / 498

Going ahead to step 6:
When dividing 1803 by 498, we get 3 with a remainder of 309.
The next digit of our result is 3. 
Result so far: 813.0
Subtracting 1494 from 1803 leaves us with 309.
Take the next digit (0) from the dividend and append it to 309, then repeat: 3090 / 498

On to step 7:
If we divide 3090 by 498, we get 6 and a remainder of 102.
Write down 6 as next digit of the result. 
Result so far: 8136.0
If we subtract 2988 from 3090, we get 102.
Take the next digit (5) from the dividend and append it to 102, then repeat: 1025 / 498

Moving on to step 8:
If we divide 1025 by 498, we get 2 and a remainder of 29.
Put 2 as the next digit of the answer. 
Result so far: 81362.0
Subtracting 996 from 1025 leaves us with 29.
Since there are no more digits in the dividend, we add a zero to the remainder making it 290, and continue the process.

Moving on to step 9:
When dividing 290 by 498, we get 0 with a remainder of 290.
Put 0 as the next digit of the answer. 
Result so far: 81362.0
Deduct 0 from 290 and we're left with 290.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2900, and continue the process.

Step 10:
498 can be fit into 2900 5 times, resulting in a remainder of 410.
Put 5 as the next digit of the answer. 
Result so far: 81362.05
The remainder is 410 after subtracting 2490 from 2900.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4100, and continue the process.

Going ahead to step 11:
If we divide 4100 by 498, we get 8 and a remainder of 116.
Use 8 as the next digit of our solution. 
Result so far: 81362.058
If we take 3984 away from 4100, we end up with 116.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1160, and continue the process.

Going ahead to step 12:
1160 divided by 498 is 2 with a remainder of 164.
Put 2 as the next digit of the answer. 
Result so far: 81362.0582
The remainder is 164 after subtracting 996 from 1160.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1640, and continue the process.

Step 13:
If we divide 1640 by 498, we get 3 and a remainder of 146.
The number 3 becomes the next digit in our result. 
Result so far: 81362.05823
If we take 1494 away from 1640, we end up with 146.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1460, and continue the process.

Going ahead to step 14:
The number 498 fits into 1460 2 times, leaving a remainder of 464.
Put 2 as the next digit of the answer. 
Result so far: 81362.058232
Subtracting 996 from 1460 leaves us with 464.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4640, and continue the process.

Going ahead to step 15:
4640 divided by 498 is 9 with a remainder of 158.
The number 9 becomes the next digit in our result. 
Result so far: 81362.0582329
Subtract 4482 from 4640 to get 158.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1580, and continue the process.

Advancing to step 16:
If we divide 1580 by 498, we get 3 and a remainder of 86.
Put 3 as the next digit of the answer. 
Result so far: 81362.05823293
If we subtract 1494 from 1580, we get 86.
Since there are no more digits in the dividend, we add a zero to the remainder making it 860, and continue the process.

Our division results in 81362.05823293 with a remaining 8.6e-08.