501541 ÷ 38 
We're looking to find how many times 38 goes into 501541.

Advancing to step 1:
38 goes into 5 0 times with a remainder of 5.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we subtract 0 from 5, we get 5.
Take the next digit (0) from the dividend and append it to 5, then repeat: 50 / 38

On to step 2:
If we divide 50 by 38, we get 1 and a remainder of 12.
Put 1 as the next digit of the answer. 
Result so far: 1.0
Deduct 38 from 50 and we're left with 12.
Fetch the next digit (1) from the dividend, attach it to 12 and continue: 121 / 38

Moving on to step 3:
If we divide 121 by 38, we get 3 and a remainder of 7.
Put 3 as the next digit of the answer. 
Result so far: 13.0
Subtract 114 from 121 to get 7.
Include the next digit (5) from the dividend after 7, then repeat: 75 / 38

On to step 4:
38 goes into 75 1 times with a remainder of 37.
Put 1 as the next digit of the answer. 
Result so far: 131.0
If we take 38 away from 75, we end up with 37.
Bring next digit (4) of the dividend behind the 37 and repeat the process: 374 / 38

Advancing to step 5:
374 divided by 38 is 9 with a remainder of 32.
Use 9 as the next digit of our solution. 
Result so far: 1319.0
The remainder is 32 after subtracting 342 from 374.
Grab the next digit (1) from the dividend, add it to 32, then carry on: 321 / 38

Moving on to step 6:
The number 38 fits into 321 8 times, leaving a remainder of 17.
Write down 8 as next digit of the result. 
Result so far: 13198.0
If we take 304 away from 321, we end up with 17.
Since there are no more digits in the dividend, we add a zero to the remainder making it 170, and continue the process.

Moving on to step 7:
If we divide 170 by 38, we get 4 and a remainder of 18.
Put 4 as the next digit of the answer. 
Result so far: 13198.4
If we subtract 152 from 170, we get 18.
Since there are no more digits in the dividend, we add a zero to the remainder making it 180, and continue the process.

Step 8:
180 divided by 38 is 4 with a remainder of 28.
Use 4 as the next digit of our solution. 
Result so far: 13198.44
If we subtract 152 from 180, we get 28.
Since there are no more digits in the dividend, we add a zero to the remainder making it 280, and continue the process.

Our division results in 13198.44 with a remaining 0.028.