You spend money on a campaign, a piece of equipment, or a new project. The numbers come back positive—but was the investment actually worth it? Return on investment (ROI) helps answer that question by comparing the profit or loss with the amount you spent. Here’s how to calculate ROI, step by step, with examples you can check yourself.
What is ROI?
Return on investment (ROI) is a percentage showing how much an investment gained or lost relative to its cost. An ROI of 25% means the measured profit was equal to 25% of the amount invested. A negative ROI means the investment lost money over the period you measured.
ROI is useful for comparing campaigns, business purchases, or projects, but only when the numbers are calculated consistently. It doesn’t automatically account for risk, inflation, or the time it takes to earn a return.
ROI formula and how to use it
ROI (%) = ((Return − Total investment cost) ÷ Total investment cost) × 100
Here, return means the money received or the value gained from the investment, measured consistently with the costs you include. For a straightforward revenue-based project, the same calculation can be written as ROI (%) = (Net profit ÷ Total investment cost) × 100, where net profit is revenue minus the included investment costs.
- Step 1: Add up the investment costs that belong to the project—such as the initial outlay, campaign spending, fees, and other direct expenses.
- Step 2: Record the value or revenue produced by that investment for the same time period.
- Step 3: Subtract total investment costs from the return to get net profit or loss.
- Step 4: Divide that profit or loss by total investment cost and multiply by 100.
If your investment cost is zero, this simple percentage formula is undefined. It also cannot tell you which investment is better without considering the time period and the risks involved.
Example 1: calculate ROI on an advertising campaign
Imagine a small business runs a campaign and wants to measure its return. The campaign has an ad spend of $1,800, an additional $200 in directly related costs, and $2,500 in revenue attributed to the campaign.
- Advertising cost: $1,800
- Other direct campaign costs: $200
- Total investment cost: $2,000
- Attributed revenue: $2,500
- Net profit on these inputs: $500
The calculation is ($500 ÷ $2,000) × 100 = 25% ROI. That means the campaign produced $0.25 of estimated net return for each dollar invested, using the costs and revenue in this example.
But campaign-attributed revenue is not automatically incremental profit. If some customers would have purchased anyway, or the business still has product and fulfillment costs to pay, the actual economic return could be lower. Make sure you’re comparing the right costs and benefits before calling the campaign profitable.
Example 2: ROI on business equipment
Suppose a business invests in a machine. It costs $5,000 to buy and requires $500 of additional setup and maintenance costs during the period. Over that period, the machine produces $7,000 in measurable additional benefit, after accounting for any other operating costs not included here.
Total investment cost = $5,000 + $500 = $5,500. The net gain is $7,000 − $5,500 = $1,500. So the ROI is ($1,500 ÷ $5,500) × 100 ≈ 27.27%.
A useful question is how long it took to earn that return. A 27% result over one year and the same 27% result over five years are not directly equivalent. Simple ROI is not an annualized return.
Example 3: what negative ROI means
Not every investment earns back its cost. Imagine spending $1,000 on a project that returns only $800 in value over the measurement period. Net loss is $800 − $1,000 = −$200. ROI is (−$200 ÷ $1,000) × 100 = −20%.
A negative ROI tells you the measured return was below the investment cost. It does not, by itself, explain why. The next step is to examine pricing, demand, operating expenses, and whether benefits might arrive in a later period.
Compare the three ROI examples
| Scenario | Total cost | Return | Net gain/loss | Simple ROI |
|---|---|---|---|---|
| Ad campaign | $2,000 | $2,500 | $500 | 25% |
| Equipment | $5,500 | $7,000 | $1,500 | 27.27% |
| Loss-making project | $1,000 | $800 | −$200 | −20% |
These are simplified examples with different measurement periods and assumptions. The percentages are helpful summaries, not a complete basis for choosing where to invest.
How to calculate ROI with ToleHub
For a quick calculation, open the free ROI Calculator on ToleHub. Enter the initial investment, revenue, and any additional costs you want included. The calculator shows estimated net profit or loss, ROI percentage, and the break-even amount. You can copy or download the results for your notes.
- Open the ROI Calculator.
- Enter your investment amount and return or revenue for the same period.
- Add any extra project costs instead of leaving them out of the calculation.
- Review the ROI and profit figures, then check that the inputs include the expenses relevant to your decision.
The calculator uses a basic ROI formula. It does not automatically project future cash flows or calculate annualized investment returns.
ROI vs profit margin: what’s the difference?
ROI compares gains or losses with the amount invested. Profit margin compares profit with revenue. That different denominator matters. On the $2,000 campaign-cost / $2,500 revenue example, the basic ROI is 25%, while profit as a share of that revenue is 20%.
If you’re pricing an individual product rather than evaluating a project, our Markup & Profit Margin Calculator may be a better starting point. You can also read the markup vs margin explanation to avoid mixing up the two percentages.
Five common ROI calculation mistakes
- Leaving out extra costs: Fees, delivery, labor, and setup charges can materially change the result.
- Confusing revenue with profit: Revenue is the money brought in; net profit depends on subtracting the costs included in your calculation.
- Comparing different periods: A six-month ROI isn’t automatically comparable to a three-year ROI.
- Using total sales as incremental benefit: For marketing and expansion projects, distinguish between sales caused by the investment and sales that would have happened anyway.
- Assuming a high ROI means low risk: ROI doesn’t describe volatility, cash-flow timing, or the probability of losses.
Frequently asked questions
What is a good ROI percentage?
There is no universal number. A return that looks attractive for one project may be inadequate for another after considering time, risk, borrowing costs, and alternative opportunities. Compare investments on consistent assumptions.
Can ROI be greater than 100%?
Yes. If a project costs $1,000 and generates $2,200 in value, its net gain is $1,200 and its simple ROI is 120%.
Can ROI be negative?
Yes. A negative ROI means the measured return fell short of the costs included during that period.
Is ROI the same as annual return?
No. Simple ROI covers the period you chose. An annualized return uses a time-adjusted method and often requires different assumptions.
Is the break-even point the same as zero ROI?
In this simple cost-versus-return model, yes: when the measured return equals the total investment costs, net profit and ROI are both zero. For ongoing operations, break-even analysis can be more complicated.
Calculate your ROI
Have the numbers ready? Use ToleHub’s free online ROI Calculator to check a scenario. For pricing and invoicing tasks, explore the full collection of free online tools.
