643562 ÷ 40 
We're looking to find how many times 40 goes into 643562.

Step 1:
6 divided by 40 is 0 with a remainder of 6.
The next digit of our result is 0. 
Result so far: 0.0
Subtracting 0 from 6 leaves us with 6.
Fetch the next digit (4) from the dividend, attach it to 6 and continue: 64 / 40

Step 2:
When dividing 64 by 40, we get 1 with a remainder of 24.
Put 1 as the next digit of the answer. 
Result so far: 1.0
Deduct 40 from 64 and we're left with 24.
Include the next digit (3) from the dividend after 24, then repeat: 243 / 40

On to step 3:
243 divided by 40 is 6 with a remainder of 3.
The next digit of our result is 6. 
Result so far: 16.0
If we take 240 away from 243, we end up with 3.
Include the next digit (5) from the dividend after 3, then repeat: 35 / 40

On to step 4:
The number 40 fits into 35 0 times, leaving a remainder of 35.
Write down 0 as next digit of the result. 
Result so far: 160.0
Subtracting 0 from 35 leaves us with 35.
Include the next digit (6) from the dividend after 35, then repeat: 356 / 40

Let's proceed to step 5:
356 divided by 40 is 8 with a remainder of 36.
Write down 8 as next digit of the result. 
Result so far: 1608.0
Subtracting 320 from 356 leaves us with 36.
Take the next digit (2) from the dividend and append it to 36, then repeat: 362 / 40

Let's proceed to step 6:
When dividing 362 by 40, we get 9 with a remainder of 2.
Write down 9 as next digit of the result. 
Result so far: 16089.0
If we take 360 away from 362, we end up 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.

Step 7:
If we divide 20 by 40, we get 0 and a remainder of 20.
Use 0 as the next digit of our solution. 
Result so far: 16089.0
If we take 0 away from 20, we end up with 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Going ahead to step 8:
200 divided by 40 is 5 with a remainder of 0.
Record the quotient 5 as the next digit in the result. 
Result so far: 16089.05
If we take 200 away from 200, 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.

Going ahead to step 9:
40 can be fit into 0 0 times, resulting in a remainder of 0.
The next digit of our result is 0. 
Result so far: 16089.05
Deduct 0 from 0 and we're left 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.

Step 10:
If we divide 0 by 40, we get 0 and a remainder of 0.
Write down 0 as next digit of the result. 
Result so far: 16089.05
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.

In conclusion, the division gives 16089.05 with a balance of 0.0.