15:01 Mar 3, 2013
Let me give you an example. Say the daily prices are as follows:
Mo: €1.25 Tue: €1.27 We: €1.25 Thu: €1.26 Fri: €1.24
The arithmetic average would be calculated as follows: (1.25+1.27+1.25+1.26+1.24)/5 = €1.254
There is no "weighted average" as all the daily values have a weight of 1.
But assume, you want to take into account the volume of gas sold on each day. On Mo, you sell 1500 l, on Tue 1300 l, on Wed 1000 l, on Thu 1100 l, Fri 2000 l.
Then you can calculate the weighted avg price as follows: (1500*1.25+1300*1.27+1000*1.25+1100*1.26+2000*1.24)/(1500+1300+1000+1100+2000)*5 = €1.2524
So, the weighted 5-day average price taking into account the volume sold on each day would be €1.2524. The daily prices are weigted as per the volume sold. |