• Skip to main content
  • Skip to secondary menu
  • Skip to primary sidebar
  • Skip to footer

Optimized Portfolio

Investing and Personal Finance

  • Start Here
  • Investing 101
    • Beginners Start Here – 10 Steps To Start Building Wealth
    • What Is the Stock Market? How It Works & How to Invest in It
    • How To Invest in an Index Fund – The Best Index Funds
    • Portfolio Asset Allocation by Age
    • How To Invest Your Emergency Fund
    • Portfolio Diversification – How To Diversify Your Portfolio
    • Dollar Cost Averaging vs. Lump Sum Investing (DCA vs. LSI)
    • How To Invest Your HSA (Health Savings Account)
    • Factor Investing and Factor ETFs – The Ultimate Guide
    • more…
  • Lazy Portfolios
    • All Weather Portfolio
    • Bogleheads 3 Fund Portfolio
    • HEDGEFUNDIE’s Excellent Adventure
    • Warren Buffett Portfolio
    • Golden Butterfly Portfolio
    • Paul Merriman Ultimate Buy and Hold Portfolio
    • Ben Felix Model Portfolio
    • Permanent Portfolio
    • David Swensen Portfolio
    • 60/40 Portfolio
    • more…
  • Funds
    • VOO vs. VTI – Vanguard S&P 500 or Total Stock Market ETF?
    • The 7 Best International ETFs
    • The 8 Best Small Cap ETFs (4 From Vanguard)
    • The 5 Best REIT ETFs
    • The 5 Best EV ETFs – Electric Vehicles ETFs
    • VIG vs. VYM – Comparing Vanguard’s 2 Popular Dividend ETF’s
    • The Best Vanguard Dividend Funds – 4 Popular ETFs
    • The 5 Best Tech ETFs
    • The 7 Best Small Cap Value ETFs
    • The 6 Best ETFs for Taxable Accounts
    • The 5 Best Emerging Markets ETFs (1 From Vanguard) for 2023
    • more…
  • Leverage
    • What Is a Leveraged ETF and How Do They Work?
    • How To Beat the Market Using Leverage and Index Investing
    • The 9 Best Leveraged ETFs
    • Hedgefundie’s Excellent Adventure
    • Leveraged All Weather Portfolio
    • Leveraged Permanent Portfolio
    • Leveraged Golden Butterfly Portfolio
    • NTSX – Review and Summary
    • TQQQ – Is It A Good Investment?
    • PSLDX – A Review
    • SWAN – A Review
    • RPAR Risk Parity ETF Review
    • more…
  • Dividends
    • The Best M1 Finance Dividend Pie
    • The 11 Best Dividend ETFs
    • The Best Vanguard Dividend Funds – 4 Popular ETFs
    • VIG vs. VYM – Comparing Vanguard’s 2 Popular Dividend ETF’s
    • 8 Reasons Why I’m Not a Dividend Income Investor
    • QYLD – A Harsh Review
    • more…
  • Brokers
    • The 5 Best Stock Brokers
    • The 4 Best Investing Apps
    • M1 Finance Review
    • Brokers with the Lowest Margin Rates
    • M1 Finance vs. Fidelity
    • M1 Finance vs. Vanguard
    • Webull vs. Robinhood
    • Stash vs. Robinhood
    • M1 Borrow Review (How M1’s Margin Loan Works)
    • more…
  • Retirement
    • The 10 Best ETFs for Retirement Portfolios in 2023
    • The 4% Rule for Retirement Withdrawal Rate – A Revisitation
    • Sequence of Return Risk in Retirement Explained
    • Traditional IRA Explained
    • Roth IRA Explained
    • 401k vs. Roth IRA
    • Roth IRA vs. Traditional IRA
    • Backdoor Roth IRA Explained
    • more…
  • My Toolbox

How To Calculate Investment Returns (ROI and CAGR)

Last Updated: March 31, 2026 1 Comment – 3 min. read

Here's how to calculate investment returns (known as return on investment, or ROI for short) to see your portfolio's performance. We'll specifically look at ROI and CAGR in detail.

