How Can I Calculate Average Cost for My Investments?

If you’re familiar with the Investing for Beginners community, you know that we are all HUGE fans of contributing to your retirement accounts on a very consistent basis. The biggest key to this is that you can average out your investments to reduce volatility, but how do you know you’re doing this? Well, you must know how to calculate average cost of your investments!

First, let me explain the importance of knowing this and then by the time we get to the end of the blog post, I will provide you a free calculator that you can use to calculate these as well

You might be thinking of the term “dollar cost averaging” as I wrote my first paragraph as that has become synonymous with this strategy of investing X amount every X period, such as $100/paycheck of $150/month like Andrew does in his real-money portfolio.

The issue is that this is not technically dollar-cost averaging. This is what I would say is ratable lump sum investing. I’m not going to go super in depth on this and annoy the heck out of you (because I have done that previously) so instead I’m just going to say we’re investing via this RLS approach – aka Ratable Lump Sum.

And yes – I am going to coin that phrase…lol.

So, the benefit of RLS is quite simple – every paycheck you get paid and you look at your Doctor Budget spreadsheet and your Budget Calendar and find out what amount of money you need to stash away. Then, you realize that if your discretionary spending doesn’t go off the deep-end, you’re going to have $150 left – what do you do with it?

Well, maybe you want to save $50 for some fun and then invest the rest. You dump all that money into your favorite stock or ETF (and hopefully not a regular savings account because that interest is trash!) and then you let your money do what it does best – go to work for you!

You see, by investing everything that you have leftover, you’re going to give that money as much time as possible to compound and really reap the rewards later in your life.

Now, I don’t want to go super into the details of why you want to do RLS, but let me provide a couple quick reasons:

  1. Chances are, the stock market is your best opportunity for returns

You might have other amazing options and if so, go ahead, but for the most of us – this is our best opportunity to maximize the compound interest on our dollars.

1 – By consistently adding to our positions, we can smooth out the volatility in our portfolio

Sure, this might mean that you’re going to ride it all the way up and get in at higher prices than you have in the past, but that’s a good thing! That means that the rest of your portfolio has increased in value consistently.

And if you’re buying in at a lower price than you did previously and you still have a lot of faith in that stock or ETF, then you’re getting nothing less than a clearance price on that asset. As Warren Buffett once said, “Whether we’re talking about socks or stocks, I like buying quality merchandise when it is marked down.” That’s straightforward that just because you’re buying lower than you did previously, that’s not a bad thing at all if you still have faith!

Let’s dive in a little bit more on exactly how this might work for you.

As you likely know, over time the stock market has historically gone up 10%+ each year which means that you’re most likely going to be buying in at a higher time than you did the previous month, but at the same time, that means that you’re going to likely be buying in at a cheaper time than you will the month after…so put your money into the market and let it work!

If you were to invest $100 each month into a total stock market ETF like SPY since 1/1/2012, then you would have a total of 52.61 shares of SPY. While that might not sound like an absolute ton of shares since you started accumulating them 9 years ago, you’ve invested a total of $11,300 and now that investment is worth $22K!

And the really, cool part is that your average cost for each share is only $214.77! But, the question to all of this was how to calculate the average cost for your investments. The formula is one that is very simple to understand:

That sounds extremely simple to calculate and truthfully, it is. In fact, a lot of brokerages will calculate this ratio for you but not all of them will. The reason that I focus so much on this number is because in my eyes, it’s a testament to the fact that I was doing a really good job with my RLS investing because hopefully I have invested at amounts that are lower than the share price is now!

Personally, you all likely know that I am a nerd and like to calculate this on my own, so I created a very simple calculator for you to do the math yourself.

All that you need to know is your investment date, the amount that you invested, the share price that you bought at and then the current share price. If you input these few pieces of information into the calculator, then you can see your Average Cost/Share and your Net Gain/Loss, noted below:

As you can see, I assumed that I was going to invest $200/month into Visa on the first day of each month, except in April where I received a $1000 bonus (this is all made up), or maybe even a tax return, that I wanted to put into Visa. By doing so, I was able to capitalize on the share price being essentially flat since I first invested and now see the share price about $9/share higher than if I had invested at that time.

