Toolstia / ROI calculator

Return on investment (ROI) calculator

Return on investment is the simplest way to answer whether money you put into something was worth it. This calculator takes the amount you invested and what it ended up worth, then shows your profit or loss in currency and as a percentage of the original outlay.

If you also enter how many years you held the investment, it adds a compounded yearly return. That second number matters because a 50 percent gain sounds the same whether it took two years or ten, but the two cases are very different. The yearly figure lets you compare unlike holding periods on one scale.

It suits shares, a rental property, equipment bought for a business, a course, a marketing campaign or any case where you can state one amount in and one amount out. The calculation is a simple ratio, so the quality of the answer depends on putting every real cost into the two numbers.

Enter what you put in and what it is worth now.

ROI ignores fees, taxes and inflation unless you include them in the numbers. Past returns do not predict future ones.

How it works

  1. Enter the amount invested and the final value.
  2. Optionally enter the years held.
  3. Read the profit or loss, ROI and yearly return.

ROI formula

ROI equals final value minus amount invested, divided by amount invested, times 100. Putting in 1,000 and getting 1,500 back is an ROI of 50%.

Yearly return

ROI says nothing about time. A 50% gain in 2 years is better than the same gain in 10. The yearly figure is final over invested, to the power of 1 over years, minus 1.

Include all costs

Put fees, taxes and running costs into the numbers if you want a true result. For a business or property, include repairs and interest paid.

Not a forecast

This is a calculation of what happened, not a prediction. Past returns do not guarantee future ones.

Two cases worked through

Invest $10,000 and end with $14,500 after four years. The profit is $4,500, the ROI is 45 percent, and the compounded yearly return is 9.73 percent. That yearly figure is 1.45 raised to the power of one quarter, minus one.

Now a loss: invest $20,000 and end with $15,000 after three years. The tool reports a loss of $5,000, an ROI of minus 25 percent and a compounded yearly return of minus 9.14 percent. A negative result is shown with the label Loss instead of Profit.

Same gain, very different time

Turn $1,000 into $1,500 and the ROI is 50 percent in both of these cases. Held for ten years, that is only 4.14 percent a year. Held for two years, it is 22.47 percent a year.

The simple ROI cannot tell these apart, which is why the optional years field exists. When comparing two opportunities, compare the yearly figures, not the headline percentages.

What to include in the two numbers

The calculator does exactly what you tell it. If you buy a rental property for $200,000 but also spend $15,000 on repairs and $6,000 on purchase fees, the invested amount is $221,000, not $200,000. On the other side, count rent collected and the sale proceeds after selling costs as the final value.

Leaving out costs inflates the result. Leaving out income such as dividends or rent understates it. Tax can be included too, if you want an after-tax view.

Fractional years and short periods

The years field accepts decimals, so you can enter 0.5 for six months or 1.25 for fifteen months. Be careful with very short periods: compounding a three-month gain into a yearly rate assumes you could repeat the same result four times in a row, which rarely holds.

If you leave the years box empty, only the profit and the simple ROI are shown. If you enter a final value of zero, the tool shows a 100 percent loss.

What ROI does not measure

ROI says nothing about risk. A 20 percent return from a stable asset and a 20 percent return from a speculative one look identical here. It also ignores inflation, so a 3 percent gain in a year when prices rose 4 percent is a loss in purchasing power.

It does not handle money added or withdrawn along the way. If you made several deposits at different times, this single-amount approach is only a rough guide. For such cases you need a method that weighs the timing of each cash flow.

Questions

Can ROI be negative?

Yes. A loss gives a negative percentage.

Is it the same as profit margin?

No. Margin compares profit with sales. ROI compares profit with the money invested.

Is anything uploaded?

No. Your numbers stays in your browser and is never sent anywhere.

What is a good ROI?

It depends on risk, time and the alternatives available to you. Compare the yearly figure with what a low-risk option would pay over the same period.

Why is my yearly return so different from ROI divided by years?

The yearly figure is compounded. A 45 percent total over four years is 9.73 percent a year, not 11.25, because each year's gain also earns a return.

Can I use it for a marketing campaign?

Yes. Enter total campaign cost as invested and the revenue or profit attributed to it as final value. Decide beforehand whether to use revenue or profit, and keep it consistent.

What if the amount invested is zero?

ROI is undefined without a starting amount, so the tool shows no result until the invested value is above zero.

Does it work with different currencies?

The tool does no currency conversion. Enter both amounts in the same currency.