Disclosure:  Some of the links on this page are referral links. At no additional cost to you, if you choose to make a purchase or sign up for a service after clicking through those links, I may receive a small commission. This allows me to continue producing high-quality content on this site and pays for the occasional cup of coffee. I have first-hand experience with every product or service I recommend, and I recommend them because I genuinely believe they are useful, not because of the commission I may get. Read more here.

Contents

  • Introduction – Return on Investment (ROI)
  • ROI Calculator
  • How To Calculate Return on Investment (ROI) – Formulas
  • ROI vs. CAGR
  • How To Calculate Annualized Return aka Compound Annual Growth Rate (CAGR)
  • CAGR Calculator
  • How To Calculate CAGR in Excel and Google Sheets
  • CAGR vs. Average Annual Return
  • Shortcomings of the Return on Investment (ROI) Metric

Introduction – Return on Investment (ROI)

Return on Investment (ROI) measures the gain or loss of an investment, as a percentage, relative to its cost. ROI is used in business to evaluate revenue performance, such as the return from marketing efforts. In the context of investing, we're talking about the investment returns of an asset or, more likely, of the portfolio as a whole.

The metric has a few shortcomings and a corollary that we'll explore further down.

ROI Calculator

Starting value ($)
Final value ($)
Net gain —
ROI —
OptimizedPortfolio.com

How To Calculate Return on Investment (ROI) – Formulas

The calculation for return on investment is very simple. It's just the ratio of the change in value to the original value. If we use CV to mean the current value of the investment and OV to mean the investment's original value, we can calculate the investment return, expressed as a percentage, using the following formula:

(CV ➖ OV) ➗ OV ✖️ 100 = ROI

We can simplify this somewhat to:

CV ➗ OV ➖ 1 ✖️ 100 = ROI

To calculate your return for a single year, for example, use the portfolio value on January 1 as OV and the value on December 31 as CV.

Here's an example. Let's assume you bought 100 shares of ABC at $10/share for a total cost basis of $1,000. The share price of ABC has since increased to $12.50 per share for a total value of $1,250 for your 100 shares. We can calculate the investment return like this:

$1,250 ➗ $1,000 ➖ 1 ✖️ 100 = 25%

So your ROI was 25%. This is usually simply called the “return.” If this number is positive, you gained money. If it's negative, you lost money.

ROI vs. CAGR

There's a glaring problem with ROI, though. ROI doesn't factor in the time period that the investment is held. Investors are likely more interested in annualized return, a measurement of the annual rate of return required for the investment to grow to its final value over a number of years. This is also called the compound annual growth rate, or CAGR for short.

Unlike pure ROI, CAGR does allow us to compare different investments, because it factors in the amount of time the investment is held.

Let's look at how to calculate CAGR.

How To Calculate Annualized Return aka Compound Annual Growth Rate (CAGR)

Here's the formula to calculate CAGR using our variables above:

CAGR = (CV ➗ OV)1/n ➖ 1

where n is the number of years the investment is held. Suppose in our example above that you held ABC for 2 years:

CAGR = ($1,250 ➗ $1,000)1/2 ➖ 1 = 11.8%

If you've already calculated your ROI, you can also just use that in the calculation for annualized return:

CAGR = [(1 + ROI)1/n ➖ 1] ✖️ 100

[(1 + .25)1/2 ➖ 1] ✖️ 100 = 11.8%

CAGR Calculator

Starting value ($)
Final value ($)
Number of years
CAGR —
Total return —
OptimizedPortfolio.com

How To Calculate CAGR in Excel and Google Sheets

There's no direct CAGR function in Excel or Google Sheets, but we can use the RRI function as follows to measure CAGR:

RRI(number_of_periods, present_value, future_value)

The arguments are:

number_of_periods: number of years the investment is held.
present_value: the initial value of the investment.
future_value: the final value of the investment.

Using our example from earlier would look like this:

RRI(2,1000,1250)

CAGR vs. Average Annual Return

While the wording may be confusing, note that CAGR should always be preferred over average annual return, which is simply the mean value of returns over a certain time period. Brokers and advisors like to use the latter because it usually looks more impressive. In short, the average return is not the actual return. An example will make this distinction more clear.

