Xerobit

ROI Calculator: Simple and Annualized Return

Enter the initial cost and final revenue to calculate your return on investment as a percentage. Add a holding period in years to see the annualized ROI. This roi calculator runs entirely in your browser, so no financial data is uploaded anywhere.

Result

  • Net profit
    $2,500
  • Simple ROI
    25%

How to use the roi calculator

  1. Enter the initial cost of your investment, project or purchase.
  2. Enter the final value or total revenue received at the end.
  3. Optionally enter the holding period in years to compute the annualized return.
  4. Read the net profit, simple ROI and, if applicable, the annualized ROI below.

How the ROI formula works

The basic roi formula divides your net profit by the initial cost, then multiplies by 100 to express it as a percentage:

ROI = ((Revenue - Cost) / Cost) x 100

For example, if you invest $10,000 and receive $12,500 back, the net profit is $2,500. Dividing $2,500 by $10,000 gives 0.25, which is a 25% return on investment.

This simple calculation does not account for how long the money was tied up. A 25% gain over one year is very different from a 25% gain over ten years, which is why annualizing matters.

Calculating annualized ROI

Annualized ROI converts any return into an equivalent yearly rate using compounding. The formula is:

Annualized ROI = ((Revenue / Cost)(1 / Years) - 1) x 100

If you turn $10,000 into $14,641 over exactly 4 years, the ratio is 1.4641. Taking the fourth root (raising to the power of 0.25) gives 1.10. Subtracting 1 leaves 0.10, or 10% per year.

This method assumes the gains compound each year. It is the standard way to compare investments with different holding periods. For a deeper look at how compounding grows money over time, see the compound interest calculator.

Common ROI examples

The table below shows several scenarios computed with this return on investment calculator. All values assume no additional contributions or fees.

CostRevenueYearsSimple ROIAnnualized ROI
$1,000$1,100110%10%
$5,000$7,500350%14.47%
$10,000$10,00050%0%
$2,000$1,5002-25%-13.40%
$500$2,0004300%41.42%

Notice that a 50% simple ROI over three years translates to roughly 14.47% per year, not 16.67%. Simple division ignores compounding, which makes annualized ROI the more accurate comparison metric.

When to use simple vs annualized ROI

Simple ROI is best for short-term decisions where the time horizon is identical across options. If you are comparing two marketing campaigns that both ran for one month, the raw percentage tells you which performed better without extra math.

Annualized ROI becomes essential when comparing investments of different durations. A rental property held for seven years and a stock sold after eighteen months cannot be compared fairly using simple percentages alone. Converting both to a yearly rate levels the playing field.

Keep in mind that neither version accounts for inflation, taxes or transaction costs. For business decisions, subtract those expenses from the revenue figure before entering it into the roi calculator.

Edge cases and common mistakes

A frequent error is entering the profit instead of the total revenue. If you spent $1,000 and made $200 in profit, the final value is $1,200, not $200. Entering $200 would show an 80% loss.

Another issue arises with zero or negative costs. The roi formula requires dividing by the initial cost, so a cost of zero produces a mathematical error. Similarly, negative costs do not represent real investments and are rejected.

When dealing with losses, the annualized ROI will also be negative. Losing 50% of an investment over two years results in an annualized return of about -29.29%, not -25%, because compounding works in reverse during drawdowns.

If you need to track how a value changes between two points rather than measuring investment returns, the percent change calculator may be more appropriate.

Worked examples

Each result below was produced by the same code the tool runs, so you can check your own numbers against them.

ExampleInputResult
Stock held 3 yearsInitial cost or investment: 10000; Final value or revenue: 14500; Holding period (years): 3Net profit: $4,500; Simple ROI: 45%; Annualized ROI: 13.19%
Quick house flipInitial cost or investment: 250000; Final value or revenue: 285000; Holding period (years): 0.75Net profit: $35,000; Simple ROI: 14%; Annualized ROI: 19.09%
Marketing campaignInitial cost or investment: 5000; Final value or revenue: 18000Net profit: $13,000; Simple ROI: 260%
Loss on cryptoInitial cost or investment: 2000; Final value or revenue: 800; Holding period (years): 1.5Net profit: -$1,200; Simple ROI: -60%; Annualized ROI: -45.71%

FAQ

What is a good ROI?

It depends on the asset class and risk level. Historically, the US stock market averages around 7% to 10% annualized after inflation. Lower-risk assets like bonds typically return less, while high-risk ventures may target 20% or more.

Can ROI be negative?

Yes. If the final revenue is less than the initial cost, the return on investment is negative, indicating a loss. This roi calculator handles negative results automatically.

What is the difference between ROI and IRR?

ROI measures total return relative to cost, while internal rate of return (IRR) accounts for multiple cash flows at different times. For a single upfront cost and a single final payout, annualized ROI and IRR produce the same number.

Does this tool account for inflation?

No. The figures entered are nominal. To get a real return, reduce the final revenue by the cumulative inflation over the holding period before calculating.

Why is my annualized ROI lower than my simple ROI divided by years?

Dividing simple ROI by years ignores compounding. Annualized ROI uses a geometric mean, which correctly reflects how returns build on each other year over year.

Is my financial data safe here?

Yes. This return on investment calculator processes everything locally in your browser. No numbers are sent to any server.