Let's divide 12622267 by 407
We want to divide 12622267 by 407.

Let's proceed to step 1:
If we divide 1 by 407, we get 0 and a remainder of 1.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtracting 0 from 1 leaves us with 1.
Grab the next digit (2) from the dividend, add it to 1, then carry on: 12 / 407

On to step 2:
407 can be fit into 12 0 times, resulting in a remainder of 12.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
If we take 0 away from 12, we end up with 12.
Include the next digit (6) from the dividend after 12, then repeat: 126 / 407

Advancing to step 3:
407 goes into 126 0 times with a remainder of 126.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Subtract 0 from 126 to get 126.
Take the next digit (2) from the dividend and append it to 126, then repeat: 1262 / 407

Step 4:
407 can be fit into 1262 3 times, resulting in a remainder of 41.
The next digit of our result is 3. 
Result so far: 3.0
If we take 1221 away from 1262, we end up with 41.
Append the next digit (2) from the dividend to 41 and continue with: 412 / 407

Advancing to step 5:
412 divided by 407 is 1 with a remainder of 5.
Use 1 as the next digit of our solution. 
Result so far: 31.0
If we take 407 away from 412, we end up with 5.
Append the next digit (2) from the dividend to 5 and continue with: 52 / 407

Advancing to step 6:
When dividing 52 by 407, we get 0 with a remainder of 52.
Write down 0 as next digit of the result. 
Result so far: 310.0
If we subtract 0 from 52, we get 52.
Bring next digit (6) of the dividend behind the 52 and repeat the process: 526 / 407

Step 7:
If we divide 526 by 407, we get 1 and a remainder of 119.
Write down 1 as next digit of the result. 
Result so far: 3101.0
If we subtract 407 from 526, we get 119.
Bring next digit (7) of the dividend behind the 119 and repeat the process: 1197 / 407

Going ahead to step 8:
1197 divided by 407 is 2 with a remainder of 383.
Record the quotient 2 as the next digit in the result. 
Result so far: 31012.0
Subtract 814 from 1197 to get 383.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3830, and continue the process.

On to step 9:
When dividing 3830 by 407, we get 9 with a remainder of 167.
Record the quotient 9 as the next digit in the result. 
Result so far: 31012.9
Deduct 3663 from 3830 and we're left with 167.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1670, and continue the process.

Advancing to step 10:
If we divide 1670 by 407, we get 4 and a remainder of 42.
Record the quotient 4 as the next digit in the result. 
Result so far: 31012.94
Subtract 1628 from 1670 to get 42.
Since there are no more digits in the dividend, we add a zero to the remainder making it 420, and continue the process.

On to step 11:
When dividing 420 by 407, we get 1 with a remainder of 13.
Use 1 as the next digit of our solution. 
Result so far: 31012.941
The remainder is 13 after subtracting 407 from 420.
Since there are no more digits in the dividend, we add a zero to the remainder making it 130, and continue the process.

Let's proceed to step 12:
407 can be fit into 130 0 times, resulting in a remainder of 130.
The next digit of our result is 0. 
Result so far: 31012.941
Subtract 0 from 130 to get 130.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1300, and continue the process.

Going ahead to step 13:
If we divide 1300 by 407, we get 3 and a remainder of 79.
Record the quotient 3 as the next digit in the result. 
Result so far: 31012.94103
If we subtract 1221 from 1300, we get 79.
Since there are no more digits in the dividend, we add a zero to the remainder making it 790, and continue the process.

On to step 14:
407 can be fit into 790 1 times, resulting in a remainder of 383.
Use 1 as the next digit of our solution. 
Result so far: 31012.941031
If we subtract 407 from 790, we get 383.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3830, and continue the process.

Going ahead to step 15:
If we divide 3830 by 407, we get 9 and a remainder of 167.
The number 9 becomes the next digit in our result. 
Result so far: 31012.9410319
If we subtract 3663 from 3830, we get 167.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1670, and continue the process.

Advancing to step 16:
407 can be fit into 1670 4 times, resulting in a remainder of 42.
Put 4 as the next digit of the answer. 
Result so far: 31012.94103194
If we subtract 1628 from 1670, we get 42.
Since there are no more digits in the dividend, we add a zero to the remainder making it 420, and continue the process.

After the division, we end up with 31012.94103194 and a remainder of 4.2e-08.