We're dividing 166684 by 27 
We're looking to find how many times 27 goes into 166684.

Let's proceed to step 1:
If we divide 1 by 27, we get 0 and a remainder of 1.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
If we take 0 away from 1, we end up with 1.
Bring next digit (6) of the dividend behind the 1 and repeat the process: 16 / 27

Step 2:
When dividing 16 by 27, we get 0 with a remainder of 16.
The next digit of our result is 0. 
Result so far: 0.0
Deduct 0 from 16 and we're left with 16.
Grab the next digit (6) from the dividend, add it to 16, then carry on: 166 / 27

On to step 3:
166 divided by 27 is 6 with a remainder of 4.
Write down 6 as next digit of the result. 
Result so far: 6.0
The remainder is 4 after subtracting 162 from 166.
Grab the next digit (6) from the dividend, add it to 4, then carry on: 46 / 27

Let's proceed to step 4:
The number 27 fits into 46 1 times, leaving a remainder of 19.
The next digit of our result is 1. 
Result so far: 61.0
The remainder is 19 after subtracting 27 from 46.
Include the next digit (8) from the dividend after 19, then repeat: 198 / 27

Advancing to step 5:
27 goes into 198 7 times with a remainder of 9.
Use 7 as the next digit of our solution. 
Result so far: 617.0
Subtracting 189 from 198 leaves us with 9.
Append the next digit (4) from the dividend to 9 and continue with: 94 / 27

Let's proceed to step 6:
The number 27 fits into 94 3 times, leaving a remainder of 13.
Put 3 as the next digit of the answer. 
Result so far: 6173.0
If we take 81 away from 94, we end up with 13.
Since there are no more digits in the dividend, we add a zero to the remainder making it 130, and continue the process.

Advancing to step 7:
27 goes into 130 4 times with a remainder of 22.
The next digit of our result is 4. 
Result so far: 6173.4
If we subtract 108 from 130, we get 22.
Since there are no more digits in the dividend, we add a zero to the remainder making it 220, and continue the process.

Advancing to step 8:
27 goes into 220 8 times with a remainder of 4.
Use 8 as the next digit of our solution. 
Result so far: 6173.48
Deduct 216 from 220 and we're left with 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Going ahead to step 9:
40 divided by 27 is 1 with a remainder of 13.
Use 1 as the next digit of our solution. 
Result so far: 6173.481
Subtracting 27 from 40 leaves us with 13.
Since there are no more digits in the dividend, we add a zero to the remainder making it 130, and continue the process.

Advancing to step 10:
If we divide 130 by 27, we get 4 and a remainder of 22.
The number 4 becomes the next digit in our result. 
Result so far: 6173.4814
Subtracting 108 from 130 leaves us with 22.
Since there are no more digits in the dividend, we add a zero to the remainder making it 220, and continue the process.

On to step 11:
27 can be fit into 220 8 times, resulting in a remainder of 4.
Put 8 as the next digit of the answer. 
Result so far: 6173.48148
If we subtract 216 from 220, we get 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

On to step 12:
40 divided by 27 is 1 with a remainder of 13.
Write down 1 as next digit of the result. 
Result so far: 6173.481481
Subtracting 27 from 40 leaves us with 13.
Since there are no more digits in the dividend, we add a zero to the remainder making it 130, and continue the process.

Going ahead to step 13:
130 divided by 27 is 4 with a remainder of 22.
The number 4 becomes the next digit in our result. 
Result so far: 6173.4814814
Subtracting 108 from 130 leaves us with 22.
Since there are no more digits in the dividend, we add a zero to the remainder making it 220, and continue the process.

Going ahead to step 14:
The number 27 fits into 220 8 times, leaving a remainder of 4.
Write down 8 as next digit of the result. 
Result so far: 6173.48148148
Subtracting 216 from 220 leaves us with 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

The final outcome is 6173.48148148, with a leftover of 4e-09.