ROI Calculator: Return on Investment (ROI) Calculator
Wondering whether the money you put to work actually paid off? This ROI calculator compares what you invested with what came back and shows your return on investment as a clean figure, plus the annualized return that makes two very different deals comparable. It takes a few seconds, and the answer tells you whether a purchase, campaign or investing move was worth it, whether you are a first-time investor or a company owner weighing a new project. Try the free investment calculator to run your own numbers — everything is calculated in your browser and nothing you enter is stored or sent anywhere.
Your results
Return on investment
–
Annualized ROI
–
Net gain
–
Total cost–
Total received–
Holding period–
Growth multiple–
The same result as a steady yearly return
How your cost would grow each year at the annualized ROI to end at the same total.
Year
Gain that year
Value
ROI so far
Results are estimates for educational purposes and are not financial, tax or legal advice.
Wondering whether the money you put to work actually paid off? This ROI calculator compares what you invested with what came back and shows your return on investment as a clean figure, plus the annualized return that makes two very different deals comparable. It takes a few seconds, and the answer tells you whether a purchase, campaign or investing move was worth it, whether you are a first-time investor or a company owner weighing a new project. Try the free investment calculator to run your own numbers — everything is calculated in your browser and nothing you enter is stored or sent anywhere.
What Is a Return on Investment Calculator?
A return on investment calculator measures the profit or loss on an investment relative to what it cost you. Return on investment (ROI) is a financial ratio expressed in percent, which makes it one of the most widely used key performance indicators in finance. The same measure works for stocks, a rental property, a marketing program or a piece of machinery: anything with a cost and a payoff can be scored. Try the free mutual fund calculator to run your own numbers — everything is calculated in your browser and nothing you enter is stored or sent anywhere.
Because the result is a percentage, it lets an investor line up very different opportunities on one scale. A positive number means the payoff exceeded what you spent, and a negative number signals a shortfall. Treat that number as a quick check on profitability, not a full picture of risk, which is why the sections below also cover the time period and the situations where it can mislead you.
The inputs the calculator needs
You only need two money figures to get started. The initial invested amount is everything you paid in, and the returned amount is what you received when the holding ended or what it is worth today. Add a start date and end date, or simply type the number of years, and the tool also reports your annualized figure.
The ROI Formula: Calculating Your Rate of Return
The ROI formula divides the difference between payoff and outlay by what you paid and multiplies by 100: Next, open the apr advanced calculator and enter your own details to see an estimate in seconds.
$$\text{ROI} = \frac{G - C}{C} \times 100$$
Here \(G\) is the amount you received back and \(C\) is what you paid. If you work in a spreadsheet, the same ROI calculation is a one-liner such as =(B2-A2)/A2, formatted as a percent.
Net gain is the amount returned minus the amount you put in.
The cost of investment should include every expense that tied up your money, fees included.
The gain from investment is the final value you collect, whether through a sale, a payout or dividends.
Your return on investment is the difference expressed as a share of that outlay.
Net income and total assets in a business setting
Companies often score results with a business version of the return on investment formula: net income divided by total assets. If a firm earns $84,000 of net income on $600,000 of total assets, the result is 14%. The calculator on this page uses the simpler gain-over-cost version, so reach for the balance-sheet version when you want a yearly figure for a whole company, and make sure both numbers cover the same year and the same total assets.
How to Use This ROI Calculator Step by Step
Enter the invested amount: the full price of the purchase, fees included.
Enter the returned amount: the sale price, payout or current value.
Choose whether to supply a number of years or a start and end date for the investment period.
Click the Calculate button to see your investment gain, your ROI and your annualized figure.
The results panel lists four numbers, shown in the table below with a plain-language meaning for each.
Result
What it tells you
Investment gain
Dollars earned or lost once the outlay is subtracted
ROI
The dollar result as a share of your original outlay
Annualized return
The yearly pace that would produce the same ending value
Investment length
How long your money was tied up
Why a free ROI calculator beats doing it by hand
Doing the arithmetic yourself is easy for round figures, but mistakes creep in once dates, fees and decimals appear. A free ROI calculator removes that friction, so you can try three or four scenarios in the time it takes to find a pencil. If you only want a quick ROI percentage calculator for a single purchase, fill in the two money fields and leave the dates blank.
Annualized Return: How Time Changes Your ROI
Plain ROI has no clock built in. A 40% result earned in one year is a very different deal from 40% earned over a decade, and the basic simple rate of return hides that gap. The fix is to convert the result to a yearly pace, the annual rate of return that would compound to the same ending value:
$$r_{a} = (1 + r)^{1/n} - 1$$
In this expression \(r\) is the total ROI written as a decimal and \(n\) is the number of years. Use the ROI percentage for a single deal and the yearly version whenever you compare options held for different lengths of time.
Annualized return versus simple division
Dividing the total by the years gives a rough guide, yet it ignores the way gains build on each other. The compounded method is the one the calculator applies, and it matches how a savings balance actually grows. When your annualized ROI differs a lot from the simple average, the gap is the effect of compound interest; with simple interest, profit would be counted only on the original amount you put in.
Worked Example: Comparing Two Investment Options
Suppose you are choosing between two investment options. Option A is an index fund purchase: you put in $18,750 and receive $26,310 after 3.5 years. Option B is a short renovation flip: you put in $12,400 and receive $16,180 after 1.5 years.
For Option A, the net gain is $26,310 − $18,750 = $7,560, so the ROI is 7,560 ÷ 18,750 × 100 = 40.32%. Annualizing over 3.5 years gives 10.16% per year. For Option B, the difference is $3,780, the ROI is 30.48%, and the annualized figure is 19.41%.
Option A wins on the headline number, yet Option B delivers nearly double the yearly pace. That reversal is the whole reason to check the annualized column before you commit.
Reading the reversal
Total ROI favors Option A, but annualized return favors Option B.
The faster deal frees up $16,180 after 1.5 years, which you can reinvest elsewhere. A strong investment return that arrives sooner often beats a larger one that ties up your cash. Neither figure reflects uncertainty, so a flip that depends on a hot housing market is not equivalent to a diversified fund.
What Is a Good ROI? Benchmarks for an Annual Return
There is no single good ROI; it depends on the risk you carry and the alternatives you have. A sensible benchmark starts with inflation: long-run U.S. consumer prices have risen close to 2.9% a year, so any annual return below that quietly loses purchasing power. For stocks, many investors compare themselves with the S&P 500, whose inflation-adjusted average has often landed between roughly 7% and 10.5% over multi-year stretches.
Below zero: your money shrank, and the first question is why.
Zero to about 3%: you are not beating inflation once costs are counted.
About 3% to 7%: modest gains, typical of conservative holdings.
Above 10.5%: ahead of the usual stock market yardstick, often with more volatility.
Adjust for your own tax rate as well. After-tax capital gain can be noticeably lower than the pre-tax figure, and a long time horizon usually earns a lower tax rate on gains than short-term trades.
Stripping out rising prices from the example
Take Option A's 10.16% yearly pace and divide (1 + 0.1016) by (1 + 0.029). The result is about 1.0706, so your real, inflation-adjusted yearly growth is close to 7.06%. That still clears the 2.9% hurdle comfortably, and it sits inside the usual stock-market band, which makes the index fund a reasonable result rather than an exceptional one.
Checking a Two-Year Holding with the Return on Investment Calculator
Dana bought into a dividend fund on 14 March 2024 and wants to know, on 14 March 2026, whether it deserves another year. Her brokerage statement shows $6,380.00 paid in and $7,125.50 in sale value plus dividends received, so she opens the calculator and types exactly those two figures.
She chooses the date option instead of typing years, entering 14 March 2024 as the start and 14 March 2026 as the end, so the investment length reads 2.0 years. After she clicks Calculate, the panel shows a dollar result of $745.50, an ROI of 11.68% and an annualized figure of 5.68%.
The 11.68% looks decent on its own, but Dana's real question is about pace. She lines the annualized figure up against two reference points she already knows:
Long-run U.S. inflation of about 2.9% a year, which leaves a real yearly result of roughly 2.70% (1.0568 ÷ 1.029 − 1).
The 7% floor of the inflation-adjusted S&P 500 range, which her fund misses by 1.32 percentage points a year.
So the fund beat inflation but trailed the broad market she could have bought instead. She does not sell on the spot. First she reruns the calculator with 3.0 years and a hypothetical $7,400.00 payoff, and the yearly figure slips to 5.07%, which tells her another year at that pace would not rescue the result.
Her decision follows from the numbers: she sells the position, moves the $7,125.50 into a broad index fund, and sets a reminder to repeat the calculation in March 2027 so the new holding gets judged against the same two benchmarks.
Return on Investment for Real Estate, Equities and Business
Real estate
For real estate, count the purchase price, closing costs, repairs and carrying costs in your base, then compare against the sale proceeds plus any rent collected. Leaving out taxes and insurance makes a rental look better than it was. Add up everything that left your pocket before you decide the property earned its place.
Equities and portfolios
Enter the purchase price times the number of shares as what you paid in, and the sale value plus dividends as what came back. Your brokerage account statements list both figures. Run each holding through the calculator separately before blending, so one winner does not hide a weak position in the portfolio, and treat every periodic contribution as new money rather than a payoff; the contribution fields handle that for you.
Business projects and marketing campaigns
Owners use the ratio to rank projects when cash flow is limited. A new product that adds $50,000 of earnings on a $250,000 cost of investment returns 20%. The same arithmetic scores a marketing campaign: spend $4,200 on ads that bring in $9,870 of revenue, and the return is 135%, because each dollar spent produced $2.35 back. Count idle money such as inventory or working capital in the base too, since it ties up funds even though it never leaves the company.
Common Mistakes When Measuring Return on Investment
Most bad ROI numbers come from the inputs, not the arithmetic. Watch for these traps before you trust a result:
Leaving fees, commissions or maintenance out of the initial investment, which understates what you paid and inflates the answer.
Comparing a one-year result with a five-year result without annualizing either.
Counting a reinvested dividend twice, once as income and once as new money.
Mixing pre-tax and after-tax numbers within the same comparison.
List what you paid and what came back before you compute the return on investment; if you cannot name both numbers, the calculation is not ready yet.
What Moves Your Return on Investment
Every lever works through the same formula. Lower fees shrink the cost in the denominator, so the same payoff produces a higher return on investment. Holding good investments longer lets gains compound, which lifts the annualized return even when the total barely moves, while reinvesting income enlarges the base that later gains build on. Run the calculator again after each change so you can see which input actually moved the number.
Tracking Your Return on Investment Over Time
One result tells you how a single investment went; a record of results tells you how good you are at making those choices. Keep a simple log with the date you bought, the amount you put in, the date you sold and what you received. Once a quarter, enter each line into a return on investment (ROI) calculator and note the annualized figure beside it. Within a year or two, patterns show up: maybe your longer holdings consistently beat your quick trades, or one category of investment keeps landing below your target.
Setting a target makes the log useful. Decide the yearly pace you need, such as 8% to keep up with a retirement plan, and treat anything below it as a flag to investigate rather than a failure. Every investment carries an investment cost in fees, taxes and time, so the log should record those too; an entry without them paints a rosier picture than your account balance will.
Using ROI as a key performance indicator
Households and teams alike can treat the ratio as a key performance indicator, a single number reviewed on a schedule. Define the net profit and the outlay you will count before the project starts, so the annualized return stays comparable from one review to the next. Consistent definitions matter more than precision: a rough number measured the same way every time beats a precise one measured differently each quarter.
Limitations of ROI and Related Finance Measures
The limitations of ROI are worth knowing before it drives a decision. It ignores timing unless you annualize it, it says nothing about risk, and it depends on how you define cost and payoff. Two analysts can reach different answers from the same facts.
Net present value discounts future cash to today's dollars.
Internal rate of return finds the discount rate that makes the cash flows break even.
Return on equity measures earnings against shareholders' equity rather than the total outlay.
Payback period shows how long it takes to recover what you put in.
Pair ROI with these tools when the stakes are high: compute the annualized return first, then check a discounted measure if money moves in several instalments. Use a realistic inflation rate in your assumptions, and treat the result as one input to your broader financial decisions, not the verdict. Because wealth is built by repeating good decisions, judge each result against your own past performance as well as against a simple return benchmark.
ROI Calculator questions
What is ROI?
ROI stands for return on investment. It is a ratio that compares the profit or loss on an investment with what it cost you, and it is shown as a percentage so very different investments can be lined up on one scale.
How do you calculate ROI?
Subtract the amount you invested from the amount you got back, divide that difference by the amount you invested, then multiply by 100. For example, turning $18,750 into $26,310 gives (26,310 - 18,750) / 18,750 x 100 = 40.32%.
What is annualized ROI and why does it matter?
Annualized ROI converts the total return into a yearly pace using compounding. It matters because plain ROI has no time frame: 40% over one year is a very different result from 40% over ten, so the annualized figure is the fairer way to compare investments held for different lengths of time.
What is a good ROI?
It depends on risk and the alternatives available to you. A common floor is long-run inflation, around 2.9% a year in the U.S., and many investors compare stock holdings with the S&P 500's inflation-adjusted average, often cited between roughly 7% and 10.5% a year.
What should I count as cost and gain?
Include every expense that tied up your money (purchase price, fees, repairs, taxes you paid) in the amount invested, and include everything you received (sale proceeds, dividends, rent) in the returned amount. Leaving costs out makes ROI look better than it really was.
How do periodic contributions change the result?
If you add money on a schedule, the calculator adds the contributions made over the investment length to your initial investment to get the total invested, then measures your gain against that larger base.
What are the limitations of ROI?
ROI ignores timing unless you annualize it, does not reflect risk, and depends on how cost and gain are defined. Pair it with measures such as net present value or internal rate of return for larger decisions.