Skip to content
CalcTide logo
BusinessReviewed Methodology

ROI Calculator

An ROI calculator estimates net return and return on investment percentage from two numbers: total gain and total cost. Enter what a project, campaign, purchase, or investment returned, enter what it cost you to run or acquire, and the tool subtracts one from the other, then expresses that difference as a percentage of cost. Marketers use it to compare ad spend against revenue, small business owners use it to check whether equipment or a hire paid off, and investors use it as a quick screening step before digging into cash-flow timing or tax treatment. Because the formula only needs gain and cost, it works for almost any scenario where you can state a total return and a total outlay in the same currency and the same time window.

BusinessBy

Quick answer

Net return equals gain minus cost, so a positive number means the activity returned more than it cost, and a negative number means it lost money.

What this tells you

  • •Net return equals gain minus cost, so a positive number means the activity returned more than it cost, and a negative number means it lost money.
  • •ROI percentage compares net return with cost, which puts projects of different sizes on the same scale so a $500 result and a $500,000 result can be judged side by side.
  • •A 0% ROI means gain and cost were exactly equal, so the investment broke even rather than lost money.
  • •ROI is a single-period snapshot. It does not tell you how long the return took, so a 20% ROI over one month is far stronger than a 20% ROI over five years.
  • •Use ROI as a screening estimate and pair it with broader cost analysis, cash-flow timing, and risk factors before making a final decision.

How to Use

  1. 1Enter the total gain value for the project, campaign, or investment. This is the full amount returned or the total value received, not just the profit margin.
  2. 2Enter the total cost invested, including every expense that went into producing that gain, such as materials, labor, ad spend, fees, or purchase price.
  3. 3Click Calculate to view the estimated net return in dollars and the ROI percentage.
  4. 4Read the secondary results to confirm the gain and cost figures match what you entered, then check the net return line for the dollar-level breakdown.
  5. 5Compare scenarios using consistent time periods and cost definitions. Comparing a one-month campaign against a one-year campaign will distort what the ROI percentage actually tells you.

How It Works

Formula

Net Return = Gain - Cost ROI (%) = (Net Return / Cost) x 100

The calculator subtracts total cost from total gain to get net return, the plain dollar profit or loss. It then divides net return by cost and multiplies by 100 to express that profit or loss as a percentage of what was spent. Gain is the full value returned, such as total revenue from a campaign or the sale price of an asset. Cost is everything spent to produce that gain, not just the initial purchase price. The formula assumes both figures cover the same time period and use the same currency, and it treats cost as a single lump sum rather than money invested gradually over time. Cost must be greater than zero for a percentage to be calculated, since dividing by a zero or negative cost produces a meaningless result.

Calculation note: values are processed in the order shown above, using the current input units.

Worked Examples

Marketing campaign ROI

Gain$18,000
Cost$12,000
ResultEstimated net return: $6,000 | Estimated ROI: 50%

This campaign returned $6,000 more than it cost to run. A 50% ROI means every dollar spent on the campaign generated an additional 50 cents in net return on top of getting that dollar back.

Software rollout spend

Gain$52,000
Cost$40,000
ResultEstimated net return: $12,000 | Estimated ROI: 30%

A larger project can post a smaller ROI percentage than a smaller one while still generating more dollars of profit. Here the $12,000 net return is double the campaign above, but the 30% ROI is lower because the cost base was also larger.

Equipment purchase that underperformed

Gain$8,500
Cost$10,000
ResultEstimated net return: -$1,500 | Estimated ROI: -15%

A negative net return means the equipment produced less value than it cost. The -15% ROI shows the shortfall as a share of the original cost, which helps compare this loss against other underperforming purchases.

Freelance web project

Gain$3,200
Cost$2,000
ResultEstimated net return: $1,200 | Estimated ROI: 60%

Small projects can post high ROI percentages even with modest dollar amounts. A 60% ROI here means the project returned its full cost plus 60% more, which is useful when comparing project profitability regardless of size.

