The Complete Guide to Investing: Returns, Risk, and Growing Your Money
Investing is putting money into something that can grow or pay income, and judging it comes down to three numbers: how much you put in, how much came back, and how long it took. This guide explains return on investment, compound growth, CDs, bonds, dividends, and margin — with the formulas and worked examples behind each one.
By Jacob Levy, Founder of FigureQuick.com · Last reviewed 2026-11-19
Return on investment: the basic yardstick
Return on investment is the profit on an investment divided by what it cost: ROI = (Amount Returned − Amount Invested) / Amount Invested × 100. Invest $10,000, get back $15,000, and the profit is $5,000 — a 50% return. A negative ROI means the amount returned was less than the amount invested — a loss, not a calculation error. ROI is a clean, simple yardstick for comparing investments, but it leaves out risk, fees, and the timing of cash flows inside the holding period, so treat it as one measure among several rather than the whole story.
That headline figure ignores time, which is why the return should also be annualised: Annualized ROI = (Amount Returned / Amount Invested)(1 / Years) − 1. The same 50% gain is 14.47% a year over 3 years, but only 8.45% a year over 5 years, so annualising is what makes returns over different holding periods comparable.
Worked example: $10,000 to $15,000 in 3 years. The net profit is $5,000.00 — a 50.00% ROI, or 14.47% a year when annualised. The same $5,000 profit on a $5,000 investment held for 5 years is also a 50.00% ROI, but only 8.45% a year annualised. The headline percentage is identical; the yearly rate is nearly half. The ROI Calculator reproduces both examples exactly — enter the amount invested, the amount returned, and the years held.
CAGR vs the simple average: two ways to say "per year"
The total return is simply ending value minus starting value, and the total return percentage is that gain divided by the starting value. The simple average annual return then divides the total percentage by the number of years held, which spreads the gain evenly across every year. The compound annual growth rate (CAGR) answers a different question: what steady yearly rate would have grown the starting value into the ending value? It is CAGR = (Ending Value / Starting Value)(1 / Years) − 1. Because it compounds, CAGR is usually lower than the simple average when returns vary, and it is the fairer figure for comparing investments held for different lengths of time.
Worked example: $10,000 to $15,000 over 5 years. The total return is $5,000.00, or 50.00%. The simple average annual return is 10.00% a year — 50% divided by 5 — but the CAGR is only 8.45%, because compounding means the same yearly rate applied to a growing balance reaches $15,000 sooner. The Average Return Calculator shows both figures side by side, so the gap between them is visible rather than guessed.
Worked example: $25,000 to $65,000 over 10 years. The total return multiple is 2.60x, the net capital gain is $40,000.00, and the CAGR is 10.03% per year — the steady yearly rate that turns $25,000 into $65,000 in a decade. The Rule of 72 estimates doubling time as 72 divided by the CAGR, which is about 7.2 years at 10.03%. The Investment CAGR Calculator reproduces this example exactly. CAGR hides volatility by design: an investment can swing wildly year to year and still show the same CAGR, so it is a comparison tool, not a promise of steady gains.
Compounding and regular investing: time does the heavy lifting
A fixed amount invested every month grows from two things at once: the money you put in, and the returns compounding on earlier contributions. A SIP (systematic investment plan) is a fixed amount invested every month, usually into a mutual fund. The maturity value is FV = P × ((1 + i)n − 1) / i × (1 + i), where P is the monthly amount, i is the monthly return (the annual return divided by 12 and by 100), and n is the number of months. The extra (1 + i) at the end is there because each instalment is assumed to be invested at the start of the month, so it earns a return in its first month too.
Worked example: $5,000 a month at 12% for 10 years. Investing $5,000 a month at an expected 12% annual return for 10 years means $600,000 invested over 120 months. The maturity value is $1,161,695.38, of which $561,695.38 is estimated gains — nearly as much as was put in. The SIP Calculator reproduces this example exactly. The return you enter is an assumption, not a promise: mutual fund returns vary year to year, and a 12% average can hide years well above and well below it. Starting early matters more than the exact rate, because compounding needs time — doubling the years grows the result far more than doubling the monthly amount.
A mutual fund balance grows the same way, from the initial investment compounding month by month and each monthly contribution compounding from the month it goes in. The future value is FV = Initial × (1 + r)n + Monthly × [((1 + r)n − 1) / r], where r is the monthly return and n is the number of months. The return used is the annual return minus the expense ratio, because the fund takes its fee out of the return every year.
Worked example: $5,000, then $200 a month, for 20 years. Invest $5,000 at the start, add $200 a month, and earn 8% a year with a 0.5% expense ratio for 20 years — the effective growth rate is 7.5% a year, and the fund grows to $133,050.23 from $53,000.00 of contributions, a gain of $80,050.23. A small-looking fee still costs thousands over twenty years, which is why the expense ratio deserves its own line in the comparison. The Mutual Fund Calculator reproduces this example exactly. The figures are projections from the return you enter, not a promise of what the fund will earn.
Certificates of deposit: a fixed return for a fixed term
A certificate of deposit (CD) is a fixed-term deposit with a bank or credit union: you agree to leave the money untouched for a set term — often 3 months to 5 years — and the bank pays a fixed rate of interest in return. A CD grows by monthly compounding: each month the balance earns one twelfth of the annual rate, and the next month earns interest on the slightly larger balance. The maturity value is FV = Deposit × (1 + r/12)n, where r is the annual rate and n is the term in months, and the interest earned is the maturity value minus the original deposit.
The effective annual yield (APY) is slightly higher than the stated annual rate because of that compounding. A 4.5% rate compounded monthly works out to about a 4.59% effective annual yield, since interest earned in earlier months goes on to earn interest of its own over the year. Compare CDs by their maturity value for the same deposit and term, and by APY when the terms differ, since APY puts every option on the same one-year footing.
Worked example: $5,000 at 3% for 24 months. A $5,000 deposit at 3% for 24 months grows to $5,308.79, earning $308.79 of interest at an effective annual yield of 3.04%. A $10,000 deposit at 4.5% for 12 months grows to $10,459.40, earning $459.40 at an APY of 4.59% — and the same $10,000 at 4.5% for 60 months grows to $12,517.96, earning $2,517.96. A longer term earns more interest in total, but the money is tied up for the whole term. The CD Calculator reproduces all three examples exactly. The guide What Is a CD and How Does It Work? explains terms, early withdrawal penalties, and CD ladders in full.
Bonds: price, yield, and the seesaw
A bond is worth the present value of everything it will still pay you: the coupon payments each year plus the face value returned at maturity. The price is Price = Coupon × [(1 − (1 + y)−n) / y] + Face Value × (1 + y)−n, where y is the yield to maturity and n is the years left. Each future payment is discounted at the yield, so payments far in the future count for less than near ones.
When the yield is higher than the coupon rate, the bond sells below face value — a discount — because buyers demand a better return than the coupon alone provides. When the yield is lower than the coupon rate, the bond sells above face value, at a premium. When the two rates match, the price equals the face value. The current yield is the annual coupon divided by the price you actually pay, so it moves in the opposite direction from the price: a cheaper bond pays a higher current yield on the same coupon.
Worked example: a $1,000 bond at 5% with 10 years left. A $1,000 bond paying a 5% coupon ($50.00 a year) with 10 years left is worth $926.40 when the yield to maturity is 6%, giving a current yield of 5.40%. The total coupon payments over the remaining life add up to $500.00. Because the yield of 6% is higher than the coupon of 5%, the bond sells at a discount to face value. The Bond Calculator reproduces this example exactly.
Use this calculator with clients → White-label.
Dividends and DRIP: the income snowball
A dividend portfolio pays you two ways at once: the shares grow in price and they pay cash dividends. Each year the balance grows by the share-price appreciation, new contributions are added, and the year's dividend — Annual Dividend Income = Portfolio Balance × Dividend Yield % — is either reinvested to buy more shares (DRIP) or paid out as cash. Yield on Cost is the number that shows the snowball: Yield on Cost = Annual Dividends ÷ Total Capital Contributed. A portfolio bought at a 3.8% yield can be paying 15% a year on the money you actually put in after 20 years of reinvested dividends and price growth, because every reinvested dividend buys shares that pay dividends of their own.
Worked example: $50,000, plus $800 a month, for 20 years. Starting with $50,000, adding $800 a month, and reinvesting dividends at a 3.8% yield with 6.5% annual price growth over 20 years ends with a $982,733.14 portfolio paying $37,343.86 a year in dividends — $3,111.99 a month — a 15.43% yield on the original cost, with $273,280.19 in cumulative dividends. The Dividend DRIP Calculator reproduces this example exactly. Reinvesting versus withdrawing changes the ending balance a lot, but the income is real either way: taking the cash instead still pays out hundreds of thousands of dollars in dividends over the same period. Higher yield usually means slower price growth, so compare total return — yield plus appreciation — not yield alone.
Margin and markup: the same profit, two percentages
Gross profit is the simplest figure on the page: Selling Price minus Cost. Everything else is that same profit expressed as a percentage, and the only difference between margin and markup is what the percentage is taken against. Gross margin divides the profit by the selling price: Margin = (Price − Cost) / Price × 100. A $100 sale with a $60 cost leaves $40 of profit, which is a 40% margin — 40 cents of every sales dollar is profit. Margin can never exceed 100%. Markup divides the same $40 profit by the cost instead: Markup = (Price − Cost) / Cost × 100. The same sale is a 66.67% markup, because the price is two thirds higher than the cost. Markup can exceed 100%, which is why the two numbers must not be swapped when pricing: marking up by 40% gives a smaller price than earning a 40% margin.
Worked example: sell for $100, cost $60. The gross profit is $40.00, a 40.00% gross margin and a 66.67% markup. Sell for $250 with a cost of $180 and the gross profit is $70.00, a 28.00% gross margin and a 38.89% markup. The Margin Calculator reproduces both examples exactly.
IRR and payback: judging a project
The internal rate of return is the discount rate that makes the net present value of an investment exactly zero: the present value of all future cash flows equals the initial investment. There is no closed-form formula for it when the cash flows differ from year to year, so the calculator finds it by bisection — it repeatedly halves the interval between −90% and 1000% until the rate that zeroes the NPV is pinned down. An IRR above the return you could earn elsewhere means the investment clears your hurdle; an IRR below it means the money would do better in the alternative. Because IRR is a percentage, it is handy for ranking projects of different sizes, but it says nothing about scale — a small project can have a high IRR and still return fewer dollars than a larger one.
Worked example: $10,000 with five years of cash flows. Invest $10,000 and receive $3,000 in year 1, $3,500 in year 2, $4,000 in year 3, $4,500 in year 4, and $5,000 in year 5 — $20,000 in total — and the IRR is 25.75%, for a net profit of $10,000. The IRR Calculator reproduces this example exactly. Enter zero for any year with no cash flow, and keep the cash flows in year order, since a dollar received in year 1 is worth more in present-value terms than the same dollar in year 5.
The payback period is the time it takes for an investment to earn back what it cost: Payback Period = Initial Investment / Annual Cash Flow. Worked example: $50,000 at $12,500 a year. A $50,000 investment producing $12,500 a year pays for itself in 4 years (48 months), and over 10 years it returns $125,000.00 in cash flow. The Payback Period Calculator reproduces this example exactly. Shorter is generally better, because the money is at risk for less time and is free sooner to be put to work elsewhere. But payback alone is a rough screen, not a full verdict: it treats a dollar in year 1 the same as a dollar in year 10, so it ignores the time value of money, and it says nothing about what the investment earns after the payback point.
Risk and common mistakes
The most common investing mistakes are usually arithmetic, not judgement. The first is comparing headline returns without annualising them — a 50% gain over 3 years is nearly twice as good per year as the same 50% over 5 years. The second is quoting the simple average instead of the CAGR, which flatters a bumpy ride. The third is treating a CAGR as a promise: it hides volatility by design, and the steady rate it describes never actually happened in any single year. The fourth is swapping margin and markup when pricing, which quietly under-prices everything sold. The fifth is judging a dividend stock by its yield alone, when total return — yield plus price growth — is what actually lands in the account. And the sixth is forgetting fees: a 0.5% expense ratio on a fund looks trivial and still costs thousands over twenty years. Each of these is a calculation, and each has a calculator in the table below.
Every tool in this cluster
The table below lists every investing calculator on FigureQuick, with the situation each one is for. Start with the return you want to measure, then use the specialist tools for the asset or decision in front of you.
| Calculator | Use this when |
|---|---|
| Average Return Calculator | Comparing the total return, CAGR, and simple average annual return of an investment over its holding period. |
| Bond Calculator | Working out what a bond is worth at a given yield to maturity, and its current yield and total coupon payments. |
| Investment CAGR Calculator | Working out the compound annual growth rate between a starting and ending value, and the total return multiple. |
| CD Calculator | Working out the maturity value, interest earned, and APY of a certificate of deposit for any deposit, rate, and term. |
| Dividend DRIP Calculator | Projecting a dividend portfolio with reinvested dividends, and seeing the yield on cost and the income it pays. |
| IRR Calculator | Working out the internal rate of return of an investment from its initial cost and five years of cash flows. |
| Margin Calculator | Working out gross profit, gross margin, and markup from a selling price and a cost. |
| Mutual Fund Calculator | Projecting a mutual fund balance from an initial investment and monthly contributions, after the expense ratio. |
| Payback Period Calculator | Working out how long an investment takes to earn back its cost from its annual cash flow. |
| ROI Calculator | Working out the return on investment and the annualised ROI from the amount invested, the amount returned, and the years held. |
| SIP Calculator | Projecting the maturity value of a monthly systematic investment plan at an expected annual return. |
Sources and methodology
Every figure in this guide comes from a named source or a labelled example assumption. Return formulas (ROI, CAGR, simple average, SIP and mutual fund future value, bond pricing, dividend yield on cost, IRR by bisection, payback period) are the standard published formulas shown in each calculator's own explanation, and all worked-example arithmetic was computed with the calculators' own code and checked in Python and Node.js against that code. Interest rates in the worked examples (3%, 4.5%, 5%, 6%, 8%, 12%) are labelled example assumptions, not current market rates — check a current rate before using any example as a quote. Figures that are projections from a return you enter — SIP, mutual fund, and dividend DRIP results — are estimates from that assumption, not promises of what an investment will earn. This guide is educational: it describes what the calculators compute, not advice about which investment to choose. Last reviewed 2026-11-19.
Frequently asked questions
What is the return on investment formula?
ROI = (Amount Returned − Amount Invested) / Amount Invested × 100. Invest $10,000, get back $15,000, and the profit is $5,000 — a 50% return. Because that headline figure ignores time, the calculator also shows an annualised ROI: (Amount Returned / Amount Invested)^(1 / Years) − 1. The same 50% gain is 14.47% a year over 3 years, but only 8.45% a year over 5 years.
What is the gross margin formula?
Gross margin = (Selling Price − Cost) / Selling Price × 100. A $100 sale with a $60 cost leaves $40 of profit, which is a 40% margin — 40 cents of every sales dollar is profit. Margin is taken against the selling price, which is what makes it different from markup, and it can never exceed 100%.
What is the profit margin formula?
Profit margin is the same formula as gross margin: (Selling Price − Cost) / Selling Price × 100, where the profit is the selling price minus the cost. On a $250 sale with a $180 cost, the profit is $70 and the margin is 28.00%. Markup is the different figure: the same $70 profit divided by the $180 cost instead, which is 38.89%.
How is the NAV of a mutual fund calculated?
A mutual fund's net asset value (NAV) is calculated as the fund's total net assets — all of its holdings minus its liabilities — divided by the number of units (shares) outstanding. NAV is normally calculated once a day, after the markets close, from that day's closing prices. It is the price at which units are bought and sold, and it is not the same as the fund's return: a fund's NAV can fall while it pays out income, and vice versa.
How do you calculate certificate of deposit earnings?
CD earnings are worked out by monthly compounding: Maturity Value = Deposit × (1 + r/12)^n, where r is the annual rate and n is the term in months, and the interest earned is the maturity value minus the deposit. A $5,000 deposit at 3% for 24 months grows to $5,308.79, earning $308.79 of interest at an effective annual yield of 3.04%. The CD Calculator does this for any deposit, rate, and term.
What does IRR tell you, and what is a good IRR?
The internal rate of return is the discount rate that makes the net present value of an investment exactly zero — the rate at which the present value of all future cash flows equals the initial investment. An IRR above the return you could earn elsewhere means the investment clears your hurdle; below it, the money would do better in the alternative. There is no universal good IRR: it has to be compared with the return on the next-best use of the money, and it says nothing about scale — a small project can have a high IRR and still return fewer dollars than a larger one.
What is the difference between margin and markup?
Margin and markup are the same profit expressed against different bases. Margin divides the profit by the selling price — a $100 sale with a $60 cost is a 40% margin. Markup divides the same $40 profit by the cost — a 66.67% markup. The two must not be swapped when pricing: marking up by 40% gives a smaller price than earning a 40% margin. Margin can never exceed 100%; markup can.
