To calculate ROI, subtract the cost of the investment from the net profit it generated, divide by the cost of the investment, and multiply by 100. The result is a percentage that tells you exactly how much return you earned for every dollar you spent.
ROI is the universal language of investment decisions. A marketing team asking whether to double a campaign budget, a business owner deciding between two pieces of equipment, and an investor comparing a rental property to an index fund all use the same formula. The number is simple — but what you include in "profit" and "cost" changes everything. Two people calculating the ROI of the same project can arrive at wildly different percentages if they measure inputs differently.
Use the free ROI Calculator at RoughTools to calculate return on investment for any scenario instantly — or follow the step-by-step method below.
The ROI Formula
The basic ROI formula works for any investment — financial, marketing, real estate, or business:
ROI = (Net Profit / Cost of Investment) × 100
Expanded form, when you know the final value rather than the net profit:
ROI = ((Final Value - Initial Investment) / Initial Investment) × 100
Where:
- Net Profit — total return minus all costs associated with the investment
- Cost of Investment — every dollar spent to generate the return (purchase price, fees, operating costs, time costs if applicable)
- Final Value — the ending value of the investment including any income generated
- ROI — expressed as a percentage; positive = profit, negative = loss
Worked example: $18,750 marketing campaign
A business owner spends $18,750 on a paid search campaign over 6 months. The campaign drives sales with the following results:
Step 1 — Calculate total revenue from the campaign:
Campaign-attributed revenue: $47,300
Step 2 — Subtract cost of goods sold (COGS):
COGS on campaign sales: $15,600
Gross profit: $47,300 - $15,600 = $31,700
Step 3 — Subtract the marketing investment:
Net profit: $31,700 - $18,750 = $12,950
Step 4 — Calculate ROI:
ROI = ($12,950 / $18,750) × 100
ROI = 0.691 × 100
ROI = 69.1%
The result: the campaign generated a 69.1% ROI. For every dollar spent on the campaign, the business earned $1.69 back — a net gain of $0.69 per dollar invested. Whether 69.1% is a good ROI depends on the industry, the time period, and what the business could have earned by allocating that $18,750 elsewhere.
Note: this calculation excludes the time value of money and does not account for opportunity cost. For multi-year investments, use annualized ROI (covered below) to make meaningful comparisons.
How to Calculate ROI Step by Step
-
Identify and total all costs. This is where most ROI calculations go wrong. For a marketing campaign, costs include ad spend, agency fees, design costs, and the staff time spent managing the campaign. For a stock investment, include the purchase price plus brokerage commissions. For real estate, include purchase price, closing costs, renovation expenses, property management fees, and ongoing maintenance. Incomplete costs inflate ROI artificially.
-
Identify and total all returns. Returns must match the cost category. If you included staff time in costs, include the revenue those staff hours generated. For investments, include both capital appreciation (change in value) and income (dividends, rent). For a rental property purchased at $312,000 that is now worth $341,000 with $18,600 in rent collected: total return = ($341,000 - $312,000) + $18,600 = $47,600.
-
Calculate net profit. Subtract total costs from total returns. For real estate: net profit = (current value + rent received) - (purchase price + all costs). The distinction between unrealized gains (the property is worth more but unsold) and realized gains (you have the cash) matters for tax purposes, even if the ROI calculation treats them the same.
-
Apply the ROI formula. Divide net profit by cost of investment, multiply by 100. A $12,950 net profit on an $18,750 investment = 69.1%. A negative ROI — say, $4,200 net loss on a $15,000 investment — gives an ROI of -28%, meaning you lost 28 cents for every dollar invested.
-
Decide whether to annualize. Basic ROI ignores time. A 69.1% ROI over 6 months is not the same as 69.1% over 5 years. When comparing investments with different time horizons, convert to annualized ROI using: Annualized ROI = [(1 + ROI/100)^(1/n) - 1] × 100, where n is the number of years. The 6-month campaign at 69.1% annualizes to 185.9%.
-
Verify the result makes sense. A healthy sanity check: the S&P 500 averages roughly 10% annual return. Any ROI significantly above that warrants scrutiny of the inputs — have all costs been included? Is the return attributable to this investment specifically? Marketing ROI is especially prone to attribution errors where revenue that would have occurred anyway gets credited to a campaign.
Pro tip: Calculate ROI before AND after the investment using projected numbers. Comparing your pre-investment projection to your post-investment actual result is one of the fastest ways to improve financial decision-making over time.
What Is a Good ROI for Different Investments?
A good ROI depends entirely on the asset class, time frame, and risk level of the investment. There is no universal "good" number — context is everything.
Here are typical ROI benchmarks across common investment types:
| Investment type | Typical annual ROI | Notes | |---|---|---| | S&P 500 index fund | ~10% nominal, ~7% real | Historical average; not guaranteed | | Real estate (rental) | 6%–12% | Varies heavily by market | | Small business | 15%–30% | Higher return, higher risk | | Marketing campaigns | 100%–500%+ | Varies wildly by channel and industry | | Savings account (HYSA) | 4%–5% | Current rates; risk-free | | Angel investing | Negative to 1,000%+ | High failure rate |
The right benchmark is not "is this ROI high?" but rather "is this ROI higher than my next best alternative for the same capital and risk level?" A 15% annual ROI on a low-risk investment is exceptional. A 15% ROI on a high-risk startup investment is below-average given the risk premium required.
For marketing specifically, the industry standard benchmark for paid digital advertising is a 4:1 revenue-to-spend ratio — meaning $4 in revenue for every $1 spent, which translates to a 300% ROI on ad spend alone (before COGS). Achieving less than 2:1 in most industries suggests the campaign needs optimization before scaling.
How Do You Calculate Annualized ROI?
Annualized ROI — also called compound annual growth rate (CAGR) when applied to investments — converts any ROI to an equivalent yearly rate, allowing fair comparison between investments held for different time periods.
Annualized ROI = [(1 + ROI/100)^(1/n) - 1] × 100
Where n = number of years the investment was held.
Example: You invested $24,600 in a rental property improvement. After 3.5 years, you sold the property and attributed $41,350 in increased value to the renovation.
Simple ROI:
Net profit = $41,350 - $24,600 = $16,750
ROI = ($16,750 / $24,600) × 100 = 68.1%
Annualized ROI:
n = 3.5 years
Annualized ROI = [(1 + 0.681)^(1/3.5) - 1] × 100
= [(1.681)^0.2857 - 1] × 100
= [1.158 - 1] × 100
= 15.8% per year
The renovation produced a 68.1% total ROI but only 15.8% per year — still above the S&P 500 average, but far less impressive than the raw 68% number suggests over a multi-year hold.
This distinction matters most when someone presents a large ROI number without mentioning the time period. A 200% ROI sounds extraordinary. Over 10 years, it annualizes to just 11.6% — barely above the stock market average. Over 1 year, it is genuinely exceptional. Always ask: over what time period?
Use the investment calculator to model annualized returns across any time horizon.
How Do You Calculate Marketing ROI?
Marketing ROI uses the same formula as investment ROI, but the cost definition is where most businesses undercount — and therefore overstate their results.
Marketing ROI = ((Revenue from campaign - COGS - Marketing cost) / Marketing cost) × 100
The critical variable that many marketing ROI calculations omit is COGS — cost of goods sold. If you spend $5,000 on ads that generate $20,000 in sales revenue, the naive ROI is 300%. But if the products sold cost $14,000 to produce, your gross profit is only $6,000, and after subtracting the $5,000 ad spend, your net profit is $1,000 — a 20% ROI, not 300%.
A realistic marketing ROI example:
| Item | Amount | |---|---| | Ad spend | $8,400 | | Campaign-attributed revenue | $34,700 | | COGS on those sales | $17,200 | | Gross profit | $17,500 | | Net profit (after ad spend) | $9,100 | | Marketing ROI | 108.3% |
A 108% marketing ROI is strong — for every dollar spent, the business netted $2.08. But the calculation only holds if the attribution is accurate. Most analytics platforms attribute 100% of revenue to the last click before purchase, which overstates the campaign's true contribution when customers were already in the buying process.
For more accurate marketing ROI, use multi-touch attribution models and measure incrementality — how much additional revenue the campaign produced that would not have occurred without it. The ROI calculator handles the gross profit adjustment automatically.
Common Mistakes to Avoid When Calculating ROI
-
Excluding indirect costs. A business owner calculating the ROI of a new hire often counts salary but forgets benefits, equipment, training time, and management overhead — which typically add 25–40% to the base salary cost. Incomplete costs make ROI look better than reality.
-
Ignoring time when comparing investments. Comparing a 50% ROI (held 4 years) to a 40% ROI (held 1 year) without annualizing leads to wrong decisions. The 4-year investment annualizes to about 10.7%; the 1-year investment returned 40%. The shorter investment dramatically outperformed.
-
Calculating marketing ROI on revenue instead of gross profit. Using revenue instead of gross profit inflates marketing ROI by the inverse of your gross margin. At a 50% gross margin, every revenue-based ROI calculation is double the true figure. Always deduct COGS before calculating net profit.
-
Attributing all return to the investment being evaluated. A company that spends $30,000 on a brand awareness campaign and then sees sales increase by $90,000 cannot claim a 200% ROI if sales were already trending upward. Isolate the incremental return — the additional result caused specifically by the investment.
-
Not accounting for taxes on investment gains. This is the non-obvious mistake. A stock investment with a 25% ROI is not a 25% ROI after taxes. Short-term capital gains are taxed as ordinary income (up to 37% federal); long-term gains are taxed at 0–20%. A 25% pre-tax ROI held less than one year in a 32% tax bracket produces a 17% after-tax ROI. Compare investments on an after-tax basis for a true picture.
Frequently Asked Questions
What is the basic formula to calculate ROI? ROI = (Net Profit / Cost of Investment) × 100. Net profit equals total return minus all costs. If you invested $10,000 and received $13,500 back, your net profit is $3,500 and your ROI is 35%. If you invested $10,000 and received $8,200 back, your ROI is -18% — a loss of 18 cents per dollar invested.
What if my investment generates ongoing income AND appreciates in value? Include both in your return calculation. A rental property that appreciates $22,000 AND generates $14,400 in net rent over two years produced $36,400 in total return. If your all-in cost was $287,000 (purchase plus renovation), your 2-year ROI is 12.7% and your annualized ROI is 6.2%. The compound interest calculator can model ongoing income reinvestment scenarios.
What is the difference between ROI and IRR? ROI is a simple percentage return calculated at a single point in time. 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 the timing of every individual cash flow, not just the start and end. IRR is more accurate for investments with multiple cash flows over time (like real estate with monthly rent). For single-investment, single-return scenarios, ROI and annualized ROI produce equivalent results.
What is a good ROI for a small business investment? Most small business owners target 15–30% annual ROI on capital investments — equipment, software, hiring, or marketing. Investments returning less than 10% annually often have opportunity cost issues: the same capital in an index fund might return comparable results with far less effort. Investments returning above 30% consistently should prompt the question of whether you are measuring correctly and whether the result is repeatable.
When should I use annualized ROI instead of basic ROI? Use annualized ROI whenever you are comparing two investments held for different time periods, evaluating whether an investment beats a benchmark like the S&P 500, or presenting results to stakeholders who will use the number to make future allocation decisions. Basic ROI is sufficient for quick same-period comparisons — like comparing two marketing campaigns run in the same month.
These calculations are estimates for planning purposes. Actual investment returns depend on market conditions, taxes, fees, and individual circumstances. Consult a licensed financial advisor before making major investment decisions.
Use the Free ROI Calculator
The Free ROI Calculator at RoughTools handles any ROI scenario — marketing campaigns, stock investments, real estate, or business projects. Enter your investment cost and returns, and the tool instantly calculates basic ROI, annualized ROI, and net profit in dollars. It supports gross profit adjustments for marketing use cases and compares up to three scenarios side by side. No account needed, no data stored, completely free.
You might also need:
- Investment Calculator — project long-term portfolio growth with contributions
- Compound Interest Calculator — model reinvested returns over time
- Profit Margin Calculator — calculate gross and net margins before ROI
- Retirement Calculator — apply ROI modeling to long-term retirement planning