ROI Calculator

Total return on invested cost

25 %

Net investment gain / loss

$25,000.00

All results
Calculator inputs
?

Amount returned means gross sale/terminal proceeds, not profit. Optional income and fees are entered separately.

?

Purchase or project outlay, excluding the separate initial-cost field. Keep every amount on the same currency and cost basis.

?

Sale or ending value before the separate exit costs. Do not enter net profit here.

?

Included in invested basis once, together with the initial amount. Do not include costs already inside that amount.

?

Deducted from returned value once. Actual tax liability and recurring fees are not inferred.

?

Aggregate income not already included in the returned amount. Annualization treats it as terminal-equivalent money, not a dated distribution stream.

?

Dates use actual elapsed Gregorian days divided by your selected day basis. End date is not counted twice.

?

Positive decimal years for annualization. Zero still permits total ROI but has no annualized return.

Invested cost versus terminal-equivalent proceeds

Net gain is the difference, not a third amount to add to the proceeds. Negative values are shown as losses.

Invested cost$100,000.00
Net proceeds$125,000.00
Net gain / loss$25,000.00

A constant-rate path matching the entered endpoints

An illustration of the compound annual equivalent, not the historical path or a forecast. Aggregate income is treated as terminal-equivalent value.

A constant-rate path matching the entered endpoints$0$31.3K$62.5K$93.8K$125K0 yr0.5 yr1 yr
Equivalent endpoint value
$100,000.00
Invested basis
$100,000.00

Reconcile cost, proceeds and return

Do not add subtotals to their components again. Income and fees should be entered only if absent from the gross amounts.

Reconcile cost, proceeds and return
QuantityAmount
Initial amount$100,000.00
Additional initial costs$0.00
Total invested basis$100,000.00
Gross amount returned$125,000.00
Other cash received$0.00
Exit costs to subtract$0.00
Net terminal-equivalent proceeds$125,000.00
Net gain / loss$25,000.00

The same total ROI over different holding periods

Holds the entered total return fixed while changing only its duration. This comparison does not estimate which returns are available, or account for risk, liquidity or dated cash flows.

The same total ROI over different holding periods
Hypothetical yearsUnchanged total ROIAnnualized equivalent
0.525 %56.25 %
125 %25 %
225 %11.8034 %
325 %7.7217 %
525 %4.564 %
1025 %2.2565 %

Holding-period convention

Holding-period convention
QuantityValue
Input methodlength
Elapsed daysNot used
Days per yearDirect years input
Years used1

How to use the ROI Calculator

Calculate total and annualized ROI, include explicit fees and income, or solve a target return. Compare holding periods and inspect the full investment reconciliation.

  1. 1. Enter your inputs

    Start with ROI calculation, Initial amount invested, Gross amount returned, Additional initial costs. Use the units shown beside each field and open the field help when you need its assumptions.

  2. 2. Read the results

    Results update as you enter valid values. Review Total return on invested cost, Net investment gain / loss, Equivalent annualized ROI. Keep the entered units and settings consistent when comparing scenarios.

  3. 3. Check the calculation

    No market forecast, risk score, automatic inflation adjustment, tax law, historical price lookup or reinvestment timing. Scenario curves merely connect the entered endpoints at a constant equivalent rate.

    See the worked example and method

Understanding the ROI Calculator: uses, inputs and results

The ROI Calculator expresses a net investment gain relative to the money initially committed, making the return denominator explicit.

Am I comparing the same invested basis over the same holding period?

The ROI Calculator makes purchase costs, proceeds, separate income and exit costs inspectable before expressing the outcome as a return. Annualization then adds an explicit time convention.

Return and gain have different meanings

Receiving $1,250 after investing $1,000 means $250 gain and 25% total ROI, not $1,250 profit.

Endpoint arithmetic does not reproduce a cash-flow history

Aggregated income is treated as terminal-equivalent money. Dated contributions and withdrawals need a timing-sensitive model rather than a smooth endpoint curve.

Further reading: SEC Investor.gov: understanding investment fees

What do the ROI Calculator inputs mean?

