What Is an ROI Calculator?
Return on Investment (ROI) is one of the most widely used financial metrics for evaluating the profitability of any investment or business decision. It measures how much you gained or lost relative to what you originally spent. Whether you are evaluating a stock purchase, a marketing campaign, a piece of equipment, or a real estate investment, ROI gives you a universal percentage that makes comparison easy.
This calculator also provides the annualized ROI (CAGR), which adjusts for the time period so you can compare investments held for different lengths of time on a level playing field.
What This Calculator Does
Inputs Required
- Initial Investment Cost: The total amount spent, including purchase price, fees, and any associated costs
- Final Value or Revenue: The current value or total proceeds received from the investment
- Investment Period: How many years the investment was held, used to calculate the annualized return
Outputs Provided
- ROI: The total percentage return on the investment
- Net Gain or Loss: The dollar profit or loss
- Annualized ROI: The equivalent annual return rate (CAGR)
- Return Multiple: How many times your initial investment grew (e.g., 2.5x)
How the Calculation Works
The ROI formula is straightforward:
ROI = (Net Gain / Initial Cost) x 100
Net Gain = Final Value - Initial Cost
For the annualized ROI, the formula adjusts for holding period so that a 50% total return over 5 years is not treated the same as a 50% return over 1 year:
Annualized ROI = (Final Value / Initial Cost)^(1 / Years) - 1
This is the CAGR formula, and it is the correct metric for comparing investments held for different durations.
How to Use the Calculator
- Enter the total amount you invested or spent
- Enter the final value or total revenue received
- Set the number of years the investment was or will be held
- Review the ROI percentage, net gain, annualized return, and return multiple
- Adjust inputs to compare different investment scenarios
Example Calculation
You invest $10,000 in a stock portfolio. Three years later, it is worth $14,500:
- Net gain: $14,500 - $10,000 = $4,500
- Total ROI: $4,500 / $10,000 x 100 = 45%
- Annualized ROI (CAGR): ($14,500 / $10,000)^(1/3) - 1 = 13.2% per year
- Return multiple: 1.45x
Compare this to an alternative investment that returned 40% over 2 years: its annualized ROI is 18.3%, which is actually better despite the lower total ROI percentage. The annualized metric reveals this difference.
Real World Scenarios
Marketing Campaign ROI
A business spends $5,000 on a digital advertising campaign and generates $18,000 in attributable revenue. The ROI is 260%, meaning every dollar spent returned $3.60. This metric helps the business decide whether to increase the campaign budget.
Real Estate Investment
An investor buys a rental property for $200,000 (including closing costs) and sells it 5 years later for $275,000 after accounting for all expenses and net rental income received. The total ROI is 37.5% and the annualized ROI is 6.6%, which can be compared against stock market or other real estate returns over the same period.
Equipment Purchase
A small business buys a $30,000 machine that reduces labor costs by $8,000 per year for 5 years, saving $40,000 total. The ROI is 33.3% and the annualized return is 5.9%, which can be compared against the cost of the loan used to finance the purchase.
Why This Calculation Matters
ROI is a universal language in business and investing. It allows you to compare a stock investment against a real estate deal, a marketing spend against a hiring decision, or a new product launch against a cost reduction initiative, all using the same percentage metric. Without it, there is no objective basis for prioritizing where to allocate capital.
Common Mistakes to Avoid
- Ignoring all costs: ROI is only as accurate as the cost figure used. Include transaction fees, taxes, maintenance costs, and any other expenses related to the investment
- Comparing total ROI across different time horizons: A 30% return over 10 years is far less impressive than 30% over 1 year. Always use annualized ROI when comparing investments held for different durations
- Using ROI alone without considering risk: Two investments with the same ROI can have dramatically different risk profiles. A high ROI from a speculative bet is not equivalent to the same ROI from a low risk bond
- Forgetting opportunity cost: An ROI of 5% looks acceptable until you realize a risk free savings account was offering 4.5% at the same time