Saving and investing calculators

Compound interest

Grow a starting amount and a regular contribution over time, in today's money and tomorrow's.

Ending balance$432,628
Worth in today's money$178,237After 3.0% inflation a year
You put in$109,000
Growth on top$323,628
Growth as a share of the balance74.8%
$0$114,646$229,293$343,939$458,58608152330Years
BalanceMoney you put in
What this is actually telling you

Compounding means this year's growth earns growth of its own next year, which is why the line bends upward instead of running straight. The return you enter is an average, not a promise: real markets deliver it as a jagged series of good and bad years, and the order those years arrive in matters if you are withdrawing. Contributions are counted at the end of each period, which is the conservative assumption; paying yourself first at the start of the month adds a fraction of a percent. Buying power strips inflation back out so the ending balance is stated in what it would buy today.

Savings goal

Work out the monthly deposit that gets you to a target by a deadline.

Monthly deposit needed$217.62
Weekly, roughly$50.22
Total you will deposit$7,834
Interest doing the rest$666
$0$2,650$5,300$7,950$10,6000123Years
Balance
What this is actually telling you

This runs the compounding sum backwards: you name the finish line and it returns the deposit. For a goal inside about five years, keep the rate low and the money somewhere it cannot fall, such as a high yield savings account, since a market dip right before the deadline is not something a short timeline can recover from.

Emergency fund

Size the cash cushion that covers your real bills, and see how long filling it takes.

Monthly essentials

Your target

Fund target$19,5006 months of essentials
Still to save$17,500
Essentials each month$3,250
Months you can already cover0.6
Time to fully fund it3 years, 5 months

Keep this money somewhere boring and instantly reachable. A high yield savings account earns interest and still clears in a day or two; an investment account can be down 20% on the morning you need it.

What this is actually telling you

An emergency fund is measured in months of spending, not in a round number of dollars, so it is built from the bills that do not stop when income does. Count only the essentials: the target is survival, not your current lifestyle. Three months suits a stable salary with a second income in the house, six to twelve suits variable pay, self employment or a single income.

CD and savings interest

See what a fixed rate actually pays once compounding is taken into account.

Balance at the end$6,181.51
Interest earned$1,181.51
Effective rate (APY)4.334%4.25% compounded monthly
Interest after tax$921.58At 22%
You put in$5,000
$0$1,638$3,276$4,914$6,55201345Years
Balance

Interest is taxed in the year it is credited, not at the end, so the after tax figure assumes you pay the yearly bill from somewhere else. State income tax is not included, and most states tax this too.

What this is actually telling you

Banks advertise APY, which already includes compounding, and lenders quote APR, which does not. This shows both from the same rate so the difference is visible. A CD locks the rate for the full term, which protects you if rates fall and costs you if they rise, and cashing out early usually forfeits several months of interest.

Investment return

Turn a buy price and a sale price into a total return and a yearly rate.

Profit$2,240.00
Annualized return9.70%The yearly rate that would produce the same result
Total return44.80%
Value including income$7,240.00
Years to double at this rate7.5 yearsAt this rate, compounding

This assumes one lump sum going in at the start. If you added money along the way the annualized figure understates what you earned, because it credits every dollar with the full holding period. A money weighted return is the right measure there.

What this is actually telling you

Total return answers how much you made. Annualized return answers how fast, which is the only fair way to compare a holding of six months against one of ten years. Doubling your money sounds identical in both cases and is a very different investment. Costs and dividends are both included here because leaving either out flatters the number.

Investment fee drag

See what a 1% fee costs over an investing lifetime. It is not 1%.

Lost to the 1.00% fee$294,278
That is this much of the fee-free balance22.5%
Balance paying 1.00%$1,015,589
Balance paying 0.05%$1,293,081
Difference between the two$277,492
$0$342,666$685,333$1.03M$1.37M09182635Years
Low fee (0.05%)Your fee (1.00%)
What this is actually telling you

