How it works
The ROI Calculator estimates start-to-end return from one amount invested, one amount returned, and either an investment length or a start and end date. It reports signed investment gain or loss, total ROI, annualized ROI, holding years, holding days, and an estimate-only note.
Use this calculator when the question is a simple before-and-after return: how much value changed, what that change means as a percentage of the starting amount, and how the same result looks on an annualized basis. Use the average return calculator when several periods or cash flows matter, the IRR calculator for dated deposits and withdrawals, the investment calculator for ongoing contributions, and the payback period calculator when recovery time is the main question.
Formula notes
This formula page covers the app's ROI Calculator: one amount invested, one amount returned, and either a holding length in years or a start and end date. It calculates signed gain or loss, total holding-period ROI, and annualized ROI when the inputs allow it. It does not model interim cash flows, fees, taxes, inflation, benchmark performance, risk, volatility, reinvestment, or formal portfolio-performance reporting.
Step by step
- Read the amount invested and amount returned from the calculator inputs.
- Subtract amount invested from amount returned to calculate signed investment gain or loss.
- If amount invested is greater than zero, divide gain or loss by amount invested and multiply by 100 to get total ROI. If amount invested is zero, the implementation returns 0 percent instead of dividing by zero.
- In length mode, use the entered investment length in years for holding years and round entered years times 365 for holding days.
- In date mode, count elapsed UTC days between the start and end date, then divide that day count by 365 to get holding years.
- When amount invested, amount returned, and holding years are all positive, divide amount returned by amount invested, raise that ratio to 1 divided by holding years, subtract 1, and multiply by 100 to get annualized ROI.
- When amount invested is zero, amount returned is zero or negative, or holding years are zero, annualized ROI is returned as 0 because the annualized formula is not meaningful for those inputs.
- Round currency and percent outputs for display after the full-precision calculation.
Sources and validation
This calculator is an original implementation based on documented formulas, app-specific assumptions, deterministic fixtures, edge cases, rounding policy tests, and internal validation. It is not copied from a single source.
Outputs are checked with deterministic fixtures, edge cases, rounding policy tests, and internal independent comparator checks where overlapping outputs are available. The result remains an educational estimate, not a quote, approval, tax answer, or personalised advice.
- Investor.gov Investment Products, What is Risk, and Understanding Fees materials should be used before copy discusses investment-product features, risk, return, diversification, liquidity, fees, costs, fraud, or real-world return interpretation.
- IRS Topic 409 and relevant tax-authority materials should be used before copy discusses US capital gains, capital losses, holding-period tax classification, reporting, loss deductibility, estimated tax, or net investment income tax.
- SEC, FINRA, FCA, MoneyHelper, product documents, prospectuses, fee disclosures, brokerage statements, provider materials, and relevant local regulators should be used before copy frames simple ROI as regulated performance reporting, time-weighted return, money-weighted return, product-specific returns, benchmark comparisons, legal claims, or jurisdiction-specific guidance.
See the Calcs.finance methodology for the full review approach.
Assumptions
- Amount invested, Amount returned, and the selected holding-period input describe the whole start-to-end scenario. The calculator does not know about interim deposits, withdrawals, dividends, income, fees, expenses, taxes, or reinvestment timing unless they are already reflected in Amount returned.
- Date mode uses elapsed UTC days divided by 365. It does not use trading days, provider performance conventions, actual/actual day counts, benchmark returns, volatility, risk measures, or professional performance-reporting rules.
- Results use the numbers entered on the page, round currency and percent outputs to two decimals, and are educational estimates rather than financial, tax, legal, lending, investment, provider, or regulated advice.
Formula version 2026.05.22-generic-roi
Common mistakes to avoid
- Comparing total ROI across different holding periods without checking annualized ROI. A large total return over many years may be less comparable than a smaller return over a short period.
- Treating Amount returned as automatically net of fees, taxes, dividends, income, or sale costs. Enter the returned amount after those items only when you want them reflected in the estimate.
- Using this simple ROI model when cash-flow timing matters. If there were deposits, withdrawals, or irregular cash flows during the holding period, average return or IRR may be a better calculator match.
Worked example
Default example: $1,000 returned as $2,000 over 4.614 years
The default calculator inputs use $1,000 invested, $2,000 returned, length mode, and a 4.614-year holding period.
- Subtract $1,000 from $2,000 to get a signed investment gain of $1,000.
- Divide $1,000 of gain by the $1,000 invested amount to get 1.00, then multiply by 100 for a total ROI of 100 percent.
- Use 4.614 years as the holding period because the default is in length mode.
- Round 4.614 years times 365 to 1,684 holding days.
- Divide $2,000 by $1,000 to get a growth ratio of 2.
- Raise 2 to the power of 1 divided by 4.614, subtract 1, and multiply by 100 to get about 16.21 percent annualized ROI.
- The calculator displays holding years as 4.61 after rounding.
Total ROI answers how much the investment gained or lost over the whole holding period. Annualized ROI puts that same start-to-end result on a yearly scale, but it still ignores cash-flow timing, fees, tax, inflation, and risk.
What this formula does not include
- ROI is based only on the amount invested and amount returned. It does not know when any interim deposits, withdrawals, dividends, income, fees, or expenses happened.
- Amount returned must already include any cash flows, proceeds, or costs the user wants reflected in the estimate.
- Annualized ROI is a start-to-end compound-rate estimate, not an internal rate of return, time-weighted return, money-weighted return, or professional performance report.
- Date mode uses elapsed UTC days divided by 365. It does not use trading days, leap-year day counts, actual/actual conventions, or provider-specific performance conventions.
- Losses are reported as signed negative investment gains. Comparator tools may display the same value as a positive Investment Loss row.
- If amount invested, amount returned, or holding years are not positive, the annualized ROI output is set to 0 instead of forcing a misleading annualized figure.
- No tax, transaction fee, platform fee, inflation adjustment, risk measure, benchmark, currency movement, or investment volatility is modeled.
- The result is an educational estimate from the entered assumptions, not investment advice or a recommendation to buy, sell, or hold anything.
Terms used in this calculator
- Investment gain or loss
- Amount returned minus amount invested. Positive values are gains and negative values are losses in this calculator's signed output.
- Total ROI
- The gain or loss divided by amount invested, shown as a percentage. It describes the whole holding period and does not include a time scale by itself.
- Annualized ROI
- The equivalent yearly compound-rate estimate implied by amount invested, amount returned, and holding years. It helps compare holding periods, but it still ignores interim cash flows, fees, taxes, risk, and product rules.
More investment calculators
Estimate future value from principal, a fixed annual rate, and whole-year annual compounding.
Estimate interest earned and final value using simple (non-compounding) interest.
Estimate ending balance, contributions, interest, tax drag, and inflation-adjusted buying power.
Estimate certificate of deposit maturity value, interest earned, and tax drag from deposit, rate, term, and compounding.
Estimate simple and discounted payback periods for an investment with recurring annual cash flow.
Estimate annualized return from account cash flows or from several holding-period returns.