How it works
Return on investment (ROI) compares what an investment made with what it cost. An ROI of 25% means every 1 you put in came back as 1.25. It works for anything you spend money on hoping to get more back: shares, a rental property, a piece of equipment, an ad campaign, or something you buy to resell.
To get a fair answer, count everything. The cost is what you paid to start plus everything you spent along the way, like fees, repairs, and running costs. What came back is what it’s worth at the end (or what you sold it for) plus any income it brought in along the way, like rent or dividends.
Choose what you want to find. The return on investment gives the ROI over the whole time. The ROI per year spreads it over the time you held it, so you can compare investments held for different lengths of time. The final value needed works out the final value you need to reach a target ROI, and the value at which you break even.
The calculator doesn’t take off tax, and it counts money the same whenever it came in or went out. For an investment’s steady yearly growth with regular deposits, the investment return calculator is the better fit.
The formula
ROI = (total returned − total cost) ÷ total cost
- total cost is the amount invested plus any other costs
- total returned is the final value plus any income received
- total returned − total cost is the net profit (a negative profit is a loss)
ROI per year = (1 + ROI)1 ÷ t − 1
- t is the time held in years, with months as a fraction (2 years and 6 months is 2.5)
- this is the steady yearly rate that grows to the same total, the way compound interest would
Final value needed = total cost × (1 + target ROI) − income
With a target of 0%, this is the break-even value. If your income alone reaches the target, the final value needed is 0.
Worked example
Want this with your own numbers? See Show the work above.
You buy equipment for 10,000 and rent it out. Over 3 years it costs 1,500 in repairs and fees, brings in 2,400 in rent, and then sells for 12,000.
- Total cost: 10,000 + 1,500 = 11,500.
- Total returned: 12,000 + 2,400 = 14,400.
- Net profit: 14,400 − 11,500 = 2,900.
- ROI: 2,900 ÷ 11,500 = 25.22%. Every 1 you put in came back as about 1.25.
- Per year, over 3 years: (1 + 0.252174)1 ÷ 3 − 1 = 7.78% a year.
What must it sell for to make 25%? 11,500 × 1.25 − 2,400 = 11,975. To break even it needs to sell for 11,500 − 2,400 = 9,100.
FAQ
What’s a good ROI?
It depends on the risk and the time. A higher ROI is better when the risk is similar, but a 25% ROI over 10 years is weaker than 15% over 1 year. Compare the ROI per year, and weigh it against what you could earn somewhere safer, like a savings account.
Should I include fees and running costs?
Yes. Leaving them out makes the ROI look better than it was. Count purchase fees, commissions, repairs, insurance, and anything else you paid because of the investment. Selling costs can be taken off the final value instead.
How is this different from the investment return calculator?
ROI is the total return on everything you spent, counting all costs and income. The investment return calculator finds the steady yearly growth rate of an investment, including one you add to every month. For a single investment with no other costs, income, or deposits, the ROI per year here and the annual return there are the same.
Can ROI be negative?
Yes. A negative ROI means you got back less than you put in. -100% means you lost everything.
Why does a short time give a huge ROI per year?
Because it assumes the same return keeps going all year. 25% in one month, repeated for 12 months, would be about 1,355% a year. That’s rarely realistic, and professional performance standards don’t annualize returns under a year, so the per-year figure is most useful for times of a year or more.
Does ROI account for when money came in?
No. ROI adds up all the money in and out, whenever it happened. Rent received in the first month counts the same as rent received in the last. For timing to count, you’d need a measure like the internal rate of return.
Sources
- ROI counting the investment, other expenses, and income, with a stock example: Wikipedia, “Return on investment”
- ROI as income divided by the amount invested, with worked examples for business divisions: OpenStax Principles of Accounting, Volume 2, section 12.3
- Turning a return over any length of time into a yearly rate, and why returns under a year can mislead: Wikipedia, “Rate of return”
Cite this page
APA (7th edition)
Mathlark. (2026, October 14). ROI calculator. https://mathlark.com/finance/roi-calculator/
MLA (9th edition)
"ROI Calculator." Mathlark, 14 Oct. 2026, mathlark.com/finance/roi-calculator/.
Related calculators
For informational purposes only. This is not financial advice.