Property flip

Gain$285,000
Cost$250,000
ResultEstimated net return: $35,000 | Estimated ROI: 14%

For a real estate flip, cost should include the purchase price plus renovation, holding, and closing costs, not just the sale price minus the buy price. This 14% ROI reflects that broader cost total against the eventual sale gain.

Break-even ad test

Gain$5,000
Cost$5,000
ResultEstimated net return: $0 | Estimated ROI: 0%

A 0% ROI means the activity recovered exactly what it cost, with no profit and no loss. This differs from a negative ROI, where cost was not fully recovered.

Second oven for a bakery, first-year ROI

Gain$5,880
Cost$4,200
ResultEstimated net return: $1,680 | Estimated ROI: 40%

Dana runs a small bakery and adds a second deck oven so she can take wholesale orders she was turning away. Her cost total is $4,200: the oven at $2,650, an electrical upgrade at $400, and $1,150 in extra ingredients and labor for the new orders during the first year. Those orders bring in $5,880 of revenue, which is the gain. Net return is $5,880 - $4,200 = $1,680, and ROI is $1,680 ÷ $4,200 = 0.40, or 40%. Had she entered only the $2,650 oven price as cost, the tool would have shown a 121.89% ROI, which is why the cost field needs everything spent to produce the gain.

Total ROI vs annualized ROI for the same gain

The same total return looks very different once you spread it over the years it took to earn. This tool reports total ROI only. The annualized columns are computed as (1 + ROI)^(1/years) - 1 so you can see what the holding period hides.

Total ROIOver 1 yearOver 2 yearsOver 5 yearsOver 10 years
10%10%4.88%1.92%0.96%
20%20%9.54%3.71%1.84%
30%30%14.02%5.39%2.66%
50%50%22.47%8.45%4.14%
75%75%32.29%11.84%5.76%
100%100%41.42%14.87%7.18%
150%150%58.11%20.11%9.60%
200%200%73.21%24.57%11.61%

Total ROI is net return divided by cost, computed with the formula above, and it is not time-aware. The annualized columns use (1 + total ROI)^(1/years) - 1 and are not a tool output. SEC fund advertising rules pair every performance figure with a past-performance warning (17 CFR 230.482(b)(3)) and require standardized average annual total returns over fixed periods (17 CFR 230.482(d)) because a return quoted without its time period is not comparable with another.

ROI vs annualized return, payback, and what the number leaves out

ROI tells you how much you got back per dollar spent. It does not tell you how fast. A 50% ROI on a 3-month ad campaign and a 50% ROI on a 5-year equipment purchase produce the same number in this tool, but the campaign could be repeated roughly 20 times in that span. To compare across different holding periods, convert each result to an annualized rate with (1 + ROI)^(1/years) - 1, as in the table above, and keep the time window written next to every ROI figure you share.

The cost field decides whether the percentage is honest. Enter the full outlay: purchase price, installation, training, consumables, labor hours, software fees, and the direct cost of producing whatever the gain counts as revenue. A $3,000 machine that needed $700 of wiring and $1,200 of operator time cost $4,900, not $3,000, and the ROI on $4,900 is far lower. If gain is revenue rather than profit, the ingredients, parts, or hours that earned that revenue belong in the cost total too.

ROI and payback period answer different questions. Payback asks how many months until cumulative cash inflows cover the outlay. ROI asks how large the surplus is at the end. A project can pay back in 8 months and still post a modest ROI, or take 4 years to pay back and finish with a high ROI. Cash-constrained businesses often screen on payback first because it measures how long money is tied up, then rank the survivors by ROI or annualized return.

