Let's divide 594411 by 40
Let's see how many times 40 fits into 594411.

Going ahead to step 1:
40 goes into 5 0 times with a remainder of 5.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we subtract 0 from 5, we get 5.
Grab the next digit (9) from the dividend, add it to 5, then carry on: 59 / 40

Going ahead to step 2:
40 can be fit into 59 1 times, resulting in a remainder of 19.
Record the quotient 1 as the next digit in the result. 
Result so far: 1.0
The remainder is 19 after subtracting 40 from 59.
Include the next digit (4) from the dividend after 19, then repeat: 194 / 40

Let's proceed to step 3:
194 divided by 40 is 4 with a remainder of 34.
The number 4 becomes the next digit in our result. 
Result so far: 14.0
If we take 160 away from 194, we end up with 34.
Append the next digit (4) from the dividend to 34 and continue with: 344 / 40

Let's proceed to step 4:
40 goes into 344 8 times with a remainder of 24.
Write down 8 as next digit of the result. 
Result so far: 148.0
Deduct 320 from 344 and we're left with 24.
Take the next digit (1) from the dividend and append it to 24, then repeat: 241 / 40

Moving on to step 5:
When dividing 241 by 40, we get 6 with a remainder of 1.
Put 6 as the next digit of the answer. 
Result so far: 1486.0
Subtracting 240 from 241 leaves us with 1.
Append the next digit (1) from the dividend to 1 and continue with: 11 / 40

On to step 6:
11 divided by 40 is 0 with a remainder of 11.
Write down 0 as next digit of the result. 
Result so far: 14860.0
If we subtract 0 from 11, we get 11.
Since there are no more digits in the dividend, we add a zero to the remainder making it 110, and continue the process.

Let's proceed to step 7:
The number 40 fits into 110 2 times, leaving a remainder of 30.
Write down 2 as next digit of the result. 
Result so far: 14860.2
If we subtract 80 from 110, we get 30.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

Moving on to step 8:
40 can be fit into 300 7 times, resulting in a remainder of 20.
The next digit of our result is 7. 
Result so far: 14860.27
If we take 280 away from 300, 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.

Step 9:
40 can be fit into 200 5 times, resulting in a remainder of 0.
Use 5 as the next digit of our solution. 
Result so far: 14860.275
Subtracting 200 from 200 leaves us 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:
When dividing 0 by 40, we get 0 with a remainder of 0.
Record the quotient 0 as the next digit in the result. 
Result so far: 14860.275
Subtracting 0 from 0 leaves us 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.

Moving on to step 11:
When dividing 0 by 40, we get 0 with a remainder of 0.
Put 0 as the next digit of the answer. 
Result so far: 14860.275
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.

After the division, we end up with 14860.275 and a remainder of 0.0.