# ROI Calculator

Canonical: [ROI Calculator](<https://www.cfosilvia.com/financial-calculators/roi>)

Category: [Investing and savings calculators](<https://www.cfosilvia.com/financial-calculators#investing-savings>)

Built by [Silvia](<https://www.cfosilvia.com/about>). Content updated: 2026-10-15.

Calculate gain, return on investment, and annualized return from beginning and ending values.

Best for: Calculate investment gain, total ROI, and annualized return from beginning value, ending value, and holding period.

This is an educational estimate based on your inputs. Read the formula and assumptions, and check any stated rule year and primary sources before making a financial decision. Open the canonical interactive page to enter a scenario; this Markdown reference contains no visitor inputs or personalized calculation results.

## Inputs

- **Initial investment** Units: $.
- **Ending value** Units: $.
- **Holding period** Units: years.

## How to use this calculator

Use this ROI calculator to translate a beginning and ending value into total and annualized performance. Add all relevant cash invested and proceeds when possible; omitted fees or interim cash flows can make a simple ROI misleading.

1. **Enter beginning and ending value.** Use values measured on a consistent basis and include transaction costs where relevant.
2. **Add the holding period.** Enter how long capital was committed so total ROI can be annualized.
3. **Compare rate and dollar gain.** Review both percentage performance and the actual dollars created or lost.

## Worked planning example

### Example: compare two investments held for different periods

**Set up:** Calculate ROI for each investment using its beginning value, ending value, and years held.

**Compare:** Compare annualized return rather than total percentage alone.

**Takeaway:** A smaller total gain achieved quickly can represent a higher annualized rate than a larger gain earned over many years.

## Use cash-flow-aware metrics when timing is complex

Simple ROI works best with one beginning investment and one ending value.

- Include fees, taxes, and maintenance when relevant.
- Use IRR for multiple dated cash flows.
- Compare investments with similar risk and liquidity.

## Calculation methodology and assumptions

ROI = (ending value − initial investment) ÷ initial investment × 100. Net gain is ending value minus initial investment. Annualized return = \[(ending value ÷ initial investment)^(1 ÷ years held) − 1\] × 100. The annualized result requires positive starting and ending values and a positive holding period. This assumes one initial investment and one terminal value. Include proceeds and costs consistently; intermediate deposits, withdrawals, distributions, and their timing are not modeled.

## Frequently asked questions

### What is the ROI formula?

ROI equals ending value minus beginning value, divided by beginning value, expressed as a percentage.

### What is annualized ROI?

It converts total growth over the entered holding period into an equivalent compounded yearly rate.

### Does ROI account for risk?

No. It measures return from entered values but does not adjust for volatility, liquidity, leverage, or probability of loss.

## Related calculators

- [IRR Calculator](<https://www.cfosilvia.com/financial-calculators/irr/index.md>): Estimate the internal rate of return for a series of evenly spaced cash flows.
- [Average Return Calculator](<https://www.cfosilvia.com/financial-calculators/average-return/index.md>): Compare arithmetic average return with compounded annual growth rate across multiple periods.
- [Payback Period Calculator](<https://www.cfosilvia.com/financial-calculators/payback-period/index.md>): Estimate how long recurring cash inflows take to recover an initial investment.
- [Investment Calculator](<https://www.cfosilvia.com/financial-calculators/investment/index.md>): Project an investment balance and separate contributions from estimated growth.

Related guide: [How investment fees affect long-term wealth](<https://www.cfosilvia.com/blog/investment-fees-long-term-wealth>)

All calculators: [Financial calculator directory](<https://www.cfosilvia.com/financial-calculators/index.md>)

## Put the estimate in context with Silvia

Connect your investments, retirement accounts, crypto, cash, and other assets, then ask Silvia to monitor the trade-offs across your portfolio 24/7.

[Try Silvia for free](<https://www.cfosilvia.com/sign-up>)