A fee is charged on the whole balance every year, and the money it removes would otherwise have compounded for every year that remained. That is why a percentage that looks trivial takes a double digit share of the final balance. Index funds commonly charge under 0.10%, actively managed funds ten times that, and a percentage based adviser adds around 1% on top.

Real return after inflation and tax

Find out what a return is worth once inflation and the tax bill have taken their share.

Real return after tax3.69%What the money earns once both are taken out
Worth in today's money$51,597After 20 years
Return after tax, before inflation6.80%
Return after inflation, before tax4.85%
Balance before inflation$93,189
Balance ignoring tax as well$116,524
Subtracting instead of dividing would say3.80%Too generous by 0.11 points
$0$24,695$49,390$74,085$98,78005101520Years
Balance after taxWorth in today's money

Inflation is the quiet one. Tax is a single visible bill, but inflation charges you every year whether the investment made money or not.

What this is actually telling you

The headline return on an investment is the least useful of the three numbers here. Tax removes a share of the growth, and inflation removes a share of what is left, so a return that sounds healthy can leave you barely ahead. The correct arithmetic divides rather than subtracts: a 7% return with 3% inflation is 3.9% of real growth, not 4%. Tax is modelled as a yearly haircut on the return, which is what an ordinary brokerage account with some turnover looks like; if you buy and hold for decades the tax lands once at the sale and the real figure is a little better than this. State tax, fund fees and trading costs are not included, and the inflation rate that matters to you is the one on the things you actually buy, not the national average.

Rule of 72

See how long money takes to double, and how far the famous shortcut drifts from the truth.

Exact doubling time9.01 yearsThe real answer, from the compounding formula
Rule of 72 says9.00 years0.01 years short
The shortcut is out by0.1 months0.1% off the exact answer
Rule of 69.3 says8.66 yearsCloser, but nobody can divide by it
Doublings in 30 years3.33
What you would have by then$100,627
ReturnRule of 72ExactDifference
1%72.00 years69.66 years+2.34 years
2%36.00 years35.00 years+1.00 years
4%18.00 years17.67 years+0.33 years
6%12.00 years11.90 years+0.10 years
8%9.00 years9.01 years-0.01 years
10%7.20 years7.27 years-0.07 years
12%6.00 years6.12 years-0.12 years
15%4.80 years4.96 years-0.16 years
20%3.60 years3.80 years-0.20 years
25%2.88 years3.11 years-0.23 years

The shortcut is closest around 8%. It runs long at high returns and short at low ones.

What this is actually telling you

Dividing 72 by a return gives a doubling time you can work out in your head, which is the whole reason it exists. It is an approximation of the real answer, the natural log of 2 divided by the log of one plus the rate, and 72 is used instead of the mathematically tidier 69.3 because it divides cleanly by 2, 3, 4, 6, 8, 9 and 12. The shortcut is close between about 6% and 10% and drifts steadily wider outside that band, which is why the exact figure sits beside it here. Neither number allows for tax, fees or inflation, and doubling your money in nominal terms while prices also double leaves you exactly where you started.

APY against APR

Convert a quoted rate between compounding frequencies, in either direction.

Effective annual rate (APY)4.498%
Nominal rate (APR)4.400%Compounded daily
Gap between the two0.098 points
Interest in a year$449.80At the effective rate
If it compounded yearly instead$440.00
Compounding adds$9.80
CompoundingTimes a yearEffective rateInterest in a year
Daily3654.498%$449.80
Monthly124.490%$448.98
Quarterly44.473%$447.31
Yearly14.400%$440.00
Continuouslyendless4.498%$449.82

Every row starts from the same 4.400% nominal rate. Compounding more often is worth less than people expect, and continuous compounding is the ceiling it approaches.

What this is actually telling you

The same rate can be printed two ways. A nominal rate, which banks label APR, is the yearly rate before compounding is counted. An effective rate, labeled APY on a savings product, is what the account actually pays over a year once the interest has itself started earning interest. Savings accounts advertise the larger of the two and loans advertise the smaller, which is not an accident. The gap is small at ordinary rates and grows quickly at high ones, which is why credit card maths gets ugly. Loan APR also folds in some fees by law, so a real loan quote is not a pure interest rate, and none of this includes tax on the interest you earn.

