Let's divide 40402508 by 80
We're looking to find how many times 80 goes into 40402508.

Advancing to step 1:
80 goes into 4 0 times with a remainder of 4.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtracting 0 from 4 leaves us with 4.
Grab the next digit (0) from the dividend, add it to 4, then carry on: 40 / 80

Going ahead to step 2:
80 goes into 40 0 times with a remainder of 40.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Subtract 0 from 40 to get 40.
Include the next digit (4) from the dividend after 40, then repeat: 404 / 80

Moving on to step 3:
80 goes into 404 5 times with a remainder of 4.
The next digit of our result is 5. 
Result so far: 5.0
Subtracting 400 from 404 leaves us with 4.
Bring next digit (0) of the dividend behind the 4 and repeat the process: 40 / 80

Moving on to step 4:
The number 80 fits into 40 0 times, leaving a remainder of 40.
Record the quotient 0 as the next digit in the result. 
Result so far: 50.0
Subtract 0 from 40 to get 40.
Fetch the next digit (2) from the dividend, attach it to 40 and continue: 402 / 80

On to step 5:
The number 80 fits into 402 5 times, leaving a remainder of 2.
The next digit of our result is 5. 
Result so far: 505.0
The remainder is 2 after subtracting 400 from 402.
Take the next digit (5) from the dividend and append it to 2, then repeat: 25 / 80

Advancing to step 6:
80 can be fit into 25 0 times, resulting in a remainder of 25.
The number 0 becomes the next digit in our result. 
Result so far: 5050.0
If we take 0 away from 25, we end up with 25.
Take the next digit (0) from the dividend and append it to 25, then repeat: 250 / 80

Moving on to step 7:
When dividing 250 by 80, we get 3 with a remainder of 10.
Put 3 as the next digit of the answer. 
Result so far: 50503.0
The remainder is 10 after subtracting 240 from 250.
Include the next digit (8) from the dividend after 10, then repeat: 108 / 80

Advancing to step 8:
The number 80 fits into 108 1 times, leaving a remainder of 28.
Record the quotient 1 as the next digit in the result. 
Result so far: 505031.0
If we subtract 80 from 108, we get 28.
Since there are no more digits in the dividend, we add a zero to the remainder making it 280, and continue the process.

Going ahead to step 9:
The number 80 fits into 280 3 times, leaving a remainder of 40.
Record the quotient 3 as the next digit in the result. 
Result so far: 505031.3
If we subtract 240 from 280, we get 40.
Since there are no more digits in the dividend, we add a zero to the remainder making it 400, and continue the process.

Advancing to step 10:
80 goes into 400 5 times with a remainder of 0.
The number 5 becomes the next digit in our result. 
Result so far: 505031.35
If we subtract 400 from 400, we get 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

On to step 11:
The number 80 fits into 0 0 times, leaving a remainder of 0.
Use 0 as the next digit of our solution. 
Result so far: 505031.35
Subtract 0 from 0 to get 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Going ahead to step 12:
80 goes into 0 0 times with a remainder of 0.
Write down 0 as next digit of the result. 
Result so far: 505031.35
If we take 0 away from 0, we end up with 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

The quotient of the division is 505031.35, and the remainder is 0.0.