ROI calculation
Amount returned means gross sale/terminal proceeds, not profit. Optional income and fees are entered separately.
Initial amount invested
Purchase or project outlay, excluding the separate initial-cost field. Keep every amount on the same currency and cost basis. Unit: $. This field applies when ROI calculation is set to Find return from invested and returned amounts or Find proceeds for a target ROI.
Gross amount returned
Sale or ending value before the separate exit costs. Do not enter net profit here. Unit: $. This field applies when ROI calculation is set to Find return from invested and returned amounts or Find initial amount for a target ROI.
Target total ROI
Total holding-period return, not an annual rate. The inverse initial-amount solver requires a target above −100%. Unit: %. This field applies when ROI calculation is set to Find proceeds for a target ROI or Find initial amount for a target ROI.
Additional initial costs
Included in invested basis once, together with the initial amount. Do not include costs already inside that amount. Unit: $.
Exit costs
Deducted from returned value once. Actual tax liability and recurring fees are not inferred. Unit: $.
Other cash received
Aggregate income not already included in the returned amount. Annualization treats it as terminal-equivalent money, not a dated distribution stream. Unit: $.
Holding-period input
Dates use actual elapsed Gregorian days divided by your selected day basis. End date is not counted twice.
Holding period
Positive decimal years for annualization. Zero still permits total ROI but has no annualized return. Unit: years. This field applies when Holding-period input is set to Enter years.
Start date
Gregorian date from 1900 through 2200. No intraday time or timezone is modeled. This field applies when Holding-period input is set to Use calendar dates.
End date
On or after start date. The elapsed day count includes leap days. This field applies when Holding-period input is set to Use calendar dates.
Days per annualization year
Explicit conversion convention for elapsed days. Different annualization bases can produce different annualized percentages. This field applies when Holding-period input is set to Use calendar dates.

When is the ROI Calculator useful?

Compare investment outcomes

Enter the original cost and final value including recovered capital to calculate gain and percentage return.

Check return terminology

Use the result as a period return. It is not automatically an annualized return or a cash-flow-timing measure.

ROI Calculator: a practical reference

The fixed “25 percent gain” example on this page produces the results below. It illustrates the stated model; your live results above use your current inputs.

ROI calculation
Find return from invested and returned amounts
Initial amount invested
100000 $
Gross amount returned
125000 $
Total return on invested cost
25 %
Net investment gain / loss
$25,000.00
Review the example inputs and calculation

Use the result in context

No market forecast, risk score, automatic inflation adjustment, tax law, historical price lookup or reinvestment timing. Scenario curves merely connect the entered endpoints at a constant equivalent rate.

Try the ROI Calculator·Read the subject guide·Explore a related calculator

Worked example: ROI Calculator

25 percent gain. This fixed reference example shows one complete scenario; the interactive results above use your current inputs.

View the example inputs
ROI calculation
Find return from invested and returned amounts
Initial amount invested
100000 $
Gross amount returned
125000 $
Additional initial costs
0 $
Exit costs
0 $
Other cash received
0 $
Holding-period input
Enter years
Holding period
1 years
Calculated results for the fixed example
Calculated quantityExample result
Total return on invested cost25 %
Net investment gain / loss$25,000.00
Equivalent annualized ROI25 %

ROI Calculator: compare returns using a consistent cost basis and holding period

How do I calculate return on investment?

Compare what was received with what was invested. The ROI Calculator subtracts invested cost from terminal-equivalent proceeds, then divides the gain or loss by invested cost. Investing $1,000 and receiving $1,250 with no other costs or income gives $250 gain and 25% total ROI.

Amount returned is not another name for profit. Entering $250 as the returned amount in that example would describe receiving only $250 back from a $1,000 investment, a 75% loss. The reconciliation table exposes this distinction before a percentage is interpreted.

Should I include fees and other income in ROI?

Use a consistent basis. Additional initial costs increase invested basis; exit costs reduce proceeds; separately entered income increases proceeds. A $1,000 initial amount, $20 initial costs, $1,200 returned, $50 income and $30 exit costs give $1,020 basis, $1,220 net proceeds and $200 gain, or about 19.61% ROI.

