Skip to content

ROI Calculator

Calculate return on investment (ROI), net profit, and annualized ROI for any investment. Compare stocks, real estate, marketing campaigns, and business decisions with this free ROI tool.

Loading calculator

Preparing ROI Calculator...

Reviewed & Methodology

Every calculator is built using industry-standard formulas, validated against authoritative sources, and reviewed by a credentialed financial professional. All calculations run privately in your browser - no data is stored or shared.

Last reviewed:

Reviewed by:

Written by:

How to Use the ROI Calculator

  1. 1. Enter the investment cost - type the total amount you invested, including any fees or transaction costs.
  2. 2. Enter the amount returned - input the total value received back, including the original investment plus gains.
  3. 3. Enter the investment period - specify how many years you held (or plan to hold) the investment.
  4. 4. Review your results - see net profit, total ROI percentage, and annualized ROI for fair comparisons.
  5. 5. Compare investments - re-run with different scenarios to find the best use of your capital.

ROI Calculator

Return on investment is the most direct way to compare whether one use of capital outperforms another. It strips every investment down to a single question: for every dollar put in, how many dollars came back, and at what annual rate? This calculator computes net profit, total ROI percentage, and annualized ROI so you can put a stock purchase, a rental property, a marketing campaign, and a business equipment decision on the same footing. The total ROI percentage alone can be misleading — a 60% return over 8 years (6.1% annualized) is actually weaker than a 35% return over 2 years (16.1% annualized). Annualized ROI eliminates that distortion and is what this calculator leads with.

How ROI Is Calculated

The three outputs build on each other:

  • Net Profit = Amount Returned - Investment Cost
  • Total ROI = (Net Profit / Investment Cost) x 100
  • Annualized ROI = [(Amount Returned / Investment Cost)^(1/years) - 1] x 100

The annualized formula is the geometric mean — it finds the constant annual growth rate that would have taken your starting cost to your ending value in the given number of years. This is the same math behind CAGR (Compound Annual Growth Rate). For a one-year investment, total ROI and annualized ROI are identical. For any multi-year period, annualized ROI will be lower than total ROI because it accounts for the compounding that would have been required.

Worked Examples

Alex invested $18,000 in index fund shares in January 2021 and sold them for $26,400 in January 2025 — a 4-year hold. Net profit is $8,400, total ROI is 46.7%, and annualized ROI is 10.1%. That 10.1% sits right in line with the S&P 500’s long-run historical average, confirming the investment performed as expected for a passive strategy.

A small business owner spent $12,000 on a Google Ads campaign over 6 months and generated $31,000 in attributable revenue. After subtracting cost of goods and overhead on those sales ($11,500), the net profit from the campaign is $7,500. ROI is 62.5% over 0.5 years, which annualizes to approximately 156%. That’s a strong marketing ROI justifying budget expansion — though the owner should verify the attribution model before scaling spend.

A rental property investor purchased a single-family home for $220,000, spent $18,000 on repairs, and collected $24,000 in rental income over 3 years before selling for $268,000. Total invested: $238,000. Total returned: $268,000 + $24,000 = $292,000. Net profit: $54,000. Total ROI: 22.7%. Annualized ROI: 7.1%. That’s reasonable for real estate with debt-free ownership, but if the investor had used a mortgage, the leveraged ROI on actual cash invested would be considerably higher.

Scenarios at a Glance

Investment CostAmount ReturnedPeriodNet ProfitTotal ROIAnnualized ROI
$5,000$6,5001 yr$1,50030%30.0%
$10,000$12,5001 yr$2,50025%25.0%
$20,000$26,0002 yrs$6,00030%14.0%
$50,000$75,0003 yrs$25,00050%14.5%
$100,000$130,0004 yrs$30,00030%6.8%
$200,000$280,0005 yrs$80,00040%7.0%
$15,000$40,0005 yrs$25,000167%21.7%
$80,000$95,0007 yrs$15,00018.8%2.5%
$250,000$400,0008 yrs$150,00060%6.1%
$30,000$90,00010 yrs$60,000200%11.6%

When to Use This Calculator

  • Comparing investment options — plug in the cost and projected value of each option to find which produces the best annualized return before committing capital
  • Evaluating past performance — calculate what your actual annualized ROI has been across different positions to identify which types of investments have historically worked for you
  • Marketing and business decisions — quantify the return on ad spend, a new hire, or capital equipment by entering total cost and attributable revenue generated
  • Real estate analysis — combine purchase price, renovation costs, rental income, and sale price into a single ROI figure for the full hold period
  • Setting return thresholds — use the calculator to find the minimum amount returned required to beat a benchmark (e.g., 10% annualized) at a given hold period and cost

Common Mistakes to Avoid

  1. Using total ROI to compare investments of different lengths. A real estate deal that delivers 80% total ROI over 10 years (6.1% annualized) looks impressive next to a stock position that returned 35% in 2 years (16.1% annualized) — until you annualize both. The stock nearly tripled the annual performance. Always use annualized ROI for any comparison across different holding periods.

  2. Leaving costs out of the investment amount. A $50,000 stock purchase with $500 in commissions and $2,100 in realized capital gains taxes at sale should use $52,600 as cost. Omitting those fees inflates your ROI by about 5 percentage points on a modest gain. For real estate, leaving out closing costs, property taxes, repairs, and vacancy losses can make a mediocre deal look excellent on paper.

  3. Ignoring opportunity cost. An 8% annualized ROI is not a guaranteed winner. If Treasury bonds are yielding 4.5% risk-free, your investment’s risk premium is only 3.5 percentage points. On a $100,000 investment, you earned $3,500/year more than a zero-risk alternative. Whether that compensates for the risk taken depends on the asset class and your situation.

  4. Treating projected returns as guaranteed. Running this calculator with an assumed 15% annual return on a speculative investment is fine for scenario planning, but build in a pessimistic case too. A $50,000 investment at 5% annualized over 5 years returns $63,800. At -5% annualized, it returns $38,800. The downside scenario is as important as the upside.

