Let's divide 594581 by 5
We want to divide 594581 by 5.

Step 1:
The number 5 fits into 5 1 times, leaving a remainder of 0.
Record the quotient 1 as the next digit in the result. 
Result so far: 1.0
Subtract 5 from 5 to get 0.
Grab the next digit (9) from the dividend, add it to 0, then carry on: 9 / 5

Step 2:
5 goes into 9 1 times with a remainder of 4.
The next digit of our result is 1. 
Result so far: 11.0
If we subtract 5 from 9, we get 4.
Bring next digit (4) of the dividend behind the 4 and repeat the process: 44 / 5

Let's proceed to step 3:
44 divided by 5 is 8 with a remainder of 4.
Use 8 as the next digit of our solution. 
Result so far: 118.0
Subtract 40 from 44 to get 4.
Fetch the next digit (5) from the dividend, attach it to 4 and continue: 45 / 5

On to step 4:
If we divide 45 by 5, we get 9 and a remainder of 0.
The number 9 becomes the next digit in our result. 
Result so far: 1189.0
If we subtract 45 from 45, we get 0.
Include the next digit (8) from the dividend after 0, then repeat: 8 / 5

Moving on to step 5:
8 divided by 5 is 1 with a remainder of 3.
The next digit of our result is 1. 
Result so far: 11891.0
If we take 5 away from 8, we end up with 3.
Take the next digit (1) from the dividend and append it to 3, then repeat: 31 / 5

Step 6:
31 divided by 5 is 6 with a remainder of 1.
The number 6 becomes the next digit in our result. 
Result so far: 118916.0
The remainder is 1 after subtracting 30 from 31.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

Going ahead to step 7:
If we divide 10 by 5, we get 2 and a remainder of 0.
Write down 2 as next digit of the result. 
Result so far: 118916.2
Subtract 10 from 10 to get 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Moving on to step 8:
When dividing 0 by 5, we get 0 with a remainder of 0.
Put 0 as the next digit of the answer. 
Result so far: 118916.2
The remainder is 0 after subtracting 0 from 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Going ahead to step 9:
If we divide 0 by 5, we get 0 and a remainder of 0.
Use 0 as the next digit of our solution. 
Result so far: 118916.2
If we take 0 away from 0, we end up with 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

After the division, we end up with 118916.2 and a remainder of 0.0.