97140 ÷ 8 = 12142 R4
We're going to perform division on 97140 with 8 as the divisor.

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

Step 2:
8 goes into 17 2 times with a remainder of 1.
Write down 2 as next digit of of the result. 
Result so far: 12
Subtract 16 from 17 to get 1.
Bring next digit (1) of the dividend behind the 1 and repeat the process: 11 / 8

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

Step 4:
8 goes into 34 4 times with a remainder of 2.
Write down 4 as next digit of of the result. 
Result so far: 1214
Subtract 32 from 34 to get 2.
Bring next digit (0) of the dividend behind the 2 and repeat the process: 20 / 8

Step 5:
8 goes into 20 2 times with a remainder of 4.
Write down 2 as next digit of of the result. 
Result so far: 12142
Subtract 16 from 20 to get 4.

The final result is 12142 with a remainder of 4.