ROI Calculator: Total and Annualized Return on Investment
Get ROI as a percentage, net profit and annualized ROI to compare investments held for different lengths of time. Enter what you put in and got back.
Updated November 2026
Reviewed by Diego Ferraz
Total cost of the investment or project.
Total value realized after the period ends.
Results are for educational purposes only and do not constitute financial advice.
How to use this ROI calculator
Simple or annualized, your choice
1. Choose a mode
Simple ROI for total return, or Annualized ROI to compare investments held for different lengths of time.
2. Enter the invested and returned amounts
Amount Invested is the total cost; Amount Returned is the total value you got back by the end of the period. In annualized mode, also enter the time period in years.
3. Read the results
ROI %, net profit and the gain ratio; in annualized mode, also the annualized ROI, which the tool also shows as CAGR because it is the same number.
What this ROI calculator does
Beyond simple ROI
Annualized ROI
Converts any total ROI into an equivalent yearly rate so you can compare investments fairly.
Annualized ROI is the CAGR
The compound annual growth rate uses the same formula, (1 + ROI)^(1/n) − 1, so the CAGR shown next to it is the same figure, not an extra metric.
Net profit and gain ratio
See the profit or loss in dollars and how many dollars came back for each dollar invested.
Runs entirely in your browser
No financial data is sent to a server — every calculation is instant and private.
Worked example
See the ROI formula applied to real numbers
When you'll use this calculator
The most common scenarios among people who use this tool
Marketing campaigns
Check whether paid media or content brings in more than it costs, counting every cost of the campaign, not just the ad spend.
Business projects
Decide whether a new hire, equipment purchase, or software subscription justifies its total cost.
Real estate
For rentals: (annual income − expenses) / investment. For flips: net profit / total invested.
Financial investments
Use annualized ROI to compare stocks, funds, and bonds held for different time periods on equal footing.
Common mistakes
Comparing ROI over different time periods without annualizing
60% over 2 years is not the same as 60% over 6 years — always annualize before comparing two investments.
Confusing ROI with ROAS
ROAS is gross revenue per dollar spent on ads; ROI subtracts all costs, including margin, from that revenue.
Ignoring inflation over long periods
ROI doesn't adjust for inflation. The shortcut real ≈ nominal − inflation only works with annual rates: subtract the yearly inflation rate from the annualized ROI, or compare the total ROI with the cumulative inflation over the same period.
Why use this ROI calculator
It goes beyond simple ROI: switch to annualized mode and the total return becomes a yearly rate (the same figure as CAGR), which is what you need to compare investments held for different lengths of time fairly.
It works for any scenario — a marketing campaign, a business project, a rental property, or a financial investment — using the same formula and the same interface every time.
ROI vs. ROAS
Different metrics, not interchangeable
Frequently asked questions
ROI stands for Return on Investment — it measures how much profit you made relative to what you spent. The formula is ROI = [(Return − Investment) / Investment] × 100. A $5,000 investment that returns $18,000 has a 260% ROI.
ROI measures net profit as a percentage of total cost, after subtracting margin and other expenses. ROAS measures gross revenue per dollar spent on ads, without subtracting any costs. That's why ROAS numbers are almost always higher than ROI on the same campaign.
Annualized ROI = [(1 + total ROI)^(1/n) − 1] × 100, where n is the number of years. An 80% total ROI over 3 years works out to about 21.6% per year — very different from a naive 80% ÷ 3.
There's no universal number. It depends on the risk you took, how long your money was tied up and what you could have earned elsewhere. Compare the annualized ROI with the yearly return of a safer alternative over the same period: if the gap doesn't pay for the extra risk, the investment wasn't worth it.
Yes. Both answer the same question, the constant yearly rate that turns the amount invested into the amount returned, using (1 + ROI)^(1/n) − 1. That's why the calculator shows the same number in both fields.
Add up the benefits for the whole period and enter that total as Amount Returned, with the project cost as Amount Invested. A $600,000 project that brings in $200,000 a year for 5 years returns $1,000,000: ROI = 66.67%. In annualized mode with 5 years, that's about 10.76% a year. Keep in mind the annualized figure treats the return as arriving all at the end, so it understates projects that pay back steadily.
Further reading
Related Tools
- Compound Interest Calculator with Monthly Contributions Finance Project savings with monthly and extra deposits, then see the final balance after tax and inflation, year by year with a chart. Free, no signup.
- Loan Amortization Calculator: Fixed vs Equal Principal Finance Get the monthly payment, total interest and a month-by-month amortization schedule. Compare fixed and equal-principal payments, then export to CSV.
- Percentage Calculator: X% of Y, Percent Change & Increase Finance Find X% of Y, what percent one number is of another, the percent increase or decrease between two values, and add or subtract a percentage. Formulas shown.
- Retirement Savings Calculator: How Much to Save per Month Finance Enter your age, retirement age and the monthly income you want: get the nest egg (25x rule, inflation-adjusted) and the monthly saving needed to reach it.
- BMI Calculator: WHO Categories & Healthy Weight Range Finance Calculate your BMI in kg and cm or in pounds, feet and inches, see your WHO category and the healthy weight range for your height. Free, in your browser.