Skip to content

ROI Calculator

Compare what you received with what you invested, including additional costs and cash returns.

The amount you originally invested.
What it is worth now, or what you received when you sold.
Additional details (optional)
Fees, commissions, or expenses not already in your initial investment. These count as part of what you invested.
Dividends, rent, or distributions not already in the ending value.
Holding period
Load example

Your ROI result

Enter your initial and ending investment values to see your return.

How to calculate return on investment

Return on investment compares net profit or loss with the total cost invested. Enter a positive initial investment and an ending investment value. Include any additional costs and other cash returns in the optional fields, without counting the same amount twice.

Total cost = initial investment + additional costs

Total return = ending value + other cash returns

ROI (%) = (total return − total cost) ÷ total cost × 100

An ROI above zero indicates a profit relative to the costs entered. Zero means break-even; a negative ROI indicates a loss. The calculation does not judge whether a return is sufficient for its risk, time period or alternatives.

Worked example with fees and distributions

Suppose you invest $1,000, pay $50 in additional fees, receive $100 in distributions, and finish with an investment worth $1,200. Total cost is $1,050, total return is $1,300, and net profit is $250. ROI is $250 ÷ $1,050 × 100, or about 23.81%.

If ending value or sale proceeds already include distributions, do not enter those distributions again. If a fee has already been deducted from ending value, do not also add it to costs. Use a consistent gross-or-net accounting approach for all inputs.

Annualized ROI

Enter an optional holding period in whole months to express the total return as an equivalent compound annual rate.

Annualized ROI (%) = ((total return ÷ total cost)12 ÷ months − 1) × 100

For example, an investment growing from $1,000 to $1,210 over 24 months has 21% total ROI but 10% annualized ROI. Dividing total ROI by the number of years would give a different result because it ignores compounding.

This annualization assumes all costs are paid at the start and all returns, including distributions, are received at the end. It is not an internal rate of return (IRR) or a dated cash-flow analysis. It does not model reinvestment of interim distributions. Short holding periods can produce extreme annualized figures; those are mathematical extrapolations, not forecasts.

Losses, zero value and input limits

An ending value of zero is allowed. If there are no other cash returns, total ROI is −100%, and the annualized result is also −100% for any supported holding period. Separate distributions can reduce the loss even when no asset value remains.

The initial investment must be above zero, while additional costs, ending value and cash returns must be zero or positive. Each dollar field supports up to $1 billion with two decimal places. Optional dollar fields default to zero. Holding period is optional and must be 1–1,200 whole months when provided.

This version does not accept negative ending values or liabilities, so it cannot represent a loss exceeding the total cost entered. It does not automatically include borrowing costs, leverage, taxes or inflation; consider whether this simple model fits your situation.

Precision and comparisons

Dollar totals are calculated in whole cents. ROI percentages use unrounded values and display up to two decimal places; tiny nonzero percentages are labeled instead of shown as zero. Annualized results use floating-point exponentiation and are approximations.

Compare investments using consistent cost definitions and time periods. ROI alone does not measure volatility, liquidity or the timing of cash flows. For a basic change between two numbers, use the Percentage Calculator. Read our calculator methodology for how formulas and limitations are documented.

Choose the right related calculation

Use ROI for an investment’s gain or loss relative to its costs. For setting a product’s selling price from cost and a target margin, use the Markup Calculator; for a simple original-to-new comparison, use the Percentage Increase Calculator.

Frequently Asked Questions

What is the difference between ROI and annualized return?

ROI compares total net profit with total cost without adjusting for time. Annualized ROI expresses the return as an equivalent compound yearly rate. Growth from $1,000 to $1,210 over 24 months is 21% total ROI and 10% annualized ROI.

How should I include fees and cash distributions?

Add costs not already deducted from ending value to additional costs, and add returns not already included in ending value to other cash returns. Counting a fee or distribution twice distorts both profit and ROI.

Can ROI be negative?

Yes. A total return below the total cost gives negative ROI. This calculator accepts zero ending value, but not negative ending values or liabilities, so it does not model losses exceeding the costs entered.

Is this an IRR calculator for dated cash flows?

No. Annualization assumes all entered costs occur at the start and all returns at the end. It does not model the dates of interim cash flows, reinvestment of distributions, investment risk, or future performance.