Dividend reinvestment

Compare buying more shares with every dividend against taking the cash and spending it.

What you buy

What you expect

Reinvesting the dividends$116,106
Taking them as cash$91,347Shares plus every dividend collected
Reinvesting is ahead by$24,760
Shares after reinvesting972.429
Shares if you took the cash555.556
Dividend in the final year$3,601After tax, on the reinvesting path
Yield on what you originally paid9.68%Final dividend against the price you bought at
$0$30,768$61,536$92,305$123,07305101520Years
ReinvestingTaking the cash

The cash path holds its dividends as idle money. That is the honest comparison for a dividend spent, and the wrong one if you invest it elsewhere.

What this is actually telling you

Reinvesting turns each dividend into more shares, and those shares pay dividends of their own, which is where the curve comes from. The two paths here are taxed identically, because the IRS does not care whether a dividend was reinvested: it is income in the year it is paid either way, unless the account is an IRA or a 401(k). What separates them is only what happens to the money afterwards. The cash path assumes the money is spent or left idle, so if you invest it somewhere else the gap narrows. Dividend growth and price growth are typed in as smooth yearly figures, and real companies cut dividends in bad years, which is exactly when a smooth model looks most convincing.

Lump sum against dollar cost averaging

Put it all in today, or feed it in monthly, and see what the difference costs.

All in today$129,535
Spread over 12 months$127,298
Going all in wins by$2,237Because the market rate beats the cash rate here
Each monthly slice$5,000.00
Interest earned while it waited$1,104.17
Share of the difference1.73%Of the all in ending balance
$0$34,327$68,654$102,981$137,308035810Years
All in todaySpread out

There is no volatility in this model, so it cannot show the case for spreading it out. It only prices the cost of waiting.

What this is actually telling you

Dollar cost averaging means investing a fixed amount on a fixed schedule instead of all at once. It buys more shares when prices are low and fewer when they are high, and it removes the decision of when to start. What it cannot do is beat a rising market, and markets rise more often than they fall: historically, investing a lump sum immediately has finished ahead of spreading it out roughly two thirds of the time. This calculator will always agree with that as long as the return you type is above the rate on the waiting cash, because it has no volatility in it at all. The real case for spreading it out is not the arithmetic, it is that a 30% drop the month after you commit everything is the kind of thing that makes people sell at the bottom.

Portfolio rebalance

Work out exactly what to buy and sell to get three holdings back to their targets.

What you hold

What you want

To buy$5,000
To sell$5,000
Furthest from targetCash, 5.0 pointsMore than you wanted
Portfolio after adding$100,000
Your targets add up to100.0%
HoldingValue nowShare nowTargetDo this
Stocks$68,00068.0%70.0%Buy $2,000
Bonds$22,00022.0%25.0%Buy $3,000
Cash$10,00010.0%5.0%Sell $5,000

Anything inside a dollar or so is left alone. Trading to chase the last fraction of a percent costs more than the drift does.

What this is actually telling you

A portfolio drifts because its parts grow at different speeds, and drift is not neutral: after a long run in stocks you are holding more risk than you chose, usually right before you find out. Rebalancing sells what has done well and buys what has not, which feels wrong and is the point. In a taxable account each sale realizes a gain and a tax bill, so directing new money and dividends into whatever is light is the cheaper way to do the same job, and that is what the extra cash field is for. Rebalancing bands, such as acting only when something drifts five points from target, cut the trading down without letting the portfolio wander far. Nothing here accounts for tax, trading costs or the wash sale rule.

Asset allocation

Price a stock, bond and cash mix by its long run return and its worst year.

Your mix

For a suggestion