Only enter fees and income that are absent from the main amounts, or they will be counted twice. The SEC’s fees resource explains why costs matter to investment outcomes. This calculator accepts your amounts; it does not infer account fees, tax treatment or product expenses.

SEC Investor.gov: understanding investment fees

What is the difference between total and annualized ROI?

Total ROI describes the complete holding-period change. The annualized equivalent is the constant compound rate that would connect the same invested basis and terminal-equivalent proceeds over the chosen duration. A $1,000 amount becoming $1,210 over two years is 21% total ROI but 10% annualized, because 1.10 × 1.10 = 1.21.

Dividing 21% by two gives a simple average, not that compound annual rate. The horizon table holds total ROI fixed and changes only the time used to annualize it. Its rows are comparisons, not forecasts of returns that can be earned.

How do dates and leap years affect annualized return?

Calendar mode counts actual elapsed days, including February 29, then divides by the explicitly selected 365 or 365.25 days per year. January 1, 2024 to January 1, 2025 contains 366 elapsed days, so those conventions produce slightly different year fractions.

The end date is not counted as an additional whole day after elapsed time. Equal dates allow a total ROI comparison but no annualized rate, because dividing the growth exponent by zero time is undefined. Match the day basis and dates before comparing another site’s annualized percentage.

Can ROI be negative or less than −100%?

Receiving less than the invested basis gives negative ROI. Zero net proceeds give −100% total ROI and −100% annualized return over a positive duration. If separately entered exit costs exceed everything received, net proceeds can be negative and total ROI can fall below −100%.

The conventional positive-base compound annual calculation is not assigned to a negative terminal value here. The total loss remains visible, while the annualized output explains why it is undefined. An extreme short-period annualization can also exceed finite numerical range rather than representing a realistic opportunity.

Is annualized ROI the same as IRR or investment performance?

Not when the timing of intermediate cash flows matters. This model aggregates other income as terminal-equivalent money. It does not reconstruct dividends received earlier, reinvestment dates, extra deposits, withdrawals or a time-weighted performance history.

The endpoint curve is an illustration of one constant annual equivalent, not an observed market path. Use a dated cash-flow model for timing-sensitive questions, and compare risk, liquidity, costs and consistent definitions separately from the return percentage. A target-return solver establishes arithmetic, not that an investment can deliver the target.

Formula and calculation method

Invested basis = initial amount + initial costs. Net terminal-equivalent proceeds = returned amount + other cash − exit costs. Net gain = proceeds − basis; ROI = net gain / basis × 100.

Annualized ROI = [(proceeds / basis)^(1/years) − 1] × 100. Zero terminal value gives −100% over a positive holding period. Negative terminal value has no conventional positive-base compound annual return here.

Zero holding time permits a total ROI but not annualization. Calendar mode divides actual elapsed days by the explicitly selected 365 or 365.25 day basis.

Income is aggregated as terminal-equivalent money. For dated intermediate contributions and withdrawals use a cash-flow model such as IRR; this is not a time-weighted or money-weighted return calculation.

Scope and Limitations

  • No market forecast, risk score, automatic inflation adjustment, tax law, historical price lookup or reinvestment timing. Scenario curves merely connect the entered endpoints at a constant equivalent rate.

Reference Sources

Frequently asked questions

Is the amount returned the same as net profit?

No. It is the gross sale or ending amount. Net gain subtracts the full invested basis and accounts for separately entered income and exit costs.

What is 21% ROI over two years annually?

The compound annual equivalent is (1.21)^(1/2) − 1 = 10%, before any additional unentered costs.

Why can annualized ROI differ between calculators?

Check the holding period, actual dates, days-per-year convention, costs, income treatment and whether the model assumes terminal rather than dated intermediate cash flows.

Can a zero holding period have ROI?

It can have a total gain/loss comparison, but no annualized return is defined at zero time.

Does the endpoint graph show actual investment history?

No. It illustrates a constant-rate path connecting the entered basis and terminal-equivalent proceeds.