ROI Calculator

Measure the return on any investment, in total and per year.

ROI Calculator tool

$
$
—
Return on investment
—
Net gain or loss
—
Annualized ROI
—
Investment multiple

About the ROI Calculator

Comparing a business venture, a property, a stock purchase and a marketing campaign is easier with a common measure of return. This ROI calculator gives the total return on investment, the net gain and, when you enter the holding period, the annualized ROI: turning 200,000 into 260,000 over three years is a 30 percent total return, or about 9.14 percent a year. Annualizing lets investments held for different periods be compared fairly.

The basic formula is ROI = (amount returned − amount invested) ÷ amount invested × 100. Because a 50% gain over one year is far better than the same gain over ten years, the calculator also works out the annualized return: (returned ÷ invested)^(1 ÷ years) − 1, the yearly rate that would turn the starting amount into the final amount if it compounded evenly.

Example: you invest 10,000 and get back 15,000 after 3 years. The net gain is 5,000 and the ROI is 50%. Spread over 3 years, that is an annualized return of 14.47% a year. If the same 50% took 6 years, the annualized return would drop to 6.99%, which shows why the holding period matters.

ROI ignores risk, taxes and inflation unless you include them in the amounts, so it is a starting point for comparison, not financial advice. For investments with several cash flows over time use the IRR calculator, to project growth at a given rate use the CAGR calculator, and for advertising spend, the ROAS calculator.

How to use the ROI Calculator

  1. Enter the amount investedInclude every cost of making the investment, such as fees and commissions.
  2. Enter the amount returnedUse the final value or sale proceeds, including income such as dividends or rent.
  3. Add the holding periodEnter how long you held the investment in years or months to get the annualized ROI.
  4. Compare the resultsRead the total ROI, net gain and annualized ROI, and use the annual figure to compare investments.

ROI Calculator features

  • Total ROI percentage and net gain or loss
  • Annualized ROI from the holding period
  • Investment multiple (how many times the money grew)
  • Holding period in years or months
  • Works for gains and losses
  • Formula working shown
  • Shareable link to the calculation

Common uses

  • Comparing returns on stocks, property and businesses
  • Evaluating a marketing campaign or equipment purchase
  • Checking the real yearly return of an old investment
  • Presenting the payoff of a project to a manager
  • Teaching the difference between total and annual returns

ROI in practice: solar panels, marketing campaigns, property and the costs people forget

By the FreeToolsWorld editorial team · Updated November 2026 · How we write and check our guides

Return on investment compares what you gained with what you put in, which makes it the quickest way to judge whether something paid off. Used carelessly, it can also mislead, especially when returns arrive over many years or when costs are left out. This guide applies ROI to three common decisions in Pakistan and elsewhere, shows when annualised ROI understates a return, and lists the costs that most often go missing.

A worked example: solar panels

A household spends Rs 1,200,000 on a rooftop solar system that cuts its electricity bills by about Rs 25,000 a month, Rs 300,000 a year. Over ten years, ignoring panel degradation, maintenance and changes in tariffs, the savings total Rs 3,000,000. The ROI is (3,000,000 − 1,200,000) ÷ 1,200,000 = 150%. The simple payback period is four years.

If you enter Rs 1,200,000 invested and Rs 3,000,000 returned over ten years, the annualised ROI is about 9.6%. That understates this investment, because the savings arrive every year from the start, not all at the end. The internal rate of return, which accounts for the timing, is about 21.4% a year. For investments with regular cash flows, IRR is the better measure.

Marketing ROI and ROAS

A shop spends Rs 50,000 on online ads and makes Rs 200,000 of sales from them. The return on ad spend is 4, meaning four rupees of sales per rupee spent. But if the gross margin on those sales is 30%, the profit from them is Rs 60,000, leaving Rs 10,000 after the ad cost, an ROI of 20%. A campaign with a high ROAS can still lose money when margins are thin.

Property

A plot bought for Rs 5 million and sold for Rs 7 million after four years looks like a 40% ROI. If transfer fees, taxes, commission and other costs total Rs 300,000, the net gain is Rs 1.7 million on Rs 5.3 million invested, an ROI of about 32% and an annualised return of about 7.2% a year. Comparing that with the return on a bank deposit over the same years shows whether the property really did better.

