Potential energy can be used to calculate the amount of work done in the process of elastic deformation.