Stock value difference

How is stock value difference value calculated?