We're dividing 507940 by 96 
We're looking to find how many times 96 goes into 507940.

On to step 1:
The number 96 fits into 5 0 times, leaving a remainder of 5.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
The remainder is 5 after subtracting 0 from 5.
Append the next digit (0) from the dividend to 5 and continue with: 50 / 96

Let's proceed to step 2:
When dividing 50 by 96, we get 0 with a remainder of 50.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we subtract 0 from 50, we get 50.
Grab the next digit (7) from the dividend, add it to 50, then carry on: 507 / 96

Step 3:
96 goes into 507 5 times with a remainder of 27.
Put 5 as the next digit of the answer. 
Result so far: 5.0
The remainder is 27 after subtracting 480 from 507.
Include the next digit (9) from the dividend after 27, then repeat: 279 / 96

Let's proceed to step 4:
The number 96 fits into 279 2 times, leaving a remainder of 87.
Use 2 as the next digit of our solution. 
Result so far: 52.0
Subtract 192 from 279 to get 87.
Include the next digit (4) from the dividend after 87, then repeat: 874 / 96

Let's proceed to step 5:
96 goes into 874 9 times with a remainder of 10.
Write down 9 as next digit of the result. 
Result so far: 529.0
The remainder is 10 after subtracting 864 from 874.
Include the next digit (0) from the dividend after 10, then repeat: 100 / 96

Going ahead to step 6:
96 goes into 100 1 times with a remainder of 4.
Use 1 as the next digit of our solution. 
Result so far: 5291.0
Subtracting 96 from 100 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.

On to step 7:
The number 96 fits into 40 0 times, leaving a remainder of 40.
The number 0 becomes the next digit in our result. 
Result so far: 5291.0
Subtract 0 from 40 to get 40.
Since there are no more digits in the dividend, we add a zero to the remainder making it 400, and continue the process.

Moving on to step 8:
The number 96 fits into 400 4 times, leaving a remainder of 16.
Write down 4 as next digit of the result. 
Result so far: 5291.04
Subtracting 384 from 400 leaves us with 16.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

Advancing to step 9:
160 divided by 96 is 1 with a remainder of 64.
Put 1 as the next digit of the answer. 
Result so far: 5291.041
If we subtract 96 from 160, we get 64.
Since there are no more digits in the dividend, we add a zero to the remainder making it 640, and continue the process.

Advancing to step 10:
640 divided by 96 is 6 with a remainder of 64.
The number 6 becomes the next digit in our result. 
Result so far: 5291.0416
Deduct 576 from 640 and we're left with 64.
Since there are no more digits in the dividend, we add a zero to the remainder making it 640, and continue the process.

Moving on to step 11:
640 divided by 96 is 6 with a remainder of 64.
The next digit of our result is 6. 
Result so far: 5291.04166
If we take 576 away from 640, we end up with 64.
Since there are no more digits in the dividend, we add a zero to the remainder making it 640, and continue the process.

The quotient of the division is 5291.04166, and the remainder is 6.4e-05.