Note that this doesn’t include dividends either, which admittedly isn’t huge for Visa, but if you earned $.32/share for every share as Visa paid out on 3/1, you can simply enter that amount in as a dividend as I have done below:

Now, those dividends are extremely small because Visa isn’t really known as a dividend stock, but I view them as one of those companies that are really a blend of all the intriguing companies to me.

They’re a tech company (check) that’s not insanely overvalued on a value basis (check) and pays a dividend (check) along with a high ROIC, which is one of my favorite quantitative metrics to evaluate the management of a company (check).

For that reason, I love Visa. I view them as very similar in this sense of being a blended company to Apple as Apple pays a dividend too, believe it or not.

Admittedly, if you’re looking for a company with a higher dividend yield than the .57% weak sauce that Visa is giving you, you can always start with the dividend aristocrats or even the dividend kings to help you on your journey.

Another way that you can take this average cost for your shares and use that information to understand your investments even better is a term that I heard a couple years ago where people were talking about their “yield on cost” for their portfolio.

For instance, a stock that is trading at $100/share might give you a $4 dividend each year, meaning your dividend yield is 4%, right? But if you bought those shares at $50, then your Yield on Cost is 8%, because you’re getting $4 in dividends every year for a stock that you bought at $50. Huge win!

I think it’s extremely important to have this perspective because it keeps you in line with how your investments are doing, but I highly encourage you to evaluate your stocks based on where they currently are rather than what you bought them at.

For instance, every single day that you choose not to sell your shares, you’re effectively choosing to buy shares at that same price. Taking taxes out of the equation, you should always want to be in the best investments. If you see better opportunities out there, you should jump on those opportunities rather than staying with your current investments just because those may have doubled.

Sure, your yield on cost is 8% in the example that I gave, but you could sell those shares, purchase a different company that is paying out a 4% dividend yield, and be in the same exact spot from the total dividends that you’re earning even though your yield on cost is much higher now because you recently acquired these new shares.

The thing that is important, in my eyes, about knowing how to calculate your average cost is that you’re understanding the value of sticking to the plan and being opportunistic in your buying.

Just because the shares are down doesn’t mean that you need to panic sell your holdings and in fact it might mean the exact opposite if you still have conviction in the company.

Andrew and Dave recently addressed a listener question on the podcast about this where he owned PLTR, a very volatile stock, and was wondering what he should do with his shares as they would increase and decrease massive amounts in a short period of time.

The key is to have conviction, hold for the long-term, and practice that Ratable Lump Sum investing that I talk about.

As I mentioned before, I don’t think that it’s imperative that you use a calculator to track all of your stocks in excel to do the math on your average cost when your brokerage firm likely does it, but I am a firm believer that understanding how this works is a major factor to being a successful investor.

I have talked previously that when COVID-19 was really hitting the U.S. initially in March 2020, I emptied my rainy-day fund to take advantage of the 20-30% drop in the stock market. I knew that this decrease in the market was either going to be one that was completely temporary, or the pandemic was going to be extremely, extremely brutal and chance are I wouldn’t need that rainy-day fund anyways.

I found an opportunistic time in the market to load up on some of my favorite holdings and ETFs and now we find the stock market right at all-time highs in mid May 2021. Hopefully I didn’t just jinx it…

Once you can master the understanding of knowing your average cost of your shares, you’re going to be a way better investor, and you’re going to actually hope the market goes down in the short-term so you have opportunities to buy even more shares than you did the previous month with the same amount of money.

Your friends might think you’re crazy for it, but sometimes those massive pullbacks are nothing less than a great buying opportunity!

My take-home advice is this – make sure that you’re practicing your RLS investing strategy because that is the hardest part to master. Set an amount that you want to save each period (month/week/paycheck/etc.) and DO NOT waiver from that. If you can do that, you’re going to be golden.

Even if you’re not a stock picker like I am, there are other ways that you can invest with a great deal of confidence, such as buying a total stock market ETF or my person favorite, becoming a subscriber to the Sather Research eLetter!

Learn the art of investing in 30 minutes

Join over 45k+ readers and instantly download the free ebook: 7 Steps to Understanding the Stock Market.


WordPress management provided by