All you do is take a sample of whatever you need to find the average value of, and calculate its arithmetic mean.