Blucalculator Open Tool

ROI Calculator

Calculate Return on Investment, annualized ROI, and investment performance across standard, marketing, and real estate scenarios.

Embed This Calculator

Copy the code and paste it into any webpage to embed this calculator.

WordPress users: add a Custom HTML block (not the Embed block) and paste the code there.

More embed options

Free to use. A small "Powered by Blucalculator" credit is appreciated but not required.

How to use this calculator

This calculator has three modes: Standard ROI, Marketing ROI, and Real Estate ROI. Pick the one that fits your situation.

Standard ROI covers any investment where you put money in and get money back.

  • Investment Cost is what you paid upfront. Include the full purchase price.
  • Final Value is what the investment is worth now, or what you sold it for.
  • Additional Costs (optional) covers ongoing fees, maintenance, taxes, or anything else you paid after the initial purchase. These reduce your ROI.
  • Holding Period (optional, in years) enables the annualized ROI calculation. Without it, you only get total ROI.
  • Inflation Rate (optional) converts your nominal ROI into a real ROI that accounts for purchasing power.

Marketing ROI mode focuses on ad campaign profitability:

  • Ad Spend is your total spend on the campaign.
  • Revenue Generated is the total revenue you can attribute to that campaign.
  • COGS % is what percentage of that revenue went to the cost of goods. This is essential: using gross revenue without subtracting COGS dramatically overstates marketing returns.

Real Estate ROI mode handles rental properties:

  • Purchase Price, Annual Rental Income, Annual Expenses (property tax, insurance, maintenance), Sale Price, and Years Held together give you both cash-on-cash return and total ROI including appreciation.

Worked example: Standard ROI with annualized return

You bought shares in an index fund for $10,000. Five years later they’re worth $16,105. No additional costs.

  • Total ROI = ($16,105 - $10,000) / $10,000 × 100 = 61.1%
  • Annualized ROI = (16,105 / 10,000)^(1/5) - 1 = 10% per year

Always enter the holding period when you’re comparing investments of different lengths. A 50% total return over 10 years (4.1% annualized) looks very different from a 50% return over 3 years (14.5% annualized). The annualized number makes apples-to-apples comparisons possible.


What ROI actually is

ROI measures how much you got back relative to what you put in. It’s intentionally broad: the same formula works for a stock trade, a marketing campaign, a rental property, or a piece of factory equipment.

ROI answers the question: "For every dollar I spent, how many dollars did I get back in profit?"

That flexibility is ROI’s biggest strength and its most common source of confusion. A 30% ROI means completely different things depending on whether it happened over one year or ten. It also means something different depending on what costs you decided to include. The formula is simple; applying it honestly is where people go wrong.

ROI is not the same as rate of return, though the two overlap. Rate of return is typically used in finance and investing contexts, often on an annualized basis. ROI is broader: it’s the preferred metric for business decisions, marketing analysis, and real estate, where “return” includes things like rental income, gross profit margins, and campaign-attributed revenue. This calculator handles all three contexts with the appropriate formulas for each.


The formulas and the calculations

Simple ROI:

ROI = (Final Value - Cost) / Cost × 100

Annualized ROI (CAGR):

Annualized ROI = (Final Value / Cost)^(1/years) - 1

Marketing ROI:

Marketing ROI = (Revenue - COGS - Ad Spend) / Ad Spend × 100

ROAS (Return on Ad Spend):

ROAS = Revenue / Ad Spend

Real Estate Total ROI:

Total ROI = (Total Rental Income + Sale Profit - All Expenses) / Purchase Price × 100

Annualized ROI worked example

Two investments both return 40% total ROI. Investment A takes 2 years. Investment B takes 7 years.

  • Investment A annualized: (1.40)^(1/2) - 1 = 18.3% per year
  • Investment B annualized: (1.40)^(1/7) - 1 = 5.0% per year

The difference is enormous. Same headline number, very different actual performance.


ROI vs. other return metrics: what makes ROI different

ROI is the broadest return metric. It’s designed to work across business contexts where other measures don’t apply cleanly.

Rate of return (or total return) typically assumes you put money into a financial asset and wait for it to grow. ROI generalizes this: you can include ongoing cash flows (like rental income), subtract operating costs, and apply it to non-financial assets like equipment or marketing spend.

Comparing two “40% return” investments

A $50,000 stock investment grows to $70,000 in 3 years. Simple ROI = 40%. Annualized = 11.9%.

A $50,000 real estate investment generates $6,000/year in net rental income for 3 years ($18,000 total) and sells for $58,000. Total cash out = $18,000 + $58,000 = $76,000. Total ROI = ($76,000 - $50,000) / $50,000 = 52%. Annualized = 15.2%.

