Formula Bro

Math and physics formulas, explained like you are new.


Return on Investment (ROI)

In one sentence: Return on investment says how much profit you made for each dollar you spent, so you can compare a small investment with a large one.

ROI=gain−costcost\text{ROI} = \frac{\text{gain} - \text{cost}}{\text{cost}}

Read it out loud: “R O I equals gain minus cost, all divided by cost. ROI means return on investment. The gain is the total money that came back, and the cost is the money you put in at the start.”

Before you start

The ideas and signs this page uses, explained from zero. For powers of ten, Greek letters and other notation in general, see Math basics.

Ratio and percent

A ratio compares two amounts by dividing one by the other. A percent is the same ratio multiplied by 100 and read as ‘out of 100’. So 0.75 is 75%, 1 is 100% and 1.5 is 150%. In a formula, a percent is usually written as a decimal first.

Cost, gain and profit

The cost of an investment is the money put in at the start, in dollars. The gain is the total money that comes back, in dollars. The profit is the gain minus the cost, which is the extra money left over. If the gain is smaller than the cost, the profit is negative, which means a loss.

Fractions and brackets

A fraction ab\frac{a}{b} means aa divided by bb. The top is the numerator and the bottom is the denominator. The division bar also works like brackets: everything above it is worked out first, so 50−2020\frac{50 - 20}{20} means subtract 20 from 50, then divide by 20.

Investment

An investment is money put in now in the hope of getting more back later. It can be ingredients for a lemonade stand, a machine for a shop or shares in a company. The return is what comes back from it.

Negative numbers

A negative number is smaller than zero and is written with a minus sign, such as −20-20. When money is involved, a negative result means a loss: a result of −20-20 dollars means 20 dollars was lost.

What each symbol means

SymbolMeaning

ROI\text{ROI}

Return on investment, a plain ratio that says how much profit came back for each dollar spent. It has no unit of its own. Written as a percent, it is multiplied by 100, so a ratio of 1.5 is 150%.

gain\text{gain}

The total money that came back from the investment, in dollars, such as the sales a stand took in. It includes the cost itself, so it is not yet the profit.

cost\text{cost}

The money put in at the start, in dollars, such as the price of ingredients. It is the amount the investment is measured against.

The formula piece by piece

cost\text{cost}

Start with the money put in at the start, in dollars. It is the bottom of the fraction, because the whole return is measured against what was spent.

gain\text{gain}

The total money that came back, in dollars. It includes the cost itself, so it is not yet the profit.

gain−cost\text{gain} - \text{cost}

Subtract the cost from the gain to get the profit, which is the money that is extra. A negative answer means the investment lost money.

gain−costcost\frac{\text{gain} - \text{cost}}{\text{cost}}

Divide the profit by the cost. This gives the profit for each dollar spent, as a plain ratio that can be compared with other investments.

ROI=gain−costcost\text{ROI} = \frac{\text{gain} - \text{cost}}{\text{cost}}

The whole formula in one sentence: return on investment is the profit divided by the cost, which tells you how many dollars of profit came back for each dollar put in.

What the formula is doing, and why

Return on investment, or ROI, answers one question: for the money I spent, how much did I make? It turns a profit in dollars into a share of what was spent, so you can compare a small venture with a large one. The formula subtracts the cost from the gain to find the profit, and then divides by the cost.

Why subtract the cost? The gain counts all the money that came back, and that includes the money that was only put in to begin with. Subtracting the cost leaves the profit, which is the money that is genuinely extra. A result of zero means you got back exactly what you paid. A negative result means you lost money.

Why divide by the cost? Dividing puts the profit on a per-dollar basis. Thirty dollars of profit from a 20 dollar outlay is a much better result than thirty dollars of profit from a 300 dollar outlay, and the division shows that at once. The bigger the cost, the more profit you need to reach the same ROI.

