ROI Calculator
Calculate return on investment from a complete cost inventory and either gross benefit or already-net profit. See exactly which denominator produces the percentage.
A simple, undiscounted cost-based ratio. No annualization, cash-flow timing, automatic tax adjustments or personalized investment advice.
Cost-based ROI result
Enter all three amounts, or load the verified worked example.
50 significant decimal digits; half-even display rounding. Tiny nonzero rates remain visible. Inputs stay in browser memory. No automatic tax, inflation, fee or FX adjustment; educational use only.
Choose the right outcome basis
Gross benefit is before both entered cost components. Net profit is already after them. Selecting the wrong basis can subtract cost twice or mistake revenue for profit. This tool clears the outcome whenever you change basis.
Read the complete ROI guideFormula and methodology
Total cost C = initial cost + additional costs
Gross mode: profit P = gross benefit − C
Net mode: P = supplied net profit
ROI (%) = P / C × 100
Costs are counted once and combined cost must be positive. Net mode does not subtract costs again. This is an explicitly chosen all-cost denominator, not a universal tax, fund-performance or accounting convention. Inputs and results remain in browser memory.
Verified worked examples
Initial cost 10,000 + additional costs 2,000 = total cost 12,000. Gross benefit 15,000 − 12,000 = profit 3,000. ROI = 3,000 / 12,000 × 100 = 25%. Alternatively enter already-net profit of 3,000 with the same costs: the answer remains 25%.
Gross benefit 9,000 with those costs gives −25%; benefit zero gives −100%. In net mode, a loss of 18,000 against cost 12,000 gives −150%, with a warning to review omitted costs or liabilities. The model does not clip losses. All examples are hypothetical amounts in one currency.
Inputs and interpretation
- Choose a display market, then gross benefit or already-net profit. Currency selection only changes formatting.
- Enter upfront and additional costs for the same assessment period and decision boundary. Enter 0 explicitly for no additional costs.
- Enter gross proceeds or monetized benefit before both costs, or a signed net profit already after both. Do not count a charge twice.
- Review the displayed total cost and profit alongside ROI. A positive ratio does not prove the benefit was caused by the investment or that risk is acceptable.
- Use Clear values or reload to remove the in-memory scenario.
Assumptions and limitations
Each amount: up to 64 characters, 12 fractional places and absolute magnitude 10^30. Costs and gross benefit must be nonnegative; net profit can be signed. Combined cost must be positive and may reach 2 × 10^30. Zero initial cost is allowed if additional cost is positive. Grouped inputs, scientific notation, missing values, NaN and Infinity are rejected.
50 significant decimal digits with half-even rounding. Display precision does not change the math; tiny nonzero rates and near-total losses remain distinguishable. No date, timing weight, discounting, annualization, live FX, inflation, automatic fees or tax calculations. Compare matching periods, currencies and cost boundaries. USA, UK, Canada, Australia and India formats do not imply jurisdiction-specific tax treatment.
ROI is different from profit margin and revenue divided by advertising spend. For investment endpoint growth, read the related Absolute Return and CAGR assumptions; do not annualize aggregate project benefits as though they were one final valuation. This calculator does not solve IRR/XIRR, verify projected savings or rank investment suitability.
Frequently asked questions
Which outcome basis should I select?
Why must I enter additional costs even when there are none?
Can I calculate ROI with zero investment cost?
Does the ROI calculator accept negative results?
Does the market selector convert currencies or calculate taxes?
Are these inputs saved or transmitted?
Sources and related methods
Source and methodology review: . Educational calculations only; no promised future results or personalized investment advice.
Australian Government: Key financial terms — ROI definition- How to Calculate ROI: Costs, Net Profit and Limits
- Absolute Return Calculator
- Absolute Return: Formula, Cash Distributions and Losses
- CAGR Calculator
- How to Calculate CAGR: Formula, Examples and Key Limits
- All tools
- All guides
- Financial Disclaimer
- IRR Calculator
- How to Calculate IRR: Cash-Flow Timing and Multiple Roots
- XIRR Calculator
- XIRR Explained: Dates, Leap Years and Multiple Returns
- Stock Profit and Loss Calculator
- Stock Profit and Loss Explained: Fees, Return and Break-Even