The real estate investment looks better once you include both the rental income and the capital gain. A simple “final value vs. cost” comparison would miss the rental income entirely.

Marketing ROI works the same way. If you spent $5,000 on ads and generated $20,000 in revenue with 60% COGS, your gross profit is $8,000. Marketing ROI = ($8,000 - $5,000) / $5,000 × 100 = 60%. If you’d used revenue instead of gross profit, you’d get ($20,000 - $5,000) / $5,000 = 300%, a number that looks great but tells you nothing about actual profitability.


ROI vs IRR: when simple ROI isn’t enough

Simple ROI handles single investments with a clear entry and exit point well. It struggles with two scenarios: uneven cash flows, and projects that generate income along the way.

If you invest $50,000 in a business and receive $10,000 in year 1, $20,000 in year 2, and $30,000 in year 3, what’s the ROI? The total cash received is $60,000 on a $50,000 investment, so total ROI is 20%. But the annualized ROI formula assumes the full $50,000 was tied up for all 3 years and returned as a single lump sum at the end. That’s not what happened. You got money back progressively, which means the later cash flows had shorter exposure periods.

For investments with uneven interim cash flows, use IRR (Internal Rate of Return) instead. IRR calculates the annualized return that makes the present value of all cash flows equal to zero, properly accounting for when each cash flow arrives.

ROI vs IRR for the same investment

Investment: $50,000 upfront. Cash flows: Year 1: $10,000, Year 2: $20,000, Year 3: $30,000.

Simple total ROI = ($60,000 - $50,000) / $50,000 = 20% Annualized ROI (treating $60K as lump sum at year 3): (1.20)^(1/3) - 1 = 6.3% IRR (accounting for timing of each cash flow): 11.6%

The IRR figure is more accurate because it credits the early cash flows for their shorter holding period. The annualized ROI undercounts by 5 percentage points.

Use simple ROI for one-shot decisions where the return arrives at the end. Use IRR for multi-period projects with varying cash flows. Use this ROI calculator’s annualized figure as a reasonable approximation when the cash flows are roughly even.


ROI benchmarks by context

“Good” ROI depends entirely on what you’re measuring and over what time period.

ContextBenchmarkNotes
US stock market (S&P 500)~10% annualizedHistorical average including dividends, before inflation
Real estate (residential)8% - 12% annualizedVaries widely by market and leverage used
Marketing: ROAS4:1 - 5:1 is good, 10:1+ is greatIndustry average is around 2:1; break-even at ~1.25:1 for 20% margins
Marketing ROI (gross profit basis)100%+ for a good campaignMeans you got back more than 2× your ad spend in gross profit
Small business equipment15% - 25%Depends on industry and depreciation
Angel / seed investing20%+ annualized targetHigh failure rate means the wins must compensate
Savings account (2024)4% - 5%The risk-free baseline you should always beat

The stock market benchmark matters because it’s your opportunity cost. If a business investment returns 8% annualized and you could have just bought an index fund for 10%, the investment destroyed value even though it had a positive ROI.


Real-world examples

Example 1: E-commerce product line investment

A small business invests $30,000 to develop and launch a new product line: $20,000 in inventory, $5,000 in design and photography, $5,000 in initial paid ads. After 18 months, they’ve sold $65,000 in revenue. COGS on the product is 45%.

Gross profit from sales = $65,000 × (1 - 0.45) = $35,750 Total investment = $30,000 ROI = ($35,750 - $30,000) / $30,000 × 100 = 19.2% Annualized = (35,750/30,000)^(1/1.5) - 1 = 12.3% per year

Not a home run, but solid for a new product launch. The next step would be checking if this beats the cost of capital.

Example 2: Digital ad campaign

An online retailer runs a Google Shopping campaign for 30 days. Ad spend: $8,000. Attributed revenue: $42,000. Average gross margin: 35%.

Gross profit from campaign = $42,000 × 0.35 = $14,700 Marketing ROI = ($14,700 - $8,000) / $8,000 × 100 = 83.75% ROAS = $42,000 / $8,000 = 5.25×

A ROAS of 5.25× means for every $1 spent on ads, $5.25 came back in revenue. For a 35% margin business, the break-even ROAS is about 2.86× ($1 / 0.35). This campaign is well above break-even.


Common mistakes

Ignoring time. A 100% total return sounds incredible. But if it took 20 years, that’s 3.5% annualized, which barely beats inflation. Always annualize when comparing investments of different durations.

Using revenue instead of gross profit in marketing ROI. This is the most common marketing math error. Revenue includes the cost of the product you sold. If your margins are 30%, then $100 in revenue is only $30 in gross profit. Calculating marketing ROI on revenue overstates your return by a factor of 3 or more.

