ROI Calculator

Measure the profitability of your investments with CalcoPolis.

This return on investment calculator measures your gain or loss relative to the amount you invested. Enter your investment cost and total amount returned to calculate ROI as a percentage, gain or loss in dollars, and an annualized return when you specify the holding period.

How to use the ROI calculator

  1. Enter Amount invested. Use a positive amount representing your initial investment, including upfront costs such as purchase fees.
  2. Enter Amount returned. Use the total proceeds or ending value, including the original capital recovered—not just your profit. Include relevant income, such as dividends, and deduct any later expenses that you have not already included in your investment cost.
  3. Check Period (optional) under Advanced. Enter the holding period in years to calculate annualized ROI. The default is 3 years; change it to match your investment. For six months, enter 0.5; for three months, enter 0.25.
  4. Review the results. ROI measures the percentage gain or loss over the entire period. Gain/Loss shows the dollar difference, while Annualized ROI expresses the equivalent compounded yearly return.

Avoid double-counting costs: either include an expense in Amount invested or deduct it from Amount returned, not both. Use the same currency throughout, and compare investments on a consistent before-tax or after-tax basis. The calculator does not determine fees or taxes for you.

The return on investment formula

ROI divides the net gain by the investment cost:

ROI (%) = (Amount returned − Amount invested) ÷ Amount invested × 100

Gain/Loss = Amount returned − Amount invested

The same relationship is often written as net return divided by cost:

ROI formula

In this notation, R means net return, or profit, and C means investment cost. Do not confuse net return with the calculator’s Amount returned field, which includes the capital recovered.

For an investment measured using initial value and final value, net return is the difference between those values:

Alternative ROI formula

Example: doubling a $1,000 investment

Suppose you invest $1,000 and receive $2,000 after three years, with no additional costs or cash flows.

Measure Calculation Result
Gain/Loss $2,000 − $1,000 $1,000
ROI ($2,000 − $1,000) ÷ $1,000 × 100 100%
Annualized ROI [(2,000 ÷ 1,000)1/3 − 1] × 100 25.99%

A 100% ROI means your profit equals your original investment. It does not mean you earned 100% each year.

How annualized ROI works

Annualized ROI converts the total return into an equivalent compounded yearly rate. It helps you compare investments held for different lengths of time.

Annualized ROI (%) = [(Amount returned ÷ Amount invested)1/n − 1] × 100

Here, n is the holding period in years and must be greater than zero. If you start with an ROI percentage instead, the equivalent formula is:

Annualized ROI (%) = [(1 + ROI ÷ 100)1/n − 1] × 100

For example, enter a 20% total return as 0.20 inside the growth factor, not 20. Dividing total ROI by the number of years does not give the compounded annualized return.

Annualization has important limits:

  • It does not show year-by-year performance. An investment can fluctuate sharply and still finish with a positive annualized return.
  • It is not a forecast. Annualizing a short-term gain does not mean that gain can be repeated throughout the year.
  • It does not account for cash-flow timing. If you make additional deposits or receive payouts along the way, a cash-flow-based measure such as IRR or XIRR may be more appropriate.
  • Negative ending values need separate analysis. They do not have a standard compound-growth interpretation. A zero ending value represents a total loss of the original investment.

What does your ROI result mean?

  • Positive ROI: the amount returned exceeds the investment cost.
  • Zero ROI: you recovered the investment cost, but earned no profit before any omitted costs or inflation.
  • Negative ROI: the amount returned is less than the investment cost.

For example, investing $1,000 and receiving $800 produces a $200 loss and an ROI of −20%. Receiving $1,200 instead produces a $200 gain and an ROI of 20%.

What is a good ROI?

There is no universal good ROI percentage. Evaluate the result against alternatives with similar holding periods, risks, liquidity, and tax treatment. A higher return may come with a greater chance of loss or a longer commitment.

Keep these distinctions in mind:

  • Percentage return versus dollar profit: a high ROI on a small investment may produce less money than a lower ROI on a larger one.
  • Nominal versus real return: a positive return can still lose purchasing power if it falls below inflation over the same period.
  • Realized versus estimated return: using an unsold asset’s current value gives a valuation-based result, not cash profit already received.

Practical ROI examples

ROI on a marketplace sale

shop owner

Suppose you sell a laptop for $1,000. For this hypothetical sale, the purchase cost is $700, the marketplace fee is $80, and shipping and packaging cost $12.

  • Amount invested: $700 + $80 + $12 = $792
  • Amount returned: $1,000
  • Gain: $1,000 − $792 = $208
  • ROI: $208 ÷ $792 × 100 = 26.26%

This is a before-tax return on the listed transaction costs. Advertising, returns, storage, and other overhead would reduce profitability if they also apply.

ROI is not the same as profit margin. Here, ROI is 26.26% because profit is divided by cost; profit margin is 20.8% because profit is divided by revenue. Use the margin calculator when you need to measure how much of each sales dollar remains as profit.

ROI on a stock investment

stocks owner

Consider a hypothetical purchase of 10 shares at $296 each. You pay a $5.92 purchase fee, later sell the shares for $3,256, pay a $6.51 selling fee, and receive $48.84 in cash dividends.

  • Amount invested: $2,960 + $5.92 = $2,965.92
  • Amount returned: $3,256 − $6.51 + $48.84 = $3,298.33
  • Gain: $3,298.33 − $2,965.92 = $332.41
  • ROI: $332.41 ÷ $2,965.92 × 100 = 11.21%

This example is before tax. It includes dividends in the total return rather than counting only the increase in share price. For a stock-focused breakdown, use the Holding Period Return Calculator.

Using ROI to evaluate a business decision

ROI can help compare equipment purchases, marketing campaigns, and other projects, provided you define costs and benefits consistently. For a marketing campaign, for example, attributable sales revenue alone may overstate the benefit if you omit the costs of fulfilling those sales.

For a forecast, calculate conservative, expected, and optimistic scenarios rather than treating one projected result as certain. Then check whether the project still makes sense after allowing for implementation costs, delays, and a lower-than-expected return.

Businesses offering products or services with measurable savings can use Calcopolis to build a customized ROI calculator that lets prospective customers compare their costs with estimated benefits before requesting a quote.

Related profitability measures

ROI is one useful financial metric, but it answers a different question from company-level profitability ratios:

Use ROI for the return on a defined investment, and these related ratios when analyzing how a business uses its equity, assets, or revenue to generate profit.