Current Context for 2026

The 10-year S&P 500 trailing average annualized return through early 2026 is approximately 12.5% nominal, boosted by the 2023-2025 bull market, though the long-run historical average since 1928 is closer to 10% nominal and 7% after inflation. The risk-free rate — measured by 3-month Treasury bills — sits around 4.3% as of early 2026, meaning any investment needs to clear at least that hurdle to justify taking on risk. Residential real estate in most U.S. markets delivered total price appreciation of 35-55% over the 2020-2025 period, but cap rates on rental properties have compressed to 4-6% in most metros, making cash flow harder to achieve without significant leverage. Marketing ROI benchmarks vary widely: e-commerce brands typically target 4:1 to 6:1 (300-500% ROI), while B2B SaaS companies often see longer payback periods with 18-36 month ROI timelines.

Tips

  1. Always annualize your ROI before comparing two investments — a 3-year 45% return and a 1-year 30% return are not close, the latter is nearly twice as strong annually
  2. Build a conservative, base, and optimistic case for every investment scenario — the spread between them reveals the actual risk you’re taking
  3. Include all transaction costs, taxes, and carrying costs in your investment amount; forgetting a 3% real estate commission on a $300,000 sale is a $9,000 error in your ROI calculation
  4. Use the risk-free rate (current Treasury yield, roughly 4-5%) as your minimum benchmark — if your investment doesn’t beat it, you are being paid to take risk that isn’t compensating you
  5. For business investments, define what “amount returned” means before running the calculation — revenue, gross profit, and net profit after overhead all produce very different ROI figures from the same campaign
  6. A negative ROI is useful information too — entering a worst-case scenario before committing capital makes the downside concrete rather than abstract

ROI is a starting point, not the full picture. The Profit Margin Calculator is the right tool for business decisions where you need to separate revenue from actual profit before computing return. The Tax Calculator matters for investment ROI because capital gains tax — 0%, 15%, or 20% depending on income and holding period — directly reduces your net return; a 25% total ROI in the 20% capital gains bracket becomes roughly 20% after tax. The Salary Calculator and Commission Calculator help quantify the ROI of career moves or performance-based compensation changes. For investments with ongoing cash flows at different times, the Compound Interest Calculator can model reinvestment scenarios that simple ROI doesn’t capture.

Frequently Asked Questions

How do you calculate return on investment (ROI)?
ROI is calculated as (Net Profit / Investment Cost) x 100, where Net Profit equals the Amount Returned minus the Investment Cost. For example, if you invest $10,000 and receive $13,000 back, your net profit is $3,000 and your ROI is 30%. Be sure to include all costs (transaction fees, taxes, maintenance) in the investment cost for an accurate result.
What is annualized ROI and why does it matter?
Annualized ROI normalizes your return to a per-year basis using the formula [(Amount Returned / Investment Cost)^(1/years) - 1] x 100. This allows fair comparison between investments held for different time periods. A 50% total ROI over 5 years (8.4% annualized) is actually a weaker annual performance than a 25% ROI over 2 years (11.8% annualized), even though the total percentage is higher.
How does ROI compare to other investment metrics like IRR or CAGR?
ROI is the simplest profitability metric but does not account for the timing of cash flows. Internal Rate of Return (IRR) is better for investments with multiple cash flows at different times, like rental property with monthly income. Compound Annual Growth Rate (CAGR) is essentially the same as annualized ROI -- both normalize returns to a yearly rate. Use ROI for quick comparisons and IRR when cash flow timing varies significantly.
What is considered a good ROI benchmark?
A good ROI depends on the investment type and risk level. The S&P 500 has historically returned about 10% annually (roughly 7% after inflation), which serves as a common benchmark for equities. Real estate typically targets 8-12% annually including appreciation and rental income. Marketing campaigns often aim for 5:1 ROI (400% return). Any investment should beat the risk-free rate (currently around 4-5% from Treasury bonds) to justify taking on additional risk.
What are the limitations of using ROI as a decision metric?
ROI does not account for time value of money (a dollar today is worth more than a dollar tomorrow), risk differences between investments, opportunity cost, or the scale of the investment. A 100% ROI on a $100 investment ($100 profit) is a great percentage but a tiny amount compared to a 10% ROI on $1,000,000 ($100,000 profit). ROI also ignores ongoing cash flows and liquidity, so it works best as one metric among several when evaluating investment decisions.

Explore More Tax & Business Tools

Tax Calculator: Try our free tax calculator for instant results.

Sales Tax Calculator: Try our free sales tax calculator for instant results.

Salary Calculator: Try our free salary calculator for instant results.

Take Home Pay Calculator: Try our free take home pay calculator for instant results.

Profit Margin Calculator: Try our free profit margin calculator for instant results.

Commission Calculator: Try our free commission calculator for instant results.

Calculators