Suppose an investment of $5,000 grows by 100% in the first year to $10,000 and then drops by 50% the next year back down to $5,000. Over the 2 years, your CAGR was zero; you have neither gained nor lost money. But your average annual return was 25%. Obviously this is very misleading.

So always ask your advisor what your CAGR was; tell them you're not interested in your average annual return.

Shortcomings of the Return on Investment (ROI) Metric

ROI has a few shortcomings as a standalone metric.

First, as we saw, it doesn't take into account the amount of time the investment is held. Comparing an Investment A with a 10% return to Investment B with a 20% return isn't an apples-to-apples comparison, as Investment A may have yielded that return in one year while Investment B took 10 years. We can solve this using annualized ROI aka CAGR.

Secondly, neither ROI nor CAGR per se tells us anything about the risk of the investment(s). In the example above in which Investment A returned 10% and Investment B returned 20%, Investment B may have been much riskier and could have been outside the risk tolerance of the investor.


Interested in more Lazy Portfolios? See the full list here.

Disclaimer:  While I love diving into investing-related data and playing around with backtests, this is not financial advice, investing advice, or tax advice. The information on this website is for informational, educational, and entertainment purposes only. Investment products discussed (ETFs, mutual funds, etc.) are for illustrative purposes only. It is not a research report. It is not a recommendation to buy, sell, or otherwise transact in any of the products mentioned. I always attempt to ensure the accuracy of information presented but that accuracy cannot be guaranteed. Do your own due diligence. I mention M1 Finance a lot around here. M1 does not provide investment advice, and this is not an offer or solicitation of an offer, or advice to buy or sell any security, and you are encouraged to consult your personal investment, legal, and tax advisors. Hypothetical examples used, such as historical backtests, do not reflect any specific investments, are for illustrative purposes only, and should not be considered an offer to buy or sell any products. All investing involves risk, including the risk of losing the money you invest. Past performance does not guarantee future results. Opinions are my own and do not represent those of other parties mentioned. Read my lengthier disclaimer here.

m1


Are you nearing or in retirement? Use my link here to get a free holistic financial plan and to take advantage of 25% exclusive savings on financial planning and wealth management services from fiduciary advisors at Retirable to manage your savings, spend smarter, and navigate key decisions.

retirement peace of mind

Related Posts

  • How To Invest Your HSA (Health Savings Account)
  • Buy the Dip vs. Staying Invested Calculator
  • QYLD – Avoid This ETF as a Long-Term Investment (A Review)
  • Bogleheads 2 Fund Portfolio for Purists & Minimalists (2026)
  • The 9 Best Leveraged ETFs To Enhance Portfolio Exposure (2026)

About John Williamson, APMA®

Analytical data nerd, investing enthusiast, fintech consultant, Boglehead, and Oxford comma advocate. I'm not a big fan of social media, but you can find me on LinkedIn and Reddit.

Reader Interactions

Comments

  1. Doc Martin says

    January 5, 2023 at 4:37 pm

    Hi. I’ve really struggled to decide what the most meaningful and useful way is to calculate my Investment returns. On a “per ETF” or “per stock” basis, it’s never as simple as OV CV over time because I’m usually building up positions over time and sometimes may take some profit or loss to reduce risk.

    So most of my investments individually have histories of multiple buy and sells over different lengths of time periods. And ofc in between that there is market activity and sometimes dividends.
    What would be the most accurate way to measure the performance of the investments themselves, within my given time period as well as measure my personal performance of when I added or reduced my position size?
    I believe it’s using TWRR & MWRR but the nuance of cash flows and non-round time periods ( a year) seem to make it very complex- taking more time to calculate than I’ have to spend on it.
    Also, it’s important to know your portfolio performance as a whole as well, which overall has cash flows, weights, and metrics of its own like its Sharpe Ratio, Beta and overall yield or financial ratios..
    Not to mention things like geometric mean when looking at a per quarter report.

    Do you have any suggestions for the most efficient and useful way to go about this and which methods give the most actionable results and which are not really worth the time?

    This is my biggest struggle when it comes to figuring out how optimized my portfolio is for my goals and trying to do it without relying on my brokerage platform to tell me using methods that may look better than the actual performance.
    Any tips?
    Thanks

    Reply

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Primary Sidebar

  • Facebook
  • Instagram
  • Reddit
  • Twitter
  • YouTube
  • Patreon

