Use ROI to compare an outcome with what you invested.
ROI is useful when a project, campaign, asset, or purchase has a clear initial cost and a measurable final value or return. It answers: “How large was the gain or loss relative to the amount put at risk?”
Because ROI turns differently sized investments into percentages, it can help compare alternatives. A higher percentage is not automatically the better decision, however: timing, risk, cash flow, effort, and the absolute monetary gain can all matter.
Different questions need different denominators.
ROI uses initial investment as its denominator. Profit margin instead divides profit by selling price or revenue. Markup divides profit by cost. Break-even calculates the sales volume needed for contribution margin to cover fixed costs.
Formula and calculation method.
ROI (%) = (Final value − Initial investment) ÷ Initial investment × 100Final value minus initial investment is the net gain or loss. Dividing by the initial investment scales that change to the amount originally committed. A positive result is a gain, 0% means no change, and a negative result is a loss.
See the business meaning, not just the math.
$5,000 campaign cost and $6,800 attributable value
Working: ($6,800 − $5,000) ÷ $5,000 × 100
Result: 36% ROI and a $1,800 gain
Interpretation: The modeled value exceeded campaign cost by 36% of the original spend. Attribution quality still determines whether the comparison is meaningful.
$20,000 total investment and $25,000 value after the period
Working: ($25,000 − $20,000) ÷ $20,000 × 100
Result: 25% ROI and a $5,000 gain
Interpretation: The gain equals one quarter of the initial cost. This simple ROI does not show how many years were required.
$12,000 initial investment and $9,000 final value
Working: ($9,000 − $12,000) ÷ $12,000 × 100
Result: −25% ROI and a $3,000 loss
Interpretation: The investment lost one quarter of its original value. A loss can be valid output and should not be confused with an input error.
Put the number in context.
Compare ROI only when the cost and return boundaries are consistent. If one option includes labor, fees, maintenance, and taxes while another excludes them, the percentages do not describe equivalent economics.
Simple ROI has no time component. A 20% return earned in one year and the same 20% earned in five years have different annualized performance. Use cash-flow or annualized-return analysis for time-sensitive investment decisions.
Assumptions and common mistakes.
What the calculation assumes
- The initial investment includes all costs you intend the return to cover.
- The final value and initial cost use the same selected denomination and valuation date; the selector does not apply an exchange rate.
- Any intermediate income or expense is already included in the final value.
- No adjustment is made for time, inflation, financing, taxes, or risk.
Mistakes to avoid
- Using revenue as the final value without subtracting costs that belong to the investment.
- Comparing ROI percentages measured over different time periods as though they were annual rates.
- Ignoring a negative ROI because the final value is still a positive dollar amount.
- Calling profit margin or markup “ROI” even though those calculations use different denominators.
What unusual inputs mean.
The gain is zero and ROI is 0%.
The investment has lost its full initial value, producing −100% ROI.
ROI is undefined because the formula would divide by zero, so the calculator returns an error.
What this calculation leaves out.
This is a simple, single-period ROI. It does not annualize the return, discount future cash flows, model irregular deposits or withdrawals, or measure risk. For major capital decisions, use complete cash-flow forecasts and appropriate measures such as payback period, NPV, or IRR.
Questions people ask.
How is ROI calculated?
Subtract the initial investment from the final value, divide that gain or loss by the initial investment, and multiply by 100.
What does a negative ROI mean?
A negative ROI means the final value is below the initial investment. For example, −25% means the loss equals 25% of the original cost.
Is ROI the same as profit margin?
No. ROI divides gain by the initial investment. Profit margin divides profit by selling price or revenue.
Does ROI account for time?
Not in this calculator. Simple ROI treats a return the same whether it took months or years, so compare time periods carefully.
Can ROI be more than 100%?
Yes. ROI exceeds 100% when the net gain is larger than the full initial investment.
Why can’t ROI be calculated from a zero initial investment?
The formula divides by initial investment. Division by zero is undefined, so a meaningful ROI percentage cannot be produced.