56858 ÷ 9 = 6317 R5
We're going to perform division on 56858 with 9 as the divisor.

Step 1:
9 goes into 5 0 times with a remainder of 5.
Write down 0 as next digit of of the result. 
Result so far: 0
Subtract 0 from 5 to get 5.
Bring next digit (6) of the dividend behind the 5 and repeat the process: 56 / 9

Step 2:
9 goes into 56 6 times with a remainder of 2.
Write down 6 as next digit of of the result. 
Result so far: 6
Subtract 54 from 56 to get 2.
Bring next digit (8) of the dividend behind the 2 and repeat the process: 28 / 9

Step 3:
9 goes into 28 3 times with a remainder of 1.
Write down 3 as next digit of of the result. 
Result so far: 63
Subtract 27 from 28 to get 1.
Bring next digit (5) of the dividend behind the 1 and repeat the process: 15 / 9

Step 4:
9 goes into 15 1 times with a remainder of 6.
Write down 1 as next digit of of the result. 
Result so far: 631
Subtract 9 from 15 to get 6.
Bring next digit (8) of the dividend behind the 6 and repeat the process: 68 / 9

Step 5:
9 goes into 68 7 times with a remainder of 5.
Write down 7 as next digit of of the result. 
Result so far: 6317
Subtract 63 from 68 to get 5.

The final result is 6317 with a remainder of 5.