40815201 ÷ 502 
We want to divide 40815201 by 502.

Advancing to step 1:
If we divide 4 by 502, we get 0 and a remainder of 4.
The next digit of our result is 0. 
Result so far: 0.0
Deduct 0 from 4 and we're left with 4.
Grab the next digit (0) from the dividend, add it to 4, then carry on: 40 / 502

Going ahead to step 2:
502 can be fit into 40 0 times, resulting in a remainder of 40.
The next digit of our result is 0. 
Result so far: 0.0
If we take 0 away from 40, we end up with 40.
Take the next digit (8) from the dividend and append it to 40, then repeat: 408 / 502

Going ahead to step 3:
If we divide 408 by 502, we get 0 and a remainder of 408.
The next digit of our result is 0. 
Result so far: 0.0
If we subtract 0 from 408, we get 408.
Grab the next digit (1) from the dividend, add it to 408, then carry on: 4081 / 502

Moving on to step 4:
502 goes into 4081 8 times with a remainder of 65.
Use 8 as the next digit of our solution. 
Result so far: 8.0
Subtracting 4016 from 4081 leaves us with 65.
Fetch the next digit (5) from the dividend, attach it to 65 and continue: 655 / 502

Step 5:
When dividing 655 by 502, we get 1 with a remainder of 153.
Put 1 as the next digit of the answer. 
Result so far: 81.0
Subtract 502 from 655 to get 153.
Take the next digit (2) from the dividend and append it to 153, then repeat: 1532 / 502

Going ahead to step 6:
502 goes into 1532 3 times with a remainder of 26.
Record the quotient 3 as the next digit in the result. 
Result so far: 813.0
The remainder is 26 after subtracting 1506 from 1532.
Take the next digit (0) from the dividend and append it to 26, then repeat: 260 / 502

Going ahead to step 7:
The number 502 fits into 260 0 times, leaving a remainder of 260.
Put 0 as the next digit of the answer. 
Result so far: 8130.0
Subtracting 0 from 260 leaves us with 260.
Fetch the next digit (1) from the dividend, attach it to 260 and continue: 2601 / 502

Step 8:
The number 502 fits into 2601 5 times, leaving a remainder of 91.
Use 5 as the next digit of our solution. 
Result so far: 81305.0
Subtracting 2510 from 2601 leaves us with 91.
Since there are no more digits in the dividend, we add a zero to the remainder making it 910, and continue the process.

Advancing to step 9:
If we divide 910 by 502, we get 1 and a remainder of 408.
The number 1 becomes the next digit in our result. 
Result so far: 81305.1
Subtracting 502 from 910 leaves us with 408.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4080, and continue the process.

Step 10:
502 can be fit into 4080 8 times, resulting in a remainder of 64.
The number 8 becomes the next digit in our result. 
Result so far: 81305.18
If we take 4016 away from 4080, we end up with 64.
Since there are no more digits in the dividend, we add a zero to the remainder making it 640, and continue the process.

Moving on to step 11:
When dividing 640 by 502, we get 1 with a remainder of 138.
Use 1 as the next digit of our solution. 
Result so far: 81305.181
If we take 502 away from 640, we end up with 138.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1380, and continue the process.

On to step 12:
The number 502 fits into 1380 2 times, leaving a remainder of 376.
Write down 2 as next digit of the result. 
Result so far: 81305.1812
If we subtract 1004 from 1380, we get 376.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3760, and continue the process.

Moving on to step 13:
502 can be fit into 3760 7 times, resulting in a remainder of 246.
The number 7 becomes the next digit in our result. 
Result so far: 81305.18127
Subtracting 3514 from 3760 leaves us with 246.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2460, and continue the process.

Going ahead to step 14:
2460 divided by 502 is 4 with a remainder of 452.
Write down 4 as next digit of the result. 
Result so far: 81305.181274
The remainder is 452 after subtracting 2008 from 2460.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4520, and continue the process.

On to step 15:
If we divide 4520 by 502, we get 9 and a remainder of 2.
The number 9 becomes the next digit in our result. 
Result so far: 81305.1812749
Subtracting 4518 from 4520 leaves us with 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Advancing to step 16:
The number 502 fits into 20 0 times, leaving a remainder of 20.
The next digit of our result is 0. 
Result so far: 81305.1812749
If we subtract 0 from 20, we get 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

The quotient of the division is 81305.1812749, and the remainder is 2e-08.