What is monetary correction?
Monetary correction, or inflation adjustment, updates an amount from one date to another by a price index, so that it keeps its purchasing power. If prices rose 6% between two dates, something that cost 1,000 then costs 1,060 now; to compare the two amounts fairly you correct the old one by 6%. The same arithmetic answers the opposite question: what 1,060 today is worth in the money of the earlier date.
This calculator does not know any index and never downloads one. You type the rate, or paste a list of monthly rates, from the source you trust: IPCA from IBGE or IGP-M from FGV in Brazil, the CPI in the United States, or the consumer price index published by the statistics institute of your country. That is deliberate. The tool works offline, stays correct when the official series is revised, and lets you use any index, including a contract's own adjustment clause or a custom rate for rent, salary or a debt.
You can give the index in two ways. With one rate per period and a number of periods, it compounds the rate (month by month or year by year). With a pasted list of monthly rates, one per line, it multiplies them one after the other and shows each step in a table. You can also switch from "correct the amount" to "purchasing power", which divides instead of multiplying and shows how much the amount is worth in the money of the start date.
How to correct a value
- Type the amount you want to correct.
- Choose what to calculate: the corrected amount (the value after the index) or the purchasing power (the value in start-date money).
- Choose how you give the index. For one rate: say whether each period is a month or a year, type the rate in percent and the number of periods. For a list: paste the monthly rates, one per line, the oldest first.
- Read the corrected amount, the accumulated rate and the correction factor. For a single rate, the tool also shows the equivalent yearly or monthly rate.
- Check the table to see the accumulated rate and the value after each period, and copy the results.
Numbers follow your language, so in Portuguese write 0,45 and in English 0.45. Use a new line, a semicolon or a tab between rates. To see what a percentage of an amount is, use the percentage calculator; to apply a single discount, the discount calculator.
Examples
One monthly rate for twelve months
1,000 corrected at 0.5% a month for 12 months: 1,000 x 1.005^12 = 1,061.68. The accumulated rate is 6.1678% and the factor is 1.061678. A monthly 0.5% is not 6% a year: compounding adds a little, so the equivalent yearly rate is 6.1678%.
Purchasing power
The same 1,000 after 12 months of 0.5% inflation is worth 1,000 / 1.061678 = 941.91 in the money of the start date. The purchasing power fell by 5.81%. Note that this is not 6.17%: a price rise of 6.17% takes away less than 6.17% of purchasing power, because the loss is measured against the higher price level.
A pasted list of monthly rates
Six months of illustrative rates, 0.50, 0.40, 0.30, 0.45, 0.60 and 0.35 (percent), compound to 1.005 x 1.004 x 1.003 x 1.0045 x 1.006 x 1.0035 = 1.026280. Correcting 1,000 gives 1,026.28, an accumulated rate of 2.628% and an average of 0.4333% a month. These numbers are only an example; paste the real series for your dates.
A yearly rate
12% a year for one period corrects 1,000 to 1,120; the equivalent monthly rate is 0.9489%, since 1.12 to the power of 1/12 is 1.009489.
Compounding for a year at 1%
1% a month for 12 months is 12.68%, not 12%.
Common mistakes
- Adding monthly rates. Inflation compounds. Twelve months of 1% is 12.68%, not 12%.
- Mixing units. Do not type a yearly rate with a number of months. Pick the unit that matches the rate.
- Using the wrong period. The correction covers each month between two dates. If the amount is from March and the index is from June, count the months in between, not the ones outside.
- Typing 0.5 for 5%. The tool reads percentages: 0.5 means 0.5%. For 5%, type 5.
- Treating the result as official. For a contract, a court or a tax form, use the figure and the method required by the document. Official indexes can be revised.
- Decimal separators. In English write 0.45; in Portuguese or Spanish 0,45.
Frequently asked questions
Where do I find the index?
In Brazil, IPCA is published by IBGE and IGP-M by FGV. In the United States, the CPI comes from the Bureau of Labor Statistics. Most countries have a statistics institute that publishes monthly consumer price indexes. This page never fetches them: you copy the rates and paste them here.
How do I correct an amount by IPCA or IGP-M?
Paste the monthly IPCA (or IGP-M) rates for the months between the two dates in the list, oldest first, and read the accumulated rate and the corrected amount. The method is the same for any index.
What is the difference between correcting and purchasing power?
Correcting multiplies the amount by the factor to bring an old amount to today's prices. Purchasing power divides by the factor to tell what today's amount is worth in the money of the earlier date.
Does the tool include interest?
No, only the index. For interest on top of the correction, see the loan calculator.
Can I use a negative rate?
Yes. Deflation is a negative rate and lowers the corrected amount. A rate of -100% or less is rejected, because it would wipe the amount out.
Formulas in code
JavaScript
const factor = rates => rates.reduce((f, r) => f * (1 + r / 100), 1);
const f = factor([0.5, 0.4, 0.3, 0.45, 0.6, 0.35]);
console.log(f, 1000 * f); // 1.026280332478522 1026.2803324785218Python
f = 1.005 ** 12
print(1000 * f, 1000 / f) # 1061.6778118644984 941.9053396659191