Join 5,372 other investors

Take control of your financial future by subscribing to receive exclusive emails with expert tips, news, and notifications of new posts and important updates.

Don't worry, I hate spam too. No ads.

John Williamson, APMA®

Analytical data nerd, investing enthusiast, fintech consultant, Boglehead, and Oxford comma advocate. I'm not a big fan of social media, but you can find me on LinkedIn and Reddit. Read More…

Most Popular

Ray Dalio All Weather Portfolio Review, ETFs, & Leverage (2026)

HEDGEFUNDIE’s Excellent Adventure (UPRO/TMF) – A Summary

Golden Butterfly Portfolio Review, Performance, & ETFs (2026)

David Swensen Portfolio (Yale Model) Review and ETFs To Use

55 Lazy Portfolios and Their ETF Pies for M1 Finance (2026)

VIG vs. VYM – Vanguard’s 2 Popular Dividend ETFs (Review)

Warren Buffett ETF Portfolio (90/10) Review and ETFs (2026)

Bogleheads 3 Fund Portfolio Review and Vanguard ETFs (2026)

Paul Merriman Ultimate Buy and Hold Portfolio Review & ETFs (2026)

The Best M1 Finance Dividend Pie for FIRE & Income Investors

m1 sidebar

retirable

Portfolio Asset Allocation by Age – Beginners To Retirees

The 7 Best Small Cap ETFs (3 From Vanguard) for 2026

9 Best International ETFs To Buy (6 From Vanguard) in 2026

The 3 Best Inverse ETFs to Short the S&P 500 Index in 2026

Ben Felix Model Portfolio (Rational Reminder, PWL) ETFs & Review

Factor Investing and Factor ETFs – The Ultimate Guide

NTSX ETF Review – WisdomTree U.S. Efficient Core ETF (90/60)

The Ginger Ale Portfolio (My Own Portfolio) and M1 ETF Pie

TQQQ – Is It A Good Investment for a Long Term Hold Strategy?

QYLD – Avoid This ETF as a Long-Term Investment (A Review)

The 9 Best T Bill ETFs (Treasury Bills) To Park Cash in 2026

JEPI ETF Review – JPMorgan Equity Premium Income ETF

SPAXX vs. FZFXX, FDIC, FCASH, FDRXX – Fidelity Core Position

Recent Posts

HAPI ETF – Should You Invest in the Best Places to Work?

Yield on Cost – The Useless Metric Dividend Investors Love

JEPQ ETF Review – JPMorgan Nasdaq Equity Premium Income ETF

Dimensional Launches DFMC ETF – US Micro Cap Portfolio ETF Class

ALLW ETF Review – SPDR Bridgewater All Weather ETF

VBIL vs. SGOV – Which ETF for T-Bills?

Vanguard Launches 2 New ETFs for T-Bills – VBIL and VGUS

RSBY ETF Review – Return Stacked® U.S. Bonds & Futures Yield ETF

1 ETF for Life to Get Rich? It’s Not One You’d Guess…

How to Get 35% off a New Tesla Model Y (1.99% APR Financing Promo)

SPLG / SPYM ETF Review – A Cheaper Way To Buy the S&P 500 Index

M1 Finance New Dividend Reinvestment Features Are Here! (Sneak Peek)

RSSY ETF Review – Return Stacked® U.S. Stocks & Futures Yield ETF

RSBT ETF Review – Return Stacked® Bonds & Managed Futures ETF

RSST ETF Review – Return Stacked® US Stocks & Managed Futures ETF

View All...

Footer

  • Facebook
  • Instagram
  • Reddit
  • Twitter
  • YouTube
  • Patreon

Amazon Affiliate Disclosure

OptimizedPortfolio.com is a participant in the Amazon Services LLC Associates Program, an affiliate advertising program designed to provide a means for sites to earn advertising fees by advertising and linking to Amazon.com.

Email Newsletter

Sign up to receive email updates when a new post is published.

Don't worry, I hate spam too. No ads.

About - My Toolbox - Privacy - Terms - Contact


Copyright © 2026 OptimizedPortfolio.com