Free ROI Calculator

Calculate return on investment (ROI), total gain or loss, and annualized ROI for any investment. Covers stocks, real estate, business projects, and marketing.

Enter your details
$
$

Used to calculate annualized ROI. Leave at 1 for a single-period return.

Result
Enter your details on the left, then press Calculate.

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.

Related calculators

Frequently asked questions

What is a good ROI?

It depends on the asset class and time horizon. S&P 500: historical average ~10%/year before inflation. Real estate: typically 8-12% total return including appreciation and rental yield. High-yield savings (2024): 4-5%. Marketing/advertising ROI: 5:1 ($5 return per $1 spent) is often cited as a solid benchmark. Higher expected returns generally come with higher risk.

What is the difference between ROI and IRR?

ROI measures total return as a percentage without accounting for the timing of cash flows. IRR (Internal Rate of Return) is the annualized rate that makes the net present value of all cash flows equal to zero β€” it accounts for when money enters and exits. ROI is simpler and works for single-period investments. IRR is better for comparing projects with different durations and multiple cash flows.

How do I calculate ROI on real estate?

Total ROI = (Net Profit / Total Investment) x 100. Net Profit includes appreciation (sale price - purchase price) plus rental income minus operating expenses (repairs, taxes, insurance, management fees, vacancy). Total Investment includes down payment, closing costs, and capital improvements. Also useful: Cash-on-Cash Return (annual net cash flow / cash invested) and Cap Rate (NOI / purchase price).

What's the difference between ROI and IRR?

ROI measures total return as a percentage of initial investment, without accounting for the timing of cash flows. IRR (Internal Rate of Return) is the annualized rate that makes the net present value of all cash flows (initial outflow + intermediate cash flows + final outflow) equal to zero. ROI is simpler and works for single-period investments. IRR is the right tool when you have multiple cash flows over multiple years β€” rental income from a property, dividend reinvestments, capital calls and distributions in a private investment. Spreadsheets compute IRR with the =IRR() function.

How do I include taxes and fees in ROI?

Net them. Subtract every outflow (transaction fees, broker commissions, property taxes during holding period, capital gains tax on exit, management fees) from your gross final value, then run the ROI formula. The result is after-tax, after-fee ROI β€” far more meaningful than the gross headline number. The simplification most retail tools (this one included) make: they show gross ROI and leave the netting to you. For real-money decisions, do the netting before celebrating any number.

Why does annualized ROI differ so much from total ROI?

Compounding. A 100% total ROI over 10 years annualizes to about 7.18% per year (not 10% β€” money grew at 7.18% compounded). A 100% total ROI over 2 years annualizes to about 41.4% per year. The formula: annualized = (1 + total ROI)^(1/years) βˆ’ 1. Without the compounding adjustment, dividing total ROI by years gives the wrong answer (it would say a 100% over 10 years = 10% per year, but you'd actually need 7.18% to compound to 100% over 10 years). Always use the compounding formula for annualizing.

What's a 'good' marketing ROI?

5:1 β€” $5 of revenue per $1 of ad spend β€” is often cited as a solid benchmark for direct-response campaigns. 3:1 is breakeven for many businesses once cost of goods and overhead are factored in. 10:1+ is exceptional and usually indicates either a wildly mispriced offer, a small launch with limited scale, or measurement that's giving the campaign credit it didn't deserve. The bigger issue with marketing ROI: attribution. If a customer saw your Instagram ad, your podcast sponsorship, and a friend's recommendation before buying, all three channels claim credit β€” total attributed ROI can sum to 12:1 even though your blended ROI is 4:1.

How does leverage affect ROI?

Leverage amplifies ROI in both directions. If you put $40K down on a $200K rental property (20% LTV) and the property appreciates to $260K, your equity becomes $100K (sale price minus remaining $160K mortgage) β€” a 150% ROI on your $40K. Without leverage (all-cash $200K purchase), the same appreciation is $60K of gain on $200K β€” a 30% ROI. Leverage 5x'd your return. The downside: a 25% price drop wipes out your $40K equity entirely (the property is now worth $150K, you still owe $160K) β€” a βˆ’100%+ ROI. Leverage makes good deals great and bad deals catastrophic. Most personal real estate stories that ended in foreclosure during 2008 were leverage stories.