Calculate price increases and the erosion of purchasing power in ₹
Price Inflation Rate (%)
Purchasing Power Impact
Understanding Inflation in the Indian Economy
In India, inflation is a critical economic indicator that measures the rate at which the general level of prices for goods and services is rising. As inflation rises, every Rupee (₹) you own buys a smaller percentage of a good or service. This effectively represents a decrease in the purchasing power of money.
The Consumer Price Index (CPI) vs WPI
The Reserve Bank of India (RBI) primarily monitors the Consumer Price Index (CPI) to manage monetary policy. While the Wholesale Price Index (WPI) tracks prices at the factory gate, CPI reflects the actual prices paid by Indian households for essential items like food, fuel, housing, and healthcare.
How the Inflation Rate is Calculated
The formula for calculating the inflation rate between two periods is:
Inflation Rate = ((Current Price – Past Price) / Past Price) x 100
Example: Milk Prices in India
If a liter of milk cost ₹40 in 2018 and has risen to ₹60 in 2024, the total inflation for that specific item is calculated as follows:
Calculation: ((60 – 40) / 40) x 100 = 50%
Interpretation: The price of milk has increased by 50% over the 6-year period, representing an average annual inflation rate of roughly 7%.
Why Should You Use an Inflation Calculator?
Tracking the inflation rate in India is vital for several reasons:
Retirement Planning: ₹1 Lakh today will not have the same value 20 years from now. If inflation averages 6%, you will need approximately ₹3.2 Lakhs in 20 years to buy what ₹1 Lakh buys today.
Investment Returns: To grow your wealth, your investments (FDs, Mutual Funds, Gold) must provide a return higher than the prevailing inflation rate. This is known as the "Real Rate of Return."
Salary Negotiations: If your annual increment is 5% but the CPI inflation is 7%, your real income has actually decreased.
function calculateInflationRate() {
var past = parseFloat(document.getElementById("pastPrice").value);
var current = parseFloat(document.getElementById("currentPrice").value);
var display = document.getElementById("rateResult");
if (isNaN(past) || isNaN(current) || past <= 0) {
display.style.display = "block";
display.style.backgroundColor = "#fff3f3";
display.innerHTML = "Please enter valid positive price values.";
return;
}
var rate = ((current – past) / past) * 100;
var difference = current – past;
display.style.display = "block";
display.style.backgroundColor = "#f0f7ff";
display.innerHTML = "
Results:
" +
"Total Inflation: " + rate.toFixed(2) + "%" +
"Price Increase: ₹" + difference.toLocaleString('en-IN', {minimumFractionDigits: 2}) + "";
}
function calculatePowerLoss() {
var amount = parseFloat(document.getElementById("baseAmount").value);
var rate = parseFloat(document.getElementById("expectedRate").value);
var years = parseFloat(document.getElementById("numYears").value);
var display = document.getElementById("powerResult");
if (isNaN(amount) || isNaN(rate) || isNaN(years) || amount < 0 || years < 0) {
display.style.display = "block";
display.style.backgroundColor = "#fff3f3";
display.innerHTML = "Please enter valid values for amount, rate, and years.";
return;
}
// Formula for purchasing power: Amount / (1 + r)^n
var decimalRate = rate / 100;
var futureValue = amount / Math.pow((1 + decimalRate), years);
var loss = amount – futureValue;
// Future price to maintain same power: Amount * (1 + r)^n
var priceToMaintain = amount * Math.pow((1 + decimalRate), years);
display.style.display = "block";
display.style.backgroundColor = "#f0fff4";
display.innerHTML = "
Impact Summary:
" +
"In " + years + " years, your ₹" + amount.toLocaleString('en-IN') + " will be worth only ₹" + futureValue.toLocaleString('en-IN', {maximumFractionDigits: 0}) + " in today's money." +
"Loss in Value: ₹" + loss.toLocaleString('en-IN', {maximumFractionDigits: 0}) + "" +
"To buy the same lifestyle in " + years + " years, you would need ₹" + priceToMaintain.toLocaleString('en-IN', {maximumFractionDigits: 0}) + ".";
}