# ROI Calculator

Measure return on investment by calculating gain, loss, and annualized performance for any investment or business decision.

---

- **Canonical URL:** https://dothecalculation.com/calculators/roi-calculator
- **Category:** Financial calculators
- **Publisher:** Do The Calculation (https://dothecalculation.com)
- **Cost:** Free, no account or sign-up required
- **Privacy:** Runs entirely in the browser; inputs are never sent to a server
- **Methodology:** https://dothecalculation.com/methodology

---

## ROI Calculator — Net Profit, ROI, and Annualized Return

Calculate total investment costs, net profits, ROI percentages, and annualized returns across custom holding periods.

- Net profit and ROI percentages
- Time-adjusted annualized returns
- Fee and holding cost offsets

## Understanding Return on Investment (ROI)

Return on Investment (ROI) is a fundamental financial ratio used to measure the profitability of an investment relative to its cost. It is expressed as a percentage and allows investors to compare the efficiency of different capital allocations.

While ROI is highly popular because of its simplicity, the raw metric has a major limitation: it ignores the **time value of money**. A 50% ROI is highly attractive if achieved over 1 year, but far less impressive if it takes 10 years. This tool calculates both the absolute ROI and the time-adjusted **Annualized ROI**.

## How to Use This Calculator

Enter your initial investment, the final value you received (or expect to receive), any additional costs incurred along the way, and the holding period in months.

The calculator adds your initial investment and additional costs together as total cost, subtracts that from the final value to get net profit, then expresses that profit as both an absolute ROI percentage and a time-adjusted annualized ROI.

## Worked Example: $100,000 Investment Over 24 Months

Initial investment $100,000, additional costs $5,000, final value $150,000, holding period 24 months.

Total cost: $100,000 + $5,000 = $105,000.

Net profit: $150,000 − $105,000 = $45,000.

ROI: $45,000 ÷ $105,000 × 100 ≈ 42.86%.

Annualized ROI: standardizing that 42.86% two-year return to a 12-month basis gives roughly 19.52% per year — a meaningfully different (and more comparable) number than the headline 42.86% figure, since it accounts for the fact that the return took two years to earn.

## The Mathematical ROI and Annualized ROI Formulas

To calculate the absolute Return on Investment, apply the standard ROI equation:

$$\text{ROI (\%)} = \frac{\text{Final Value} - \text{Total Cost}}{\text{Total Cost}} \times 100$$

Where \(\text{Net Profit} = \text{Final Value} - \text{Total Cost}\).

To compare investments held over different durations, calculate the **Annualized ROI** (using geometric compounding math):

$$\text{Annualized ROI (\%)} = \left[ \left( 1 + \text{ROI}_{\text{decimal}} \right)^{\frac{12}{m}} - 1 \right] \times 100$$

Where \(m\) is the holding period in months. This formula standardizes the returns to a 12-month period, revealing the true annual rate of growth.

## Factoring in Hidden Costs and Fees

A common mistake is calculating ROI using only the purchase and sales price. Real investments carry ongoing transaction and holding costs: broker commissions, property taxes, maintenance fees, insurance, or interest on leveraged capital.

These expenses directly increase your **Total Cost** base and reduce your **Net Profit**, which lowers your final ROI. Always include all transaction fees in the additional costs field to ensure an accurate evaluation.

## ROI Limitations: Risk, Volatility, and Inflation

ROI is a historical or projected metric that does not account for risk or volatility. An investment with a 20% projected ROI may carry significant capital risk compared to a guaranteed 5% CD yield.

Additionally, ROI does not adjust for inflation. If you hold an asset for 10 years, a portion of the nominal gain is eroded by purchasing power inflation. Pair ROI with risk assessments and real inflation offsets for comprehensive planning.

## Related Calculators

For a growth-rate figure using only start and end values (no cash flows), use the [CAGR calculator](/calculators/cagr-calculator); to weigh this return against the risk taken, see the [risk-adjusted return calculator](/calculators/risk-adjusted-return-calculator).

## Frequently asked questions

### What is Return on Investment (ROI)?

ROI is a financial ratio comparing net profit to the total cost of an investment, expressed as a percentage to measure profitability.

### What is the formula for calculating ROI?

ROI = (Net Profit / Total Cost) × 100, where Net Profit equals Final Value minus Total Cost.

### What is annualized ROI and why is it important?

Annualized ROI adjusts the total return for the holding period, converting it into a yearly rate. It allows direct, fair comparisons of investments held over different lengths of time.

### Can ROI be negative?

Yes. If the final value of the investment is lower than the total cost (due to asset depreciation, fees, or capital loss), the net profit and ROI will be negative.

### What is the difference between ROI and ROE?

ROI compares profit to the total cost of an investment. ROE (Return on Equity) compares a company's net income to its shareholders' equity, measuring corporate profitability.

### Are taxes included in ROI calculations?

This calculator projects pre-tax ROI. Since capital gains taxes reduce net returns, you should subtract expected tax liabilities to find your after-tax ROI.

### How do holding costs affect my ROI?

Holding costs (like maintenance, storage, or interest) increase the total cost base of the investment, which directly reduces net profit and lowers your ROI percentage.

### What is a good ROI for an investment?

A "good" ROI depends on asset class and risk. For example, stock indexes have averaged 7-10% annually, real estate returns range from 6-12%, while high-risk startups target 50-100%+

### What is the cash-on-cash return?

Cash-on-cash return is a real estate metric that compares the annual pre-tax cash flow to the actual cash invested (rather than total purchase price including mortgages).

### Does ROI account for the time value of money?

No. Absolute ROI only measures total return. To account for time, you must calculate the Annualized CAGR (Annualized ROI).

### Why is annualized ROI usually lower than absolute ROI?

Absolute ROI reports the total return over the entire holding period, however long that was. Annualized ROI compresses that same total return into a single-year equivalent rate, which is almost always a smaller number once the holding period exceeds one year — the longer the period, the bigger the gap between the two figures.

### How should I use ROI when comparing two different investments?

Always compare annualized ROI, not absolute ROI, when the two investments were held for different lengths of time. A 20% absolute ROI over 6 months is a far stronger result than a 20% absolute ROI over 5 years, and only the annualized figure makes that difference visible.

## Related concepts

- **Annualized Return** — The time-adjusted rate of return standardizing performance to a 12-month period.
- **Net Profit** — The ending value of an asset minus all acquisition, transaction, and holding costs.
- **Cost Basis** — The total capital invested in an asset, used as the baseline for measuring capital gains.
- **Time Value of Money** — The principle that a given return is worth more the sooner it is earned, since it can be reinvested for longer.

## Related guides

- [ROI Calculation: Formula, Annualized Return, and Examples](https://dothecalculation.com/blog/business/roi-calculation) — Calculate ROI and annualized return with total costs included, compare opportunities consistently, and understand what a simple ROI result leaves out.
- [Business Valuation Methods: A Practical Owner Guide](https://dothecalculation.com/blog/business/business-valuation-methods) — Compare market, income, and asset valuation methods, normalize revenue and profit, and use multiples as a planning range rather than a formal appraisal.

## Related calculators

- [Risk-Adjusted Return Calculator](https://dothecalculation.com/calculators/risk-adjusted-return-calculator) — Calculate Sharpe, Sortino, Treynor, Jensen Alpha, and Information ratios to evaluate risk-adjusted portfolio performance.
- [Franchise ROI & Payback Calculator](https://dothecalculation.com/calculators/franchise-roi-payback-calculator) — Model multi-year cash flows to calculate return on investment and payback period for a franchise location before you commit to buying one.
- [Black-Scholes Option Pricing Calculator](https://dothecalculation.com/calculators/option-pricing-black-scholes-calculator) — Calculate European call and put option values along with Delta, Gamma, Theta, Vega, and Rho using the Black-Scholes model.
- [Real Estate Syndication Waterfall Calculator](https://dothecalculation.com/calculators/real-estate-syndication-calculator) — Analyze real estate syndication sponsor promotes and waterfall distributions across investor IRR hurdle tiers and returns.
- [CAGR Calculator](https://dothecalculation.com/calculators/cagr-calculator) — Calculate the compound annual growth rate between a starting and ending value to measure investment performance over time.
- [Stock Profit Calculator](https://dothecalculation.com/calculators/stock-profit-calculator) — Calculate stock trade profit or loss, brokerage fees, and overall return on investment based on your purchase and sale prices.

---

_This tool is for educational purposes only. Asset returns, trading fees, capital gains tax liabilities, dividend payments, and bond yields depend on market conditions, broker commissions, local tax codes (e.g. IRS short vs. long-term classifications), and individual credit/holding terms. Always consult a certified financial planner, licensed CPA, or tax professional before making major investment or liquidation transactions._

---

_Source: [Do The Calculation](https://dothecalculation.com/calculators/roi-calculator). Quote freely with attribution and a link to this page._
