When an elastic material with Young's modulus Y is subjected to stretching stress S the elastic energy stored per unit volume of the material is:
strain energy per unit volume = ½ (stress)(strain)