Return on Investment Calculator

JJ Ben-Joseph headshot JJ Ben-Joseph

How to Use the Return on Investment Calculator

This calculator estimates how much your investment has grown (or shrunk) over time. Enter what you originally invested, what it is worth now, and how long you held the investment. The tool reports:

For the most realistic results, include all relevant costs in your Initial Investment (such as commissions, closing costs, or setup fees) and use the Final Value after subtracting any selling costs.

ROI Formula: Measuring Total Gain or Loss

Return on investment compares how much value you gained to how much money you put in at the start. It is a simple percentage that answers: “How much did I make (or lose) relative to what I spent?”

Let:

The ROI formula is:

ROI = (Vf − Vi) / Vi × 100%

In MathML, this can be written as:

ROI = Vf Vi Vi × 100 %

Interpretation:

ROI is easy to understand and works well for quick comparisons, but it does not say anything about how long it took to earn that return. For that, you need CAGR.

CAGR Formula: Converting Total Return into an Annual Rate

Compound annual growth rate (CAGR) answers a more time-aware question: “If my investment had grown at a steady rate each year, what annual rate would produce the same final value?”

Using the same notation as above and letting n be the number of years the investment was held, the CAGR formula is based on compound growth:

CAGR = (Vf / Vi)1/n − 1

In MathML form:

CAGR = Vf Vi 1 n 1

To convert CAGR to a percentage, multiply by 100%. A CAGR of 0.08 means an 8% average annual growth rate.

CAGR is especially useful when you want to compare investment options held for different lengths of time or when the timing of returns matters.

Worked Example: Calculating ROI and CAGR Step by Step

Suppose you invest $3,000 in a startup and sell your shares three years later for $5,000.

1. Calculate ROI

First, find the gain:

Then divide by the initial investment and convert to a percentage:

This means your total return over the three-year period is about 66.67%.

2. Calculate CAGR

Now include time. Here, Vi = 3,000, Vf = 5,000, and n = 3 years.

So the CAGR is about 0.184, or 18.4% per year when expressed as a percentage.

This tells you that, even if actual yearly returns were uneven, they are equivalent to earning a steady 18.4% each year for three years.

ROI vs. CAGR: When to Use Each

ROI and CAGR describe the same investment from different angles. ROI focuses on the total outcome, while CAGR focuses on the average yearly pace of growth.

Metric What it measures Best use cases Main limitation
ROI Total gain or loss relative to initial cost, as a percentage. Quick comparisons across projects, campaigns, or purchases with similar time frames. Ignores how long it took to get that return.
CAGR Average annual rate that would compound to the same final value. Comparing investments held for different numbers of years; summarizing long-term performance. Suggests smooth growth, even if actual year-to-year returns were volatile.

In practice, you will often look at both numbers together. For example, a project with a high ROI but very long holding period may have a modest CAGR once time is factored in.

Interpreting Your Results

Once you enter your values and run the calculator, consider the results in context:

Remember that a higher ROI or CAGR is not automatically better. You should always weigh returns against risk, liquidity, and your broader financial goals.

Common Use Cases for ROI and CAGR

This calculator can be applied to many scenarios, not just stocks or funds:

In all cases, the quality of the result depends on how accurately you capture all relevant cash in and cash out in your initial and final values.

Assumptions and Limitations

The ROI and CAGR results from this calculator rely on several simplifying assumptions. Understanding these helps you interpret the numbers appropriately.

These limitations do not make ROI or CAGR useless; they simply mean the numbers should be one input into your decision-making rather than the sole deciding factor.

Further Reading

If you want to explore these concepts in more depth, look for materials from well-regarded financial education sources that cover topics such as:

Comparing multiple perspectives can help you develop a more complete understanding of how ROI and CAGR fit into long-term planning and project evaluation.

Enter the holding period in years. Use decimals for partial years such as 1.5.

Enter your investment details to see ROI.

Enter values to plot starting and ending amounts with ROI and CAGR.

Embed this calculator

Copy and paste the HTML below to add the Return on Investment Calculator - Measure Gains and Annualized Growth to your website.