StockCalc

How to Calculate ROI: Gain over Capital and Horizon Caveats

ROI is a ratio—not a clock—unless you annualize with explicit assumptions.

How to Calculate ROI: Gain over Capital and Horizon Caveats

Updated May 2026 · ~10 min read

ROI divides a defined net benefit by a defined investment base. Different choices for costs, capital at risk, leverage, time horizon, residual value, taxes, and external cash flows can produce different valid ratios. ROI is not inherently annualized and is not a risk-adjusted measure.

When ROI algebra is worth spelling out

The formula

ROI (one period, conceptual) = (Ending value − Beginning value + Net cash flows) ÷ Beginning value Annualized variants require explicit time exponent choices—do not mix blindly

State the numerator, denominator, dates, and leverage. Irregular dated cash flows generally require IRR or another money-weighted method.

A labeled one-period ROI

If $8,000 of stated capital produces $960 after included costs, simple ROI is 12% for that window. Changing the cost base, leverage, taxes, or time period changes the interpretation.

Define the denominator

Common mistakes

Try the calculator

Use the interactive calculator to plug in your numbers and see results instantly—without redoing the math by hand.

Open ROI calculator →

FAQ

Is ROI annualized?

Not automatically. State the horizon or use an appropriate annualized method.

What belongs in investment cost?

Include costs relevant to the decision and state the scope; definitions vary by use case.

How does leverage affect ROI?

It can increase percentage gains and losses while adding financing and liquidation risk.

When should IRR be used?

IRR can summarize irregular dated cash flows when a meaningful root exists, but it has its own limitations.

Continue learning this topic

Move from this guide into a complete calculator path with related tools and glossary terms.

Open the Returns & Cost Basis hub →

Educational Disclaimer

This article is for educational and informational purposes only and should not be considered investment, financial, tax, or legal advice. Market information may change over time, and readers should verify important details independently before making financial decisions.