We're dividing 643220 by 40 
Our goal is to divide 643220 by 40.

Step 1:
The number 40 fits into 6 0 times, leaving a remainder of 6.
Write down 0 as next digit of the result. 
Result so far: 0.0
Deduct 0 from 6 and we're left with 6.
Grab the next digit (4) from the dividend, add it to 6, then carry on: 64 / 40

Let's proceed to step 2:
40 can be fit into 64 1 times, resulting in a remainder of 24.
The number 1 becomes the next digit in our result. 
Result so far: 1.0
If we take 40 away from 64, we end up with 24.
Take the next digit (3) from the dividend and append it to 24, then repeat: 243 / 40

Advancing to step 3:
40 goes into 243 6 times with a remainder of 3.
Put 6 as the next digit of the answer. 
Result so far: 16.0
Subtracting 240 from 243 leaves us with 3.
Grab the next digit (2) from the dividend, add it to 3, then carry on: 32 / 40

Let's proceed to step 4:
The number 40 fits into 32 0 times, leaving a remainder of 32.
Put 0 as the next digit of the answer. 
Result so far: 160.0
If we subtract 0 from 32, we get 32.
Grab the next digit (2) from the dividend, add it to 32, then carry on: 322 / 40

Advancing to step 5:
When dividing 322 by 40, we get 8 with a remainder of 2.
Write down 8 as next digit of the result. 
Result so far: 1608.0
Subtract 320 from 322 to get 2.
Grab the next digit (0) from the dividend, add it to 2, then carry on: 20 / 40

Moving on to step 6:
The number 40 fits into 20 0 times, leaving a remainder of 20.
The next digit of our result is 0. 
Result so far: 16080.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.

Advancing to step 7:
200 divided by 40 is 5 with a remainder of 0.
The next digit of our result is 5. 
Result so far: 16080.5
The remainder is 0 after subtracting 200 from 200.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Step 8:
40 goes into 0 0 times with a remainder of 0.
Put 0 as the next digit of the answer. 
Result so far: 16080.5
The remainder is 0 after subtracting 0 from 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 goes into 0 0 times with a remainder of 0.
Use 0 as the next digit of our solution. 
Result so far: 16080.5
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 16080.5 with a balance of 0.0.