The amount of work done depends on
Both force and displacement
displacement
The amount of work done depends on both force applied and displacement produced in the direction of the force applied. Hence, it is given by the mathematical expression W=F×S.