By GrowthSyntax Editorial · Updated July 2026 · 8 min read

How to calculate ROI, in short: Subtract the cost of an investment from its current value, then divide that gain by the original cost. Multiply the result by 100 to express it as a percentage. This single number lets you compare completely different investments on equal footing.
2
Inputs needed for the basic ROI formula: gain and cost
%
ROI is always expressed as a percentage for easy comparison
Free
Cost to calculate ROI instantly with an online calculatorTable of Contents
- What Is ROI?
- What Counts as a Good ROI?
- The ROI Formula Explained
- How to Calculate ROI Step by Step
- A Full Worked Example
- Annualized ROI for Multi-Year Investments
- ROI in Different Contexts
- ROI vs Other Investment Metrics
- Common Mistakes When Calculating ROI
- Frequently Asked Questions
What Is ROI?
ROI stands for Return on Investment. It is a percentage that measures how much profit or loss an investment generated relative to its cost. This makes it usable for stocks, real estate, marketing, and countless other decisions.
The appeal of ROI comes from its simplicity and universal applicability. A single percentage lets you compare a $500 marketing campaign against a $50,000 property purchase on the same scale.
ROI does not account for time directly in its basic form. A 20% return earned in one month looks identical to a 20% return earned over five years. That distinction matters for real comparisons.
What Counts as a Good ROI?
No single number qualifies as universally “good,” since expectations vary widely by investment type and risk level. A savings account and a startup investment carry very different reasonable ranges.
Time horizon matters here too. A return that looks modest annually can compound into something substantial over many years.
Stock market investments have historically averaged returns in the high single digits annually over long periods. Any single year can vary dramatically above or below that average.
Real estate, business ventures, and marketing campaigns each carry their own typical benchmarks. Comparing your ROI against relevant industry norms gives more useful context than comparing against an arbitrary universal target.
Risk level should factor into any judgment of “good” as well. A high ROI on a risky venture may not beat a safer, modest one once risk gets weighed in.
The ROI Formula Explained
The basic ROI formula uses just two inputs, making it one of the simpler financial calculations anyone can learn. Here is the formula in full.
ROI = [(Current Value − Cost) / Cost] × 100
| Term | Meaning | Example |
| Current Value | What the investment is worth now | Sale price or current market value |
| Cost | What you originally spent | Purchase price plus any fees |
| Gain | Current Value minus Cost | The profit or loss in raw dollars |
A positive ROI means the investment gained value. Negative ROI means it lost value relative to what you originally paid.