Two limits are worth stating plainly. First, the formula has no time value of money and no cash-flow timing: a dollar received in year 5 counts the same as a dollar received in month 1. Federal guidance for evaluating public investments requires discounting future cash flows to a net present value for exactly this reason (OMB Circular A-94), and investment company advertising must pair every return with a past-performance warning and standardized average annual returns over fixed periods (17 CFR 230.482(b)(3) and 230.482(d)) so that returns from different periods are not read as comparable. Second, taxes, depreciation, financing costs, and interest on borrowed money sit outside the two fields unless you fold them into cost, so treat the result as a pre-tax, unfinanced screening number.

Break-even calculator

Common mistakes

  • Using revenue as gain without subtracting all relevant costs, which inflates the ROI figure
  • Comparing ROI across projects that ran for different lengths of time without adjusting for duration
  • Assuming ROI alone measures risk, cash-flow timing, or how quickly money was tied up
  • Forgetting to include indirect costs like labor, overhead, platform fees, or financing charges in the cost total
  • Treating a 0% ROI as a loss, when it actually means the cost was fully recovered with no profit or loss
  • Ignoring that ROI does not show how long the return took to materialize, so a high ROI over several years may underperform a lower ROI earned in weeks

Limitations

This ROI estimate uses only gain and cost fields. It does not annualize, discount, or weight cash flows by when they arrive, so a dollar returned in year 5 counts the same as a dollar returned in month 1 and two projects with equal ROI but different holding periods look identical here. Federal benefit-cost guidance requires discounting future cash flows to a net present value for that reason (OMB Circular A-94), and SEC advertising rules require quoted investment returns to carry a past-performance warning and standardized average annual returns over fixed periods (17 CFR 230.482(b)(3) and 230.482(d)). Taxes, depreciation, inflation, financing terms, interest on borrowed funds, and risk are outside the two fields unless you build them into cost. Treat the output as a quick screening figure, then apply project-specific cost accounting and cash-flow analysis before making a final decision.

Embed this calculator on your site

Paste this code where you want the calculator to appear. It is responsive, mobile-friendly, resizes automatically, and is free to use as long as the credit line stays in place.

<script src="https://calctide.com/embed.js" data-tool="roi-calculator" async></script> <p style="font-size:12px;margin:4px 0 0">ROI Calculator by <a href="https://calctide.com/business/roi-calculator/">CalcTide</a></p>

Preview the embed at /embed/roi-calculator/.

Frequently Asked Questions

A negative ROI means total cost was higher than total gain based on the values entered, so the activity lost money rather than earning a net return. The percentage shows the size of that loss relative to what was spent, which is useful for comparing losses across different projects.
No, ROI alone is not enough for a full business decision. It is a useful screening metric, but decisions should also weigh risk, cash-flow timing, opportunity cost, and strategic fit before committing resources.
No, the calculator only uses the cost figure you enter. Include every relevant expense, such as materials, labor, fees, and overhead, in that total to avoid overestimating ROI.
Gain is the total value returned by the project, campaign, or investment, such as total revenue generated or the full sale price of an asset. It should represent the complete return, not a figure that has already had costs subtracted out.
Cost is everything spent to produce the gain, including the purchase price or initial investment plus any additional expenses like labor, materials, ad spend, or fees. Leaving out indirect costs will make the ROI percentage look better than it actually is.
ROI compares net return with cost, while profit margin compares net return with revenue or gain. The two percentages answer different questions, so a project can show a healthy profit margin and a modest ROI, or the reverse, depending on how large the cost base is relative to the gain.
Yes, an ROI over 100% simply means the net return was larger than the original cost, so the activity more than doubled the money put into it. This happens often with low-cost, high-return activities like a small ad test that generates outsized sales.
No, this calculator produces a single-period ROI figure and does not adjust for time. A 20% ROI earned in one month is far stronger than a 20% ROI earned over three years, so you should track the time period separately when comparing results.
A good ROI depends heavily on the industry, the risk involved, and the time period covered, so there is no single universal benchmark. Compare the result against your own historical performance, your cost of capital, and similar projects rather than a fixed target.
It estimates roi calculator outputs using the visible inputs and formula assumptions on this page.

Explore More in Business