Let's divide 164218 by 13
We want to divide 164218 by 13.

On to step 1:
1 divided by 13 is 0 with a remainder of 1.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtract 0 from 1 to get 1.
Fetch the next digit (6) from the dividend, attach it to 1 and continue: 16 / 13

Going ahead to step 2:
13 can be fit into 16 1 times, resulting in a remainder of 3.
The number 1 becomes the next digit in our result. 
Result so far: 1.0
If we take 13 away from 16, we end up with 3.
Append the next digit (4) from the dividend to 3 and continue with: 34 / 13

Moving on to step 3:
The number 13 fits into 34 2 times, leaving a remainder of 8.
Use 2 as the next digit of our solution. 
Result so far: 12.0
If we subtract 26 from 34, we get 8.
Append the next digit (2) from the dividend to 8 and continue with: 82 / 13

Going ahead to step 4:
The number 13 fits into 82 6 times, leaving a remainder of 4.
The next digit of our result is 6. 
Result so far: 126.0
If we take 78 away from 82, we end up with 4.
Bring next digit (1) of the dividend behind the 4 and repeat the process: 41 / 13

Advancing to step 5:
13 can be fit into 41 3 times, resulting in a remainder of 2.
Put 3 as the next digit of the answer. 
Result so far: 1263.0
Deduct 39 from 41 and we're left with 2.
Bring next digit (8) of the dividend behind the 2 and repeat the process: 28 / 13

Step 6:
The number 13 fits into 28 2 times, leaving a remainder of 2.
The number 2 becomes the next digit in our result. 
Result so far: 12632.0
If we subtract 26 from 28, we get 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:
13 can be fit into 20 1 times, resulting in a remainder of 7.
Put 1 as the next digit of the answer. 
Result so far: 12632.1
Subtracting 13 from 20 leaves us with 7.
Since there are no more digits in the dividend, we add a zero to the remainder making it 70, and continue the process.

Moving on to step 8:
13 goes into 70 5 times with a remainder of 5.
Write down 5 as next digit of the result. 
Result so far: 12632.15
Subtracting 65 from 70 leaves us with 5.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

Advancing to step 9:
If we divide 50 by 13, we get 3 and a remainder of 11.
The next digit of our result is 3. 
Result so far: 12632.153
If we subtract 39 from 50, 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.

Step 10:
When dividing 110 by 13, we get 8 with a remainder of 6.
Use 8 as the next digit of our solution. 
Result so far: 12632.1538
If we take 104 away from 110, we end up with 6.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

On to step 11:
13 can be fit into 60 4 times, resulting in a remainder of 8.
Write down 4 as next digit of the result. 
Result so far: 12632.15384
Deduct 52 from 60 and we're left with 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Let's proceed to step 12:
80 divided by 13 is 6 with a remainder of 2.
Put 6 as the next digit of the answer. 
Result so far: 12632.153846
Deduct 78 from 80 and we're left 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.

Going ahead to step 13:
The number 13 fits into 20 1 times, leaving a remainder of 7.
Use 1 as the next digit of our solution. 
Result so far: 12632.1538461
Subtracting 13 from 20 leaves us with 7.
Since there are no more digits in the dividend, we add a zero to the remainder making it 70, and continue the process.

Moving on to step 14:
70 divided by 13 is 5 with a remainder of 5.
Put 5 as the next digit of the answer. 
Result so far: 12632.15384615
If we subtract 65 from 70, we get 5.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

Our division results in 12632.15384615 with a remaining 5e-09.