How to Calculate ROI Step by Step
Here is the exact process for turning the formula into a real result.
Each step builds directly on the last, so working through them in order avoids confusion. No step requires anything beyond basic arithmetic.
- Determine your total cost. Include the purchase price plus any fees or expenses directly tied to the investment.
- Find the current value. Use the sale price if sold, or current market value if still held.
- Calculate the gain. Subtract the cost from the current value.
- Divide by the cost. This gives you the return as a decimal.
- Multiply by 100. This converts the decimal into a percentage.
📈 Calculate Your ROI Free Skip the manual math and use the Advanced EMI & ROI Calculator to calculate your return on investment instantly from simple inputs.
A Full Worked Example
Seeing real numbers move through the formula makes it click faster than reading symbols alone. Here is a complete example using a common investment scenario.
Suppose you buy shares in a company for $5,000. Two years later, you sell those shares for $6,500. The gain equals $6,500 minus $5,000, or $1,500 in raw profit.
Dividing that $1,500 gain by the original $5,000 cost gives 0.30. Multiplying by 100 produces an ROI of 30%. This single figure captures the entire outcome of the investment.
A 30% ROI does not mean 30% per year. This figure covers the entire two-year holding period, not an annual rate, an important distinction covered in the next section.
The same formula works whether the outcome is a gain or a loss. A sale price below the original cost simply produces a negative percentage, following the exact same steps.
Annualized ROI for Multi-Year Investments
Comparing investments held for different lengths of time requires an annualized figure, not just the raw ROI. The formula accounts for the number of years involved, converting a one-time figure into a fair per-year rate.
Annualized ROI = [(1 + ROI)^(1/n) − 1] × 100
Applying this to the previous example, with a 30% ROI over 2 years, produces an annualized return near 14%. That figure allows a fair comparison against a one-year investment.
| Holding Period | Total ROI | Annualized ROI |
| 1 year | 30% | 30% |
| 2 years | 30% | ~14% |
| 5 years | 30% | ~5.4% |
The same total ROI spreads across more years, and the annualized figure drops sharply. Longer holding periods dilute the impact of any fixed total return.
This does not mean longer holds are worse investments. A lower annualized rate over a longer period can still produce more total wealth than a brief higher-rate one.
ROI in Different Contexts
Marketing ROI compares campaign spend against revenue generated from that campaign. A $1,000 ad spend that generates $4,000 in attributable sales produces a 300% ROI.
Real estate ROI often needs extra care, since costs include more than just the purchase price. Renovation costs, closing fees, and ongoing maintenance all belong in the total cost figure for an accurate result.
Business ROI, used for evaluating internal projects or equipment purchases, follows the same basic formula. Companies use it to decide whether a new tool or process justifies its cost.
Regardless of context, the core math never changes. Only the definitions of “cost” and “value” shift to match the situation at hand.
ROI vs Other Investment Metrics
ROI works well as a quick, simple snapshot, but other metrics answer questions ROI alone cannot address. Each metric serves a slightly different purpose in financial analysis.
Internal rate of return, or IRR, goes further still. It accounts for the timing of multiple cash flows rather than a single lump sum. This makes it suit complex investments with payments spread across many dates.
Compound annual growth rate, or CAGR, resembles annualized ROI but assumes steady growth year over year. It works best for tracking investments over many years.
A free Finance Suite includes a compound interest calculator alongside its ROI tools. Model steady growth scenarios separately from a simple buy-and-sell ROI calculation.
Pick the metric that matches your question. Use basic ROI for a single transaction and annualized ROI or CAGR when comparing investments across different time periods.
None of these metrics replace good judgment entirely. Numbers inform a decision, but context like personal goals and risk tolerance still matter in the final choice.
Common Mistakes When Calculating ROI
Forgetting to include fees and additional costs in the cost basis ranks as the most common mistake. Broker fees, closing costs, or renovation expenses all belong in the total cost figure.
These costs often feel separate from the “real” investment, which is exactly why they get overlooked so easily. Treat every direct expense as part of the cost basis without exception.
Comparing raw ROI figures across different time periods causes a second frequent error. A 20% ROI over one year vastly outperforms a 20% ROI over ten years.
Ignoring inflation over long holding periods creates a subtler issue. A nominal gain can actually represent a loss in real purchasing power after adjusting for inflation.
Comparing ROI figures calculated with different methods causes a fourth avoidable mistake. Mixing simple ROI with annualized ROI in one comparison measures fundamentally different things.
Frequently Asked Questions
What is the basic formula for calculating ROI?
ROI equals current value minus cost, divided by cost, then multiplied by 100 to get a percentage.
Does ROI account for how long an investment was held?
Not in its basic form. Use annualized ROI or CAGR to fairly compare investments held for different periods.
What counts as “cost” in the ROI formula?
The purchase price plus any directly related fees, like broker commissions or closing costs.
Can ROI be negative?
Yes. A negative ROI means the investment lost value compared to its original cost.
Is a higher ROI always the better investment?
Not always. Risk, time held, and liquidity all matter alongside the raw ROI percentage.
Can I calculate ROI without doing the math myself?
Yes. A free online ROI calculator computes the result instantly from your cost and current value.
What counts as a good ROI for an investment?
It depends on the investment type and risk level. Compare against relevant industry benchmarks, not one universal number.
Should I include fees when calculating ROI?
Yes. Broker fees, closing costs, and other direct expenses should count toward the total cost figure.
Is ROI the same as profit margin?
No. Profit margin compares profit to revenue, while ROI compares gain to the original cost of an investment.
Final Word: Calculating ROI With Confidence
Knowing how to calculate ROI demystifies one of the most widely used financial metrics in business and investing. The core formula stays simple no matter the investment type.
Always compare returns using a consistent time frame, since raw ROI alone can mislead when holding periods differ. A quick annualized calculation prevents an unfair comparison.
Whether evaluating stocks, a rental property, or a marketing campaign, the same simple math applies every time.
The Advanced EMI & ROI Calculator above computes your return in seconds, ready to use for any investment.