Costs that go missing

  • Fees, commissions and taxes on buying and selling.
  • Maintenance, repairs and insurance.
  • Financing costs if you borrowed to invest.
  • Your own time, especially for a side business.

Leaving these out always makes ROI look better than it was.

Opportunity cost

Every investment ties up money that could have earned something elsewhere. A 30% ROI over five years is about 5.4% a year, which may be below what a savings certificate paid over the same period. Comparing ROI with a low-risk alternative shows whether the extra risk and effort were worthwhile.

Risk is not in the number

Two investments with the same ROI can carry very different risks. A guaranteed 10% and a speculative 10% are not equal, and high past returns often came with a real chance of loss. ROI says nothing about how bumpy the ride was or how likely the result was to happen.

Claims of high returns

Advertisements for courses, trading schemes and business opportunities often promise very high ROI. Ask how the figure was calculated, over what period, with which costs and for how many people. Results from a few successful participants say little about the typical outcome, and promises of guaranteed high returns are a common warning sign of fraud.

Common mistakes

  • Comparing ROI over different periods without annualising.
  • Using annualised ROI for investments that pay out every year.
  • Leaving out fees, taxes and maintenance.
  • Ignoring risk and the return available elsewhere.

Related tools

For returns with yearly cash flows, use IRR Calculator. To see how long it takes to recover a cost, try Payback Period Calculator, and to value future cash flows today, NPV Calculator.

Education and skills

Courses and certifications can be judged with ROI too. A certification costing Rs 150,000 that leads to a salary increase of Rs 20,000 a month repays its cost in under eight months and returns many times its cost over a career. Not every course delivers such a rise, so checking what graduates actually earn, rather than what advertisements claim, keeps the estimate honest.

Equipment for a small business

For a machine, vehicle or piece of equipment, compare the purchase price with the extra profit or savings it produces over its useful life, minus running costs. A delivery motorbike costing Rs 300,000 that lets a shop earn an extra Rs 15,000 a month after fuel and maintenance pays for itself in 20 months. If it lasts five years, the ROI over its life is about 200%, before any resale value.

Home improvements

Home improvements are often justified by their effect on value or bills. Insulating a roof, replacing an old air conditioner with an inverter model or fitting LED lighting can be judged by the yearly saving on electricity against the cost. Improvements made mainly for comfort rarely return their full cost when a house is sold, which is fine as long as the decision is made with that in mind.

Limits

ROI is only as accurate as the amounts entered. It ignores timing within the period, risk and inflation unless you include them, and it is not financial advice.

Frequently asked questions

What is the ROI formula?

ROI = (final value − cost) ÷ cost × 100. If you invest 10,000 and end with 15,000, the gain is 5,000, so ROI = 5,000 ÷ 10,000 × 100 = 50%. A result below zero means the investment lost money.

What is annualized ROI?

It is the steady yearly return that would produce the same result: (final ÷ cost)^(1 ÷ years) − 1. A 50% total return over 3 years equals 14.47% a year. It makes investments with different time spans comparable.

What is a good ROI?

It depends on risk and time. Broad stock market indexes have averaged roughly 7 to 10% a year over long periods, while safe deposits pay less. Compare an investment's annualized ROI with alternatives of similar risk.

Can ROI be negative?

Yes. If you get back less than you invested, the ROI is negative. Investing 10,000 and getting back 8,000 is an ROI of −20%, and the calculator shows the loss as a negative gain.

Should I include fees and taxes?

Yes, for a realistic figure. Add buying costs to the amount invested and subtract selling costs and taxes from the amount returned. Otherwise ROI overstates what you actually earned.

What is the difference between ROI and ROAS?

ROI measures profit relative to the full cost of an investment. ROAS (return on ad spend) divides revenue by advertising cost only, so it ignores product and other costs. A campaign can have a healthy ROAS but a negative ROI.

How do I compare investments held for different lengths of time?

Use the annualized ROI. A 40% return over 4 years (8.78% a year) is worse than a 30% return over 2 years (14.02% a year), even though the total looks bigger. Annualizing puts both on the same yearly scale.