What is this calculator for?
You put $42,000 into a friend's restaurant in 2019. The restaurant closed in 2024 and you got back $11,000. Or you bought a rental property in Phoenix for $215,000 in 2017, collected six years of rents minus expenses, and just sold it for $389,000. Or you spent $7,500 on a digital marketing campaign that drove $34,000 of revenue. All three of these are ROI questions: what was the return on the money I put in.
ROI β return on investment β is the simplest and most-abused metric in finance. The base formula is straightforward: ROI = (gain Γ· initial investment) Γ 100. The $42,000 restaurant investment that returned $11,000 had an ROI of β73.8%. The Phoenix house had a roughly +81% total ROI before factoring in rent income, taxes, and selling costs. The marketing campaign had a 353% ROI on the spend.
Where ROI gets tricky is in what it doesn't include: time, risk, ongoing costs, taxes, and cash flow timing. A 50% ROI over six months and a 50% ROI over six years are wildly different on an annualized basis. This calculator handles both β single-period ROI and annualized ROI for investments held longer than a year β so you can compare a stock you held for 18 months against a real-estate deal you held for 7 years on an apples-to-apples basis.
How to use this calculator
Enter the initial investment as everything you put in. For a stock purchase, that's shares Γ purchase price + transaction fees. For real estate, that's down payment + closing costs + immediate repairs + any pre-rental expenses. For a business investment, the capital you committed. For a marketing campaign, the total ad spend including agency fees and creative production. Be honest about all-in costs β people often underestimate the "initial investment" by ignoring closing costs, fees, and capital deployed early in the project.
The final value is what you ended up with, or what the asset is worth today if you haven't sold. For a closed-out deal, the sale price minus selling costs (commissions, taxes, transfer fees). For an ongoing investment, current market value. For a marketing campaign, the revenue (or attributable LTV) generated. Don't subtract ongoing operating expenses from the final value β those should already be netted against any cash flows from the investment, which the simple ROI formula doesn't capture directly. If you want to include cash flows, add net cash flows received during the holding period to the final value.
Time period in years lets the calculator compute annualized ROI for multi-year investments. Leave at 1 if you only want simple period ROI. For investments held under a year, leave at 1 β annualizing a 3-month return into an "annual" rate often overstates expectations (a stock that gained 8% in 3 months did not gain 32% annually; it gained 8% in three months). For investments held over a year, the annualized ROI is the right number to compare across investments of different durations.
Understanding your results
The headline number is ROI %, the percentage gain or loss on the initial investment. The total gain (or loss) in dollars shows the absolute outcome. For multi-year holds, the annualized ROI tells you the equivalent yearly compound rate of return β far more meaningful for comparison than total ROI.
How to interpret an ROI in context: stock market historical average is about 10% nominal annualized (7% real). Real estate generally runs 8-12% total return including rents. High-yield savings in 2024 ran 4-5%. Bonds 4-5%. Anything claiming 25%+ annualized returns over a long period is either temporary luck, hidden risk, leverage, or fraud β the most successful active investors in history (Warren Buffett, Renaissance Technologies' Medallion fund) generated 20-30% annualized returns and that's considered legendary performance. If a deal pitch promises 40%+ annualized, the question to ask is "what could go wrong that you're not telling me about."
The most important interpretive trap: total ROI without time is meaningless. A "200% ROI" sounds amazing until you learn it took 25 years (~4.5% annualized β worse than savings accounts as of late 2024). A "20% ROI" sounds modest until you learn it took 6 months (~44% annualized β exceptional). Always ask "over how long." The calculator surfaces this when you enter a time period; never report ROI without the duration.
Two other reality checks. First, ROI ignores taxes β your $30,000 of capital gains might be $24,000 after long-term capital gains tax (15-20% federal plus state). Second, ROI ignores risk β a 12% ROI on a Treasury bond is dramatically different from a 12% ROI on a junk bond or a single-stock concentrated bet. When comparing investments, normalize for both: after-tax annualized return, adjusted for risk. The calculator handles the time normalization; you have to handle the rest yourself.
A worked example
Ahmed, a 38-year-old commercial real estate broker in Houston, is evaluating three completed deals to figure out which actually performed best.
Deal 1: He bought a duplex for $140,000 cash in 2018, sold it for $215,000 in 2024. Holding period: 6 years. Rent income net of expenses: $34,000 cumulative. Total final value: $249,000 (sale + cash flows). ROI: ($249,000 β $140,000) Γ· $140,000 = 77.9% total, annualized to about 10.1% per year. Solid; close to long-term stock market returns.
Deal 2: He put $45,000 into a friend's restaurant in 2020, received zero distributions, restaurant closed in 2024, he recovered $9,200 from asset sale. Total ROI: ($9,200 β $45,000) Γ· $45,000 = β79.6%. Annualized over 4 years: about β33.5% per year. A devastating loss; better to have parked the $45,000 in CDs at 4%.
Deal 3: He bought 200 shares of NVDA at $32 in 2019 for $6,400. Sold half in 2024 at $890 (180 shares Γ $890 β wait, he held 200, sold 100 at $890 = $89,000). Held the other 100. Current value of remaining shares: $89,000. Total recovered + still-held: $178,000. ROI on the full position: ($178,000 β $6,400) Γ· $6,400 = 2,681%. Annualized over 5 years: 95.4% per year. Genuinely exceptional, but Ahmed is the first to admit it was luck, not skill β he had no special insight, just held through volatility he could afford because the position was small.
Comparing the three: the stock pick was 10x better on annualized ROI than the real estate, which was 10% per year. The restaurant was catastrophic. The lesson is not "stocks beat real estate" β the stock was 5-year hindsight on a specific company. The lesson is that the right comparison is annualized risk-adjusted return, and a "200% gain" on a real estate deal over six years versus "β80% loss" on a restaurant over four years are not comparable until you normalize time.
Related resources
For long-horizon compounding math that underlies all return calculations, see the Compound Interest Calculator. For business-pricing decisions on the seller side, the Margin & Markup Calculator. For evaluating debt-payoff as a "return on investment" (paying down 22% credit card debt is a guaranteed 22% ROI), see the Credit Card Payoff Calculator. For real-estate-specific math on rent versus buy decisions, Buy vs Rent. The SEC's investor.gov provides plain-language explanations of return calculations, investment risk, and the federal regulator's view on common ROI misrepresentations to watch for in deal pitches.