Let's divide 518221 by 45
Let's see how many times 45 fits into 518221.

On to step 1:
If we divide 5 by 45, we get 0 and a remainder of 5.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtracting 0 from 5 leaves us with 5.
Grab the next digit (1) from the dividend, add it to 5, then carry on: 51 / 45

Advancing to step 2:
45 can be fit into 51 1 times, resulting in a remainder of 6.
Record the quotient 1 as the next digit in the result. 
Result so far: 1.0
Deduct 45 from 51 and we're left with 6.
Grab the next digit (8) from the dividend, add it to 6, then carry on: 68 / 45

Step 3:
68 divided by 45 is 1 with a remainder of 23.
Record the quotient 1 as the next digit in the result. 
Result so far: 11.0
If we take 45 away from 68, we end up with 23.
Append the next digit (2) from the dividend to 23 and continue with: 232 / 45

Advancing to step 4:
If we divide 232 by 45, we get 5 and a remainder of 7.
Write down 5 as next digit of the result. 
Result so far: 115.0
If we take 225 away from 232, we end up with 7.
Append the next digit (2) from the dividend to 7 and continue with: 72 / 45

Going ahead to step 5:
If we divide 72 by 45, we get 1 and a remainder of 27.
Record the quotient 1 as the next digit in the result. 
Result so far: 1151.0
Subtracting 45 from 72 leaves us with 27.
Take the next digit (1) from the dividend and append it to 27, then repeat: 271 / 45

On to step 6:
45 can be fit into 271 6 times, resulting in a remainder of 1.
The next digit of our result is 6. 
Result so far: 11516.0
Subtract 270 from 271 to get 1.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

Going ahead to step 7:
10 divided by 45 is 0 with a remainder of 10.
The number 0 becomes the next digit in our result. 
Result so far: 11516.0
Subtract 0 from 10 to get 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

On to step 8:
When dividing 100 by 45, we get 2 with a remainder of 10.
Put 2 as the next digit of the answer. 
Result so far: 11516.02
Subtracting 90 from 100 leaves us with 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

Let's proceed to step 9:
The number 45 fits into 100 2 times, leaving a remainder of 10.
Write down 2 as next digit of the result. 
Result so far: 11516.022
If we subtract 90 from 100, we get 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

Our division results in 11516.022 with a remaining 0.001.