How the inflation calculator works
This calculator applies one annual price-change assumption repeatedly for the number of years you enter. A positive rate raises the modeled price level. A negative rate lowers it, and a zero rate leaves both cost and purchasing power unchanged. A zero-year horizon is also an identity: there is no time for the annual assumption to compound.
The amount is not a budget, income figure or account balance. It can represent the price of a product, a yearly expense or any other dollar amount you want to test. The result is a mathematical scenario, not a prediction of what a particular purchase will cost. Individual prices can move differently from a broad consumer price index.
Formula for future cost and purchasing power
Future cost = amount × (1 + annual rate)years
Future purchasing power = amount ÷ (1 + annual rate)years
Cumulative change = [(1 + annual rate)years − 1] × 100%
Write the annual percentage as a decimal in the formula. For example, 3% becomes 0.03, so the annual factor is 1.03. Future cost answers, “What would the entered amount cost after the assumed price level compounds?” Future purchasing power answers a different question: “What would the same number of future dollars buy when expressed in today's-price terms?”
The two money calculations are reciprocal applications of the same annual factor. They are not expected to add together. Change in cost is the rounded future cost minus the exact amount entered, which keeps those displayed dollar values reconciled. The cumulative percentage is displayed to four decimal places.
Worked example: $1,000 at 3% for 10 years
For the default example, the annual factor is 1.03. Raising 1.03 to the tenth power produces a cumulative factor of approximately 1.343916379344. Applying that factor to $1,000.00 produces an estimated future cost of $1,343.92 after final cent rounding. The displayed change in cost is therefore $343.92.
To examine purchasing power, the calculator divides $1,000.00 by the same ten-year factor. The result is $744.09 after final cent rounding. In this constant-rate scenario, $1,000.00 held for ten years would buy what about $744.09 buys at the starting price level. The cumulative modeled price change is 34.3916%, not simply 30%, because the annual changes compound.
Exact cent handling
Money inputs are converted to exact cents. The annual factor is represented as an exact ratio based on the rate's four-decimal-place limit, and that ratio is raised to the whole-number year count using integer powers. The calculator does not round a dollar result after each year and does not convert giant numerator and denominator powers separately into floating-point numbers.
Future cost and purchasing power are rounded independently only after the complete ratio has been applied. An exact half cent rounds upward. This treatment matters for small amounts: $1.00 growing by exactly 0.5% for one year becomes $1.005 before rounding and is displayed as $1.01. At 0.4999%, it remains $1.00; at 0.5001%, it becomes $1.01.
Using negative rates and zero values
A negative annual rate models a repeated decline in the assumed price level. For example, $1,000.00 at -10% for two years has a future cost of $810.00, a cost change of -$190.00 and future purchasing power of $1,234.57. The model allows rates down to -99%, but it does not interpret why prices fell or whether that assumption is plausible.
Zero is a valid amount, rate and year count. A zero amount keeps every money result at zero, although a nonzero rate and year count can still produce a cumulative percentage. A zero rate or zero-year horizon produces a 0.0000% cumulative change and leaves the entered amount unchanged.
Limits, privacy and practical use
The model assumes one constant annual rate. It does not include changing yearly inflation, product substitutions, regional differences, taxes, investment returns, income growth or household-specific spending weights. It does not retrieve CPI history, provide a current rate, guarantee future prices or determine how an official index should be applied to a contract.
Entries are calculated in this browser and are not transmitted or stored by the calculator. Amounts are limited to $999,999,999.99, annual rates to -99% through 100% with up to four decimal places, and years to whole numbers from 0 through 100. Unsafe monetary results above $999,999,999,999.99 and cumulative changes above 1,000,000% are rejected instead of being displayed as reliable estimates.
Use several clearly labeled scenarios when planning. A lower, middle and higher assumed rate can show how sensitive a long horizon is to compounding. Keep the rate and horizon with any result you record, and revisit the assumptions when your purpose or available information changes.