Long run return of this mix8.39%Before inflation, fees and tax
A bad year could look like-29.1%$100,000 would become $70,850
Real return, if inflation runs at 3%5.23%
Suggested mix78% stocks, 17% bonds, 5% cashAge 32, balanced
Your stock weight against the suggestion-8 points
Your mix adds up to100.0%
AssetYour weightLong run returnAdds to the returnWorst yearAdds to a bad year
Stocks70%10.0%7.00%-37.0%-25.90%
Bonds25%4.9%1.23%-13.0%-3.25%
Cash5%3.3%0.17%0.0%0.00%
Your mix100%8.39%-29.15%

US nominal averages from 1928 to 2025: S&P 500, 10 year Treasuries and Treasury bills. History, not a forecast.

What this is actually telling you

Allocation is the decision that explains most of what a portfolio does. Stocks carry the return and the falls, bonds soften the falls and pay less, cash does neither and is there so you never have to sell anything at a bad moment. The return figures below are US averages measured over nearly a century, and a single decade can look nothing like them: stocks returned roughly nothing from 2000 to 2009 and bonds had their worst year on record in 2022. The bad year estimate blends the worst calendar year each asset has had, which is a rough stand in for risk and not a floor; a mix can fall further than that, and 1931 was far worse for stocks than 2008. The suggested mix is a rule of thumb keyed to your age, not advice, and it ignores your job security, your other assets and how you actually behave when the number drops.

Cost basis and average price

Add up three purchases into a total cost, an average price and the gain you are sitting on.

First purchase

Second purchase

Third purchase

Now

Average cost per share$153.25
Unrealized gain$5,675.0037.0% on what you paid
Total shares100
Total cost basis$15,325.00
Value today$21,000.00
Price you break even at$153.25Before any tax on the sale
PurchaseSharesPrice paidCostValue todayGain
First40$120.00$4,800.00$8,400.00$3,600.00
Second25$155.00$3,875.00$5,250.00$1,375.00
Third35$190.00$6,650.00$7,350.00$700.00

Each lot has its own basis and its own holding period. Which one you sell changes the tax bill.

What this is actually telling you

Cost basis is what you paid, and it is the number the gain is measured against when you sell, so it is worth keeping right. Commissions and fees are part of it, and reinvested dividends are too: each reinvestment is a new purchase at that day's price, which is why people who never sold anything still owe tax on a fund they have held for years. The average price shown here is a portfolio summary, not a tax method. Mutual funds may use average cost, but individual shares are sold either first in first out or by naming the specific lot, and naming the lot with the highest basis is usually the cheaper way to sell. A gain is unrealized until the sale, and unrealized gains cost nothing.

Bond yield

Turn a face value, a price and a coupon into a current yield and a yield to maturity.

Yield to maturity5.41%Approximate, from the standard formula
Current yield4.79%The coupon against the price, nothing else
Yield to maturity, solved exactly5.45%The approximation is out by -0.03 points
Coupon each year$45.004.50% of $1,000
Discount to face value$60.00Paid back to you at maturity
Coupons between now and maturity$360.008 payments, if the issuer keeps paying
If the price wereCurrent yieldYield to maturity
$846.005.32%7.09%
$893.005.04%6.24%
$940.004.79%5.45%
$987.004.56%4.70%
$1,034.004.35%4.00%

Price and yield move in opposite directions. The longer the bond, the more the price has to move to shift the yield.

Nothing here prices default risk. A yield well above everything else on offer is the market saying it doubts the issuer, not a bargain nobody noticed.

What this is actually telling you

A bond's coupon never changes, so when its price moves the yield moves the other way: pay less than face value and the same coupon is worth more as a percentage, plus you collect the difference back at maturity. Current yield only counts the coupon against the price. Yield to maturity counts the pull back to face value as well, which is the number worth comparing against another bond. The headline here uses the standard approximation, which spreads the discount or premium evenly across the remaining years, and it runs a fraction of a percent off the true figure on long bonds; the exact solved yield sits beside it. Coupons are treated as annual, while most US bonds pay twice a year, and the whole calculation assumes the issuer pays and that you reinvest the coupons at the same yield. Neither is guaranteed.

← All calculators