Loans & Investments

ROI Calculator

Measure return on investment, with costs, holding period and annualized ROI.

Last reviewed November 23, 2026Calculated in your browser; nothing is uploaded

Inputs
Results update as you type.

Loading your results…

About this calculator

Return on investment compares profit to cost. Enter what you paid, what you received and any extra costs to see ROI, net profit and annualized ROI for a project, purchase or business investment.

Worked example

The calculator above starts with this example. These figures were produced by the same code that powers the tool, using the inputs below.

Example inputs
Initial investment$25,000.00
Additional costs (fees, repairs, taxes)$1,800.00
Income received while holding$2,400.00
Final sale or ending value$31,000.00
Holding period (years)3.00
Example results
ROI24.63%
Net profit$6,600.00
Annualized ROI7.61%
Total invested (cost + extra costs)$26,800.00
Total returned (income + proceeds)$33,400.00
Profit per year (average)$2,200.00

How this calculator works

ROI = (total returned − total invested) ÷ total invested. Annualized ROI = (returned ÷ invested)1 ÷ years − 1.

Assumptions and limitations

  • Income and costs are treated as simple totals, not dated cash flows. For irregular cash flows an internal rate of return is more accurate.
  • Taxes and inflation are not included.

Frequently asked questions

What counts as a good ROI?

It depends on risk, time and alternatives. Compare it with what you could earn on a lower-risk option over the same period.

Should I include my time?

For business projects, count your labor if you want a full economic picture.

How is ROI different from investment return?

They are related. This calculator allows extra costs and income, which makes it useful for projects and purchases.

Guides that explain more

How Compound Interest Works: Why Time Matters More Than You ThinkCompound interest earns interest on interest. See the formula, APR versus APY, the rule of 72 and a worked example of how starting early changes the result.

Sources

  1. Investor.gov (SEC): Compound interest (SEC Office of Investor Education)

Not advice. Estimates only. Results depend on the inputs and assumptions listed on this page and are not tax, legal or financial advice. Read the full financial disclaimer.