40858 ÷ 33 
We want to divide 40858 by 33.

On to step 1:
33 can be fit into 4 0 times, resulting in a remainder of 4.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Deduct 0 from 4 and we're left with 4.
Bring next digit (0) of the dividend behind the 4 and repeat the process: 40 / 33

Advancing to step 2:
If we divide 40 by 33, we get 1 and a remainder of 7.
Write down 1 as next digit of the result. 
Result so far: 1.0
If we take 33 away from 40, we end up with 7.
Fetch the next digit (8) from the dividend, attach it to 7 and continue: 78 / 33

Moving on to step 3:
When dividing 78 by 33, we get 2 with a remainder of 12.
Write down 2 as next digit of the result. 
Result so far: 12.0
If we take 66 away from 78, we end up with 12.
Grab the next digit (5) from the dividend, add it to 12, then carry on: 125 / 33

Moving on to step 4:
When dividing 125 by 33, we get 3 with a remainder of 26.
The number 3 becomes the next digit in our result. 
Result so far: 123.0
Subtract 99 from 125 to get 26.
Fetch the next digit (8) from the dividend, attach it to 26 and continue: 268 / 33

Going ahead to step 5:
The number 33 fits into 268 8 times, leaving a remainder of 4.
The next digit of our result is 8. 
Result so far: 1238.0
Subtracting 264 from 268 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.

Step 6:
40 divided by 33 is 1 with a remainder of 7.
The number 1 becomes the next digit in our result. 
Result so far: 1238.1
Deduct 33 from 40 and we're left 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.

Advancing to step 7:
70 divided by 33 is 2 with a remainder of 4.
The number 2 becomes the next digit in our result. 
Result so far: 1238.12
Subtract 66 from 70 to 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.

Moving on to step 8:
33 can be fit into 40 1 times, resulting in a remainder of 7.
Record the quotient 1 as the next digit in the result. 
Result so far: 1238.121
Deduct 33 from 40 and we're left 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.

Step 9:
The number 33 fits into 70 2 times, leaving a remainder of 4.
The number 2 becomes the next digit in our result. 
Result so far: 1238.1212
If we take 66 away from 70, we end up 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.

On to step 10:
33 goes into 40 1 times with a remainder of 7.
The number 1 becomes the next digit in our result. 
Result so far: 1238.12121
If we subtract 33 from 40, we get 7.
Since there are no more digits in the dividend, we add a zero to the remainder making it 70, and continue the process.

Going ahead to step 11:
When dividing 70 by 33, we get 2 with a remainder of 4.
Put 2 as the next digit of the answer. 
Result so far: 1238.121212
The remainder is 4 after subtracting 66 from 70.
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 33 is 1 with a remainder of 7.
The next digit of our result is 1. 
Result so far: 1238.1212121
The remainder is 7 after subtracting 33 from 40.
Since there are no more digits in the dividend, we add a zero to the remainder making it 70, and continue the process.

On to step 13:
The number 33 fits into 70 2 times, leaving a remainder of 4.
The next digit of our result is 2. 
Result so far: 1238.12121212
If we take 66 away from 70, we end up 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 1238.12121212, with a leftover of 4e-09.