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 Reviewed by CalcTide Editorial Review Team

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.

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 automatically include timing effects, taxes, inflation, financing terms, operational constraints, or risk adjustments unless you reflect them manually in the inputs. It does not annualize results or account for money invested gradually over time, so two scenarios with the same ROI percentage but very different time horizons will look identical here even though they are not equally attractive. 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

Drop this single line where you want the calculator to appear. It is responsive, mobile-friendly, resizes automatically, and is free to use with attribution.

<script src="https://calctide.com/embed.js" data-tool="roi-calculator" async></script>

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