How to Calculate ROI (Return on Investment) the Right Way
Basic ROI ignores time, risk, and hidden costs. Learn how to calculate annualized ROI, business ROI, marketing ROI, and real estate ROI correctly.
ROI — Return on Investment — is one of the most misused metrics in business and investing. People throw the term around loosely, comparing wildly different types of investments without accounting for time, risk, or the full picture of costs. When calculated correctly, ROI is genuinely one of the most useful tools for making better financial decisions. Here's how to do it right.
The Basic ROI Formula
The foundational formula is simple:
ROI = (Net Profit ÷ Cost of Investment) × 100
Net profit is what you gained after subtracting your total costs from your total returns. Cost of investment is what you put in. Multiply by 100 to express it as a percentage.
Say you bought 20 shares of a stock at $45 per share ($900 total), then sold them at $67 per share ($1,340 total). Your net profit is $440. Your ROI: ($440 ÷ $900) × 100 = 48.9%.
Simple enough. But this basic calculation has limitations that matter enormously when you're making real decisions.
The Problem with Basic ROI: It Ignores Time
A 48.9% return sounds excellent. But what if it took 8 years to achieve? And what if an index fund returned 45% over the same period? You assumed more risk in a single stock and barely outperformed the market after nearly a decade.
This is why Annualized ROI (also called CAGR — Compound Annual Growth Rate) is far more useful when comparing investments with different time horizons.
Annualized ROI = [(Ending Value ÷ Beginning Value)^(1/n) - 1] × 100
Where n is the number of years. Using our stock example over 8 years: ($1,340 ÷ $900)^(1/8) - 1 = 1.4889^(0.125) - 1 = 1.0511 - 1 = 5.11% annualized.
That's a very different story than "48.9% return." The investment earned about 5.1% per year — roughly in line with a bond, not a stock. Annualized ROI lets you make honest comparisons.
Business ROI: Including All Real Costs
Where ROI calculations most often go wrong in business is the cost side. People count the obvious expenses but miss the embedded ones, which leads to dramatically overstated returns.
Say you're a 42-year-old marketing manager at a mid-sized company evaluating whether to launch a new advertising campaign. You spend $12,000 on the campaign and generate $31,000 in new revenue. Basic ROI: ($31,000 - $12,000) ÷ $12,000 = 158%. Looks incredible.
But did you include your own time? If you spent 40 hours managing the campaign at your fully-loaded cost of $65/hour, that's $2,600 in labor. Did you include the cost of goods sold on those new sales? If your gross margin is 55%, you only kept $17,050 of that $31,000 revenue. Include software tools used, any agency fees, or travel. The real net profit might be closer to $2,450 — and real ROI: ($2,450 ÷ $14,600) × 100 = 16.8%.
Still positive, but it changes the conversation entirely about whether this campaign was worth running again.
Social Media and Marketing ROI
Marketing ROI is particularly prone to cherry-picking. Most marketing ROI calculations include revenue directly attributed to the campaign but exclude the time spent creating content, the ongoing tool costs, and the opportunity cost of what else you could have done with that time and budget.
A comprehensive marketing ROI formula:
Marketing ROI = (Revenue Attributable to Marketing - Cost of Goods Sold - Marketing Cost) ÷ Marketing Cost × 100
For email marketing, a common industry benchmark is $36 return for every $1 spent — which sounds extraordinary but typically applies to already-warm lists with proper segmentation. The ROI for building that list from scratch, including all the content and automation setup, is often far lower. Don't compare your nascent email program to the industry benchmark without accounting for the full investment to get there.
Real Estate ROI
Real estate ROI calculations are more complex because the investment produces multiple simultaneous returns: rental income, appreciation, and principal paydown on the mortgage (if you're using leverage).
Cash-on-Cash Return measures the annual pre-tax cash flow against the actual cash invested:
Cash-on-Cash ROI = Annual Net Cash Flow ÷ Total Cash Invested × 100
If you purchased a rental property for $240,000 with $60,000 down, and after mortgage payments, taxes, insurance, maintenance, and vacancy reserves you net $5,400 per year: Cash-on-Cash = $5,400 ÷ $60,000 = 9.0%.
Total ROI including appreciation (say 4% annually on $240,000 = $9,600) and principal paydown (roughly $4,200 in year 1 depending on the loan): total annual benefit is $5,400 + $9,600 + $4,200 = $19,200. Total ROI on cash invested: $19,200 ÷ $60,000 = 32%. That's the power of leverage in real estate — you're earning returns on the full property value with only a fraction of your own capital.
Comparing ROI Across Asset Classes
When comparing investments across different types — stocks, real estate, business investments, bonds — annualized ROI is the only fair metric. But risk must enter the conversation too, because two investments with identical ROI are not equally attractive if one has dramatically higher volatility or longer illiquidity.
Risk-adjusted return is why Treasury bonds (very low risk, ~4-5% current yield) and small-cap stocks (higher risk, potentially 10-12% historical annualized) aren't directly comparable by ROI alone. Investors demand higher ROI from riskier assets — that premium is called the risk premium, and it's why no rational investor would put money in stocks at the same expected return as a guaranteed government bond.
The practical takeaway: when you see a high ROI figure anywhere, the first questions to ask are "over what time period?" and "what was the risk?" Those two adjustments will tell you whether that return is genuinely impressive or just well-marketed.
Related Calculators
Written by
Marcus Webb
Personal Finance Writer
Marcus spent eight years as a mortgage loan officer at a regional bank in Nashville before leaving to write about the financial decisions most people get wrong. He's been broke, gotten out of debt, and bought two houses — which he thinks qualifies him to explain this stuff better than someone who's only read about it.