Why people write it as a percent. The formula gives a plain ratio, such as 1.5. Multiplying by 100 writes the same number as a percent, 150%. A percent is easy to read and easy to compare, which is why ROI is usually quoted this way. An ROI of 100% means the profit equals the cost, so the money has doubled.

What ROI leaves out. The formula has no time in it. A 50% return earned in one week and a 50% return earned over ten years give the same ROI, but they are very different results per year. To compare investments over different lengths of time, people use an annual rate such as CAGR or IRR.

An everyday picture

Think of planting seeds in a garden. A bag of seeds costs a certain amount, and at harvest you sell the crop for more money. The ROI is the harvest’s extra value compared with the seed money, measured per dollar of seed: what came back, minus what was planted, divided by what was planted. It tells you how well each dollar of seed worked, but not how long the crop took to grow.

Worked example: Which lemonade stand did better?

Two stands sell lemonade on the same afternoon. The first stand spends 20 dollars on lemons, sugar and cups, and sells lemonade for 50 dollars. The second stand spends 40 dollars on a bigger setup and sells lemonade for 70 dollars. Which stand has the better return on investment?

  1. Write down the cost and the gain for the first stand. The stand spent 20 dollars, so the cost is 20 dollars. Over the afternoon it took in 50 dollars from sales, so the gain, which is the total money that came back, is 50 dollars.
  2. Find the profit. Subtracting the cost from the gain removes the money that was only spent on ingredients, which leaves the profit: 50−20=3050 - 20 = 30 dollars. Thirty dollars is the extra money the stand kept after paying for its supplies.
  3. Divide the profit by the cost. The ROI formula divides the profit by the cost, so ROI=50−2020=3020=1.5\text{ROI} = \frac{50 - 20}{20} = \frac{30}{20} = 1.5. The ratio 1.5 means the stand made 1.5 dollars of profit for every dollar it spent.
  4. Turn the ratio into a percent. Multiplying by 100 says the same thing as a percent: 1.5×100=1501.5 \times 100 = 150, so the ROI is 150%. Because the profit is larger than the cost, the ROI is above 100%.
  5. Find the ROI for the second stand. This stand spent 40 dollars and got back 70 dollars, so its profit is 70−40=3070 - 40 = 30 dollars, the same as the first stand. Dividing by its cost gives 70−4040=3040=0.75\frac{70 - 40}{40} = \frac{30}{40} = 0.75, which is 75%. The two stands made the same profit, but the first earned more on each dollar it spent.
  6. Note what the ROI does not show. The formula has no time in it, so it does not say how long each stand traded. If both ran for the same afternoon, the comparison is fair. If one ran for a month, the ROI does not tell you which stand earned more per day.

Answer: The first stand has the better return on investment: 150%, against 75% for the second. Both made 30 dollars of profit, but the first earned 1.5 dollars for every dollar it spent, while the second earned only 0.75 dollars.

The numbers in this example are recomputed by script every time the site is built.

Common mistakes

Where you will meet it

Questions people ask

Is ROI the same as profit?

No. Profit is an amount in dollars, while ROI is that profit divided by the cost, so it is a ratio. Two investments with the same profit can have very different ROIs when they cost different amounts.

Can ROI be negative?

Yes. If the gain is smaller than the cost, the top of the fraction is negative, and so is the ROI. For example, spending 50 dollars and getting back 40 dollars gives 40−5050=−0.2\frac{40 - 50}{50} = -0.2, which is minus 20%.

Why does ROI ignore time?

The formula only compares the money put in with the money that came back. It does not include how long the money was tied up. To account for time, people use a yearly rate such as CAGR, or the IRR when cash comes in and goes out at different times.

Is a high ROI always good?

Not on its own. A high ROI can come from a small or risky investment, and the percent hides the size of the stake. Look at the cost, the time taken and how certain the gain is before deciding.

Sources

  1. Return on investment, Wikipedia
  2. Rate of return, Wikipedia
  3. Investment, Wikipedia

| All Finance formulas |

Published 2026-10-23. Plain-text copy for AI agents and readers: finance/return-on-investment.md.