Consider a unit mole of gas contained in a perfectly non-conducting cylinder provided with a non-conducting and frictionless piston.
Let Cv be the specific heat of gas at constant volume.
Let at any instant, when the pressure of gas is P, the gas be compressed by small volume dV.
Then work done on the gas is,
dW = PdV
Total work done on gas to compress from volume V1 to V2 is given by

where,
T1 is the temperature of gas when volume is V1 and T2 when volume is V2.
Thus, work done is given by,

The above expression gives us the amount of work done in adiabatic process.