Finance

How to Calculate ROI (Formula & Examples)

Return on investment (ROI) is the most fundamental metric for evaluating whether your money is working efficiently—learn the exact formula and how to apply it.

What Is ROI and Why It Matters

ROI (Return on Investment) measures how much profit or loss you've made from an investment relative to the amount you invested. It's expressed as a percentage and answers a simple but critical question: for every dollar invested, how many cents did I gain (or lose)?

ROI matters because it lets you compare completely different investments on the same scale. You might invest $1,000 in a stock and $50,000 in real estate; ROI strips away the dollar amounts and tells you which generated better returns. Whether you're evaluating stocks, bonds, rental properties, business ventures, or marketing campaigns, ROI is the universal language of performance.

The ROI Formula Explained

The basic ROI formula is straightforward: ROI = (Net Profit / Cost of Investment) × 100%. Net Profit is what you gained (or lost) after subtracting your initial investment cost from your final value. Cost of Investment is the original amount you spent.

For example, if you buy a stock for $100 and sell it for $150, your net profit is $50. Divide $50 by $100 to get 0.5, then multiply by 100 to express it as a percentage: 50% ROI.

The formula works for any investment: real estate, business startups, equipment purchases, or marketing spend. What changes is how you define 'profit'—it might include rental income, sale proceeds, cost savings, or revenue generated. The core calculation remains identical, making it remarkably versatile for personal finance and business analysis alike.

  • ROI = (Net Profit ÷ Cost of Investment) × 100%
  • Net Profit = Final Value − Initial Investment
  • Always express ROI as a percentage for easy comparison
  • ROI can be negative if you lose money

Step-by-Step Calculation Examples

Let's walk through a real-world scenario. You invest $5,000 in a mutual fund. After 3 years, it grows to $6,200. Your net profit is $6,200 − $5,000 = $1,200. Divide $1,200 by $5,000 to get 0.24. Multiply by 100: your ROI is 24% over the 3-year period.

Here's a business example: you spend $10,000 launching a marketing campaign and it generates $35,000 in additional revenue (gross). If your product costs $15,000 to produce and deliver, your net profit is $35,000 − $15,000 − $10,000 = $10,000. ROI = ($10,000 ÷ $10,000) × 100% = 100%. You doubled your marketing investment.

Real estate offers another illustration. You buy a rental property for $200,000. After 5 years, it appreciates to $250,000 and you've collected $30,000 in net rental income. Your total gain is $250,000 − $200,000 + $30,000 = $80,000. ROI = ($80,000 ÷ $200,000) × 100% = 40% over 5 years, or roughly 7% annualized.

Annualized ROI and Time-Weighted Returns

A limitation of basic ROI is that it ignores time. A 50% return over 1 year is much better than a 50% return over 10 years, but the raw ROI number doesn't tell you that. To account for time, calculate annualized ROI using the formula: Annualized ROI = ((Final Value ÷ Initial Investment)^(1 ÷ Years) − 1) × 100%.

Using our mutual fund example: ((6,200 ÷ 5,000)^(1 ÷ 3) − 1) × 100% = (1.24^0.333 − 1) × 100% ≈ 7.45% per year. This is more accurate for comparing investments held over different periods. If you're comparing a 24% return over 3 years to a 40% return over 5 years, annualized returns show the 5-year investment actually outperformed on a year-by-year basis.

For complex investments with multiple cash flows (like dividend payments or capital contributions over time), use CAGR (Compound Annual Growth Rate), which you can explore with our dedicated CAGR Calculator to get precise time-adjusted performance metrics.

Common ROI Mistakes to Avoid

The biggest mistake is ignoring the time value of money. A 20% ROI sounds great, but if it took 20 years, you'd have been better off in a steady bond fund. Always calculate or mention the time period explicitly.

Second mistake: forgetting to include all costs. When evaluating rental property ROI, novices often exclude property taxes, maintenance, insurance, and vacancy periods. This inflates their ROI estimate dangerously. Every cost that comes out of your pocket should reduce your profit.

Third: confusing profit margin with ROI. If you earn $20 profit on a $100 sale, your profit margin is 20%. But if that $100 sale required $500 in inventory investment, your ROI is only 4%. ROI looks at your total capital deployed, not just revenue.

  • Don't ignore the time period—annualize for fairness
  • Include all costs: taxes, fees, maintenance, opportunity cost
  • Exclude non-monetary 'investments' like sweat equity (unless quantifiable)
  • Update ROI calculations as investments mature for accurate tracking

Using the ROI Calculator Tool

Manual calculation works fine for simple investments, but FreeToolz offers a free ROI Calculator that handles complex scenarios instantly. Input your initial investment, final value, and time period, and the tool computes ROI, annualized ROI, and net gain—all in your browser, with no signup required.

The calculator also helps you compare multiple investments side by side. For instance, you might calculate ROI for a stock portfolio, a rental property, and a business venture all at once, ranking them by performance. This is invaluable when deciding where to allocate your next $10,000.

Pair the ROI Calculator with our Investment Calculator to model future scenarios. Ask 'what final value do I need to achieve a 15% ROI on this investment?' and run projections before you commit capital. Smart investors use these tools before and after investing to stay accountable to their goals.

ROI in Different Contexts

In personal investing, ROI helps you assess whether your brokerage account, real estate holdings, or cryptocurrency portfolio are meeting your targets. A 7% annual ROI on stocks is reasonable long-term; 2% on savings is less impressive.

In business, marketing teams calculate ROI to justify spend. A social media campaign that costs $5,000 and drives $25,000 in product sales (minus costs) has a clear ROI that justifies continuation or expansion. Business owners also use ROI to evaluate equipment purchases, training programs, and process improvements.

In real estate, investors use ROI to compare single-family rentals, commercial properties, and REITs. A vacation rental with high ROI but high vacancy risk might be riskier than a steady 6% ROI from a diversified REIT. ROI is just one metric; always weigh it against risk and liquidity.

Frequently asked questions

What's a good ROI percentage?

It depends on your investment type and risk tolerance. Stock market returns average 10% annually long-term. Real estate often targets 8–12%. Business ventures might aim for 15–25%. T-bonds yield 4–5%. Compare ROI to alternatives with similar risk profiles.

Can ROI be negative?

Yes. If your investment loses value, ROI is negative. For example, buy at $100, sell at $80: ROI = (−$20 ÷ $100) × 100% = −20%. Negative ROI reveals losing investments and guides decisions to cut losses or reallocate.

How is ROI different from profit?

Profit is absolute dollars gained. ROI is the percentage return on your capital invested. A $10,000 profit on a $50,000 investment (20% ROI) is more efficient than $10,000 profit on a $500,000 investment (2% ROI). ROI shows efficiency.

Should I use ROI or annualized ROI?

Use both. Basic ROI tells you total return; annualized ROI accounts for time. For comparing investments held over different periods, annualized ROI is more honest and prevents false conclusions.

Does ROI include taxes and inflation?

Standard ROI does not. For a complete picture, calculate after-tax ROI (subtract taxes paid) and real ROI (adjust for inflation). Ignoring these can overstate your actual gains, especially on bonds and savings.

Can I calculate ROI for a business I own?

Yes. ROI = (Net Income ÷ Total Capital Invested in the Business) × 100%. Include your initial funding, loans you guaranteed, and retained earnings reinvested. This reveals whether the business earns adequately on your capital.

FreeToolz Editorial Team · Published July 29, 2026 · Updated July 29, 2026

Written and reviewed by the FreeToolz Editorial Team. Guides are for general information and are not professional financial, medical, legal or tax advice. Spotted an error? Tell us.