In general, inflation is calculated by using
(i) wholesale price index
(ii) consumer price index
(iii) producer's price index
(i) The WPI is widely used to measure the rate of inflation. The weekly inflation rate is given by
Xl−Xl−1Xl−1×100
where Xl and Xl−1) refer to the WPI for the (t) th and (t-1) th weeks.