Leaving out costs. For a business investment, the cost isn’t just the check you wrote on day one. It includes ongoing maintenance, management time (priced at opportunity cost), taxes, fees, and anything else that came out of your pocket. Undercount costs and your ROI looks better than it is.

Comparing different holding periods without annualizing. “This deal returned 60%, that one returned 40%, obviously pick the 60%” misses the point entirely if the first took 10 years and the second took 18 months.

Confusing nominal and real ROI. A 9% annualized return during a 4% inflation period is only a 5% real return. For long-term investments, the inflation adjustment matters.

Attributing all revenue to the campaign. In marketing ROI analysis, not every sale that happened during the campaign was caused by the campaign. Over-attribution inflates your marketing ROI and leads to over-spending on channels that aren’t actually driving results.


The bottom line

ROI is the most versatile return metric you have, but it’s only as accurate as the numbers you feed it. Always include all costs, always annualize when comparing across time periods, and always use gross profit (not revenue) in marketing analysis. A good ROI calculation tells you whether a decision actually made financial sense. A sloppy one just confirms what you wanted to hear.

Frequently Asked Questions

What is Return on Investment (ROI)?

ROI measures how much profit or loss an investment generates relative to its cost. Formula: ROI = (Net Profit / Investment Cost) × 100, where Net Profit = Final Value − Initial Investment − Additional Costs. A positive ROI means the investment earned more than it cost; a negative ROI means a loss.

What is a good ROI for an investment?

A good ROI varies by investment type and time horizon. The S&P 500 has averaged ~10% annually over the long term. Real estate rentals typically yield 6–12% annually. A marketing ROI of 5:1 (500%) is generally considered strong. Always compare ROI to the opportunity cost of capital and the risk taken.

How do you calculate annualized ROI?

Annualized ROI = (1 + ROI/100)^(1/years) − 1. For example, a 60% total ROI over 4 years equals an annualized ROI of about 12.9%. This converts any multi-year total return into a comparable annual rate, allowing fair comparison between investments held for different durations.

What is the difference between ROI and ROAS?

ROAS (Return on Ad Spend) = Revenue ÷ Ad Spend. It's a gross revenue ratio. Marketing ROI accounts for the cost of goods: Marketing ROI = (Revenue − COGS − Ad Spend) / Ad Spend × 100. A ROAS of 4× could be unprofitable if COGS is 80%. ROI is a profitability measure; ROAS is a revenue efficiency measure.

What are good marketing ROI benchmarks?

Marketing ROI benchmarks vary by channel: email marketing averages 36:1 ROI (3,600%), SEO content averages 6:1 to 12:1, paid search (Google Ads) averages 2:1 to 5:1, social media advertising 2:1 to 4:1. A general rule of thumb: a 5:1 marketing ROI is strong; 10:1 is exceptional. Below 2:1 often doesn't cover overhead.

How do you calculate real estate ROI?

Real estate ROI = (Net Rental Income + Appreciation) / Purchase Price × 100. Net Rental Income = Annual Rent − Operating Expenses. Cash-on-cash return = Net Rental Income / Purchase Price × 100 (ignoring appreciation). Cap rate = NOI / Property Value × 100. Typical residential rental ROI: 6–12% annually depending on location.

What is the difference between ROI and IRR?

ROI is a simple total return percentage that ignores the time value of money. IRR (Internal Rate of Return) is the annualised discount rate that makes the NPV of all cash flows equal zero — it accounts for when each cash flow occurs. For multi-year investments with irregular cash flows, IRR is more accurate. For simple before/after comparisons, ROI is sufficient.

How does inflation affect ROI?

Nominal ROI does not account for purchasing power loss. Real ROI = (1 + Nominal ROI) / (1 + Inflation Rate) − 1. For example, a 10% ROI with 3% inflation gives a real ROI of ~6.8%. Long-term investors should always consider real (inflation-adjusted) returns when evaluating whether an investment preserved or grew their purchasing power.

Can ROI be negative?

Yes. A negative ROI means the investment lost money. Example: Invest $10,000, end up with $8,000 → ROI = −20%. Negative ROI can still be acceptable if it protects against a worse outcome (e.g., insurance), but for most investments, negative ROI represents a loss that should be minimized or avoided.

What are the limitations of ROI as a metric?

ROI limitations: (1) Ignores time value of money — a 50% ROI over 10 years is less impressive than the same return over 2 years; (2) Does not account for risk; (3) Can be manipulated by selecting favorable time windows; (4) For marketing, it's often hard to attribute revenue to a single campaign; (5) Ignores opportunity cost — what else could the capital have earned?

Related Calculators