Skip to content
CalcPilot Find a calculator
Business calculator

ROI Calculator

Measure the percentage return on an investment by comparing its gain with its original cost.

Reviewed 2026-06-18 · Formula and example verified by the CalcPilot Editorial Team

Calculator

Enter your numbers

Return on investment

50%

Your inputs stay in your browser and are never sent to a server.

Quick answer

How do you calculate ROI?

Use ROI = ((Gain − Cost) ÷ Cost) × 100. Enter the matching values above to calculate the result instantly.

What it measures

Understanding ROI

Return on investment (ROI) expresses the net benefit of an investment as a percentage of its cost. It gives teams a common way to compare opportunities that have very different budgets. A positive ROI means the gain exceeded the cost, while a negative result means the investment lost value. For a useful comparison, include every material cost tied to the decision—setup, labor, software, fees, and ongoing spend—not just the headline purchase price. The gain should also use the same time period and scope. ROI is intentionally simple, which makes it excellent for a first-pass decision, but it does not account for how long an investment takes to pay back or the changing value of money. Two projects can show the same ROI even when one returns cash in three months and the other takes three years. Use this result alongside payback period, cash-flow forecasts, and risk when the timing or uncertainty is significant.

The math

Return on investment formula

ROI = ((Gain − Cost) ÷ Cost) × 100

Worked example

Example calculation

A company spends $10,000 on equipment that generates $15,000 in value.
Calculation
(($15,000 − $10,000) ÷ $10,000) × 100
Result
50% ROI

Step by step

How to use this calculator

  1. 1Enter the total value or gain produced.
  2. 2Enter the complete cost of the investment.
  3. 3Review the percentage return and compare it with your target.

Decision support

When this calculator is useful

  • Comparing capital purchases
  • Evaluating campaigns or projects
  • Reviewing investment performance

Common questions

Frequently asked questions

What is a good ROI?

A good ROI exceeds your required return after accounting for time, risk, and realistic alternatives. The right target varies by industry and investment type.

Can ROI be negative?

Yes. A negative ROI means the investment's gain was lower than its cost.

Should revenue or profit be used as gain?

Use the value your analysis is meant to measure and stay consistent. For business decisions, net benefit is usually more informative than gross revenue.

Does ROI include time?

No. Basic ROI does not reflect the holding period, so compare timeframes separately.

Calculation reviewed: 2026-06-18. CalcPilot uses the formula shown above and tests representative values during the production build. See our methodology and correction policy.

Browse by topic

Calculator categories

Keep exploring

Business

Profit Margin Calculator

Find the percentage of revenue left after costs and understand how efficiently a sale creates profit.

Calculate now
Business

Break-Even Calculator

Estimate how many units you must sell for contribution profit to cover fixed costs.

Calculate now
Marketing

ROAS Calculator

Measure the revenue generated for every dollar spent on advertising.

Calculate now
SaaS

Customer Acquisition Cost Calculator

Calculate the average sales and marketing cost required to acquire one new customer.

Calculate now
Ecommerce

Markup Calculator

Calculate how much a selling price exceeds cost, expressed as a percentage of that cost.

Calculate now