Google Sheets Stock Tracker: Free Template (2026)
Last updated December 1, 2026. By Stock Moe, former financial advisor, MBA and finance teacher.
A Google Sheets stock tracker is a free spreadsheet that pulls prices with the GOOGLEFINANCE function and does the math on your holdings for you. My free template needs only three things from you per stock: the ticker, your shares and your average cost. It then shows price, gain or loss, portfolio weight and the 52 week high by itself, with quotes that Google says can be delayed up to 20 minutes.
Key takeaways
- The template is free. Open it, click File, then Make a copy, and the copy is private to your Google account.
- You type three inputs per holding: ticker with its exchange, shares and average cost per share. Fourteen columns fill in from there.
- Everything runs on one function, GOOGLEFINANCE. Google documents 19 current data attributes for it, including price, changepct, high52, pe and marketcap.
- Quotes can be delayed up to 20 minutes, and Google says the data is for information only, not for trading.
- GOOGLEFINANCE has no dividend attribute and does not support mutual fund attributes or most international exchanges, so plan around those gaps.
- What is a Google Sheets stock tracker?
- How do I get the free Google Sheets stock tracker template?
- How do you make a stock tracker in Google Sheets from scratch?
- Which GOOGLEFINANCE formulas does the tracker use?
- How do I track stock prices in Google Sheets over time?
- What can GOOGLEFINANCE not do?
- How should I track cost basis and gains?
- How do I use a stock tracker with my own plan?
- What mistakes should you avoid?
- Common questions
What is a Google Sheets stock tracker?
A Google Sheets stock tracker is a spreadsheet that lists what you own and updates the prices for you. Google Sheets is free with a Google account, and it has a built in function called GOOGLEFINANCE. Google describes it in one line: it “fetches current or historical securities information from Google Finance.” That one function is why Sheets beats a plain spreadsheet for this job.
I like a tracker for three reasons. First, most people own stocks in more than one place: a brokerage account, a retirement account, maybe an app for fractional shares. No single app shows all of it together. Second, your broker shows you what happened today. A tracker shows you how big each position is next to the others, which is the number that keeps you out of trouble. Third, it is yours. There are no ads and no third party login.
The search results for this topic are mostly paid add ons and templates with a sales pitch behind them. I built mine to be plain. It has one tab for your holdings and one tab of instructions, and every formula is visible so you can learn from it or change it.
How do I get the free Google Sheets stock tracker template?
Open the template with this link: Stock Moe Google Sheets Stock Tracker (free template). Google will ask if you want to make a copy. Say yes and the copy lands in your own Google Drive. I cannot see your copy and neither can anyone else unless you share it.
If you open the view only version instead, click File, then Make a copy. You need to be signed in to a Google account. There is nothing to install and no email to hand over.

The Portfolio tab has 14 columns. The three blue ones are yours to fill in. The other eleven are formulas.
| Column | What it shows | Who fills it in |
|---|---|---|
| Ticker | Exchange and symbol, like NASDAQ:QQQM | You |
| Name | The fund or company name from Google Finance | Formula |
| Shares | How many you own, fractions allowed | You |
| Average cost per share | What you paid per share on average | You |
| Price | Latest quote, delayed up to 20 minutes | Formula |
| Day change % | Change since the prior close | Formula |
| Cost basis | Shares times average cost | Formula |
| Market value | Shares times price | Formula |
| Gain or loss $ | Market value minus cost basis | Formula |
| Gain or loss % | Gain or loss divided by cost basis | Formula |
| % of portfolio | This holding as a share of the total | Formula |
| 52 week high | The highest price of the past year | Formula |
| % below 52 week high | How far the price sits under that high | Formula |
| 30 day trend | A small line chart inside the cell | Formula |
The template opens with three made up example rows so you can see it working: 10 shares of QQQM at a $200 cost, 5 shares of VOO at $500 and 40 shares of SCHD at $25. Those share counts and costs are examples, not my positions and not a suggestion. When I checked the sheet at about 12:35 PM Eastern on December 1, 2026, GOOGLEFINANCE showed QQQM at $274.36, VOO at $677.95 and SCHD at $35.42. Type over those rows with your own holdings.
How do you make a stock tracker in Google Sheets from scratch?
You can build a working stock tracker in Google Sheets in about ten minutes with seven steps. I think everyone should build it once, even if you end up using my template, because you will understand every number on the page. Here is the short version.
How to make a stock tracker in Google Sheets with the GOOGLEFINANCE function.
- Start a blank sheet and add headers
Go to sheets.new while signed in to Google. In row 1 type these headers across: Ticker, Name, Shares, Average cost, Price, Cost basis, Market value, Gain or loss, Gain or loss %, % of portfolio.
- Enter your first holding
In A2 type the ticker with its exchange in front, like NASDAQ:AAPL. In C2 type your shares and in D2 type your average cost per share. These are the only cells you type for each stock.
- Pull the name and the price
In B2 enter =GOOGLEFINANCE(A2,"name") and in E2 enter =GOOGLEFINANCE(A2,"price"). The name and a quote delayed up to 20 minutes appear in a second or two.
- Add the math
In F2 enter =C2*D2 for cost basis. In G2 enter =C2*E2 for market value. In H2 enter =G2-F2 for the gain or loss in dollars, and in I2 enter =H2/F2 for the percent.
- Add portfolio weight
In J2 enter =G2/SUM($G$2:$G$21). The dollar signs lock the range so the formula still works when you copy it down.
- Copy the row down and add totals
Select B2 through J2 and drag the fill handle down as many rows as you need. Under the last row, add =SUM(F2:F21) and =SUM(G2:G21) to total your cost basis and market value.
- Format and protect it
Format the money columns as currency and the percent columns as percent. Freeze row 1 from the View menu so the headers stay put, and color the cells you type in so you never overwrite a formula.
That is the whole engine. My template adds error handling so a blank row stays blank, plus the day change, the 52 week high and the trend line. The core is the same seven steps.
Which GOOGLEFINANCE formulas does the tracker use?
Every live number in the tracker comes from one pattern: =GOOGLEFINANCE(ticker, "attribute"). Google lists the full syntax as GOOGLEFINANCE(ticker, [attribute], [start_date], [end_date|num_days], [interval]) on its GOOGLEFINANCE help page. If you leave the attribute out, you get the price.
These are the formulas I use most. A2 is the cell that holds the ticker.
| What you want | Formula | What it returns |
|---|---|---|
| Current price | =GOOGLEFINANCE(A2,"price") | Real time price quote, delayed by up to 20 minutes |
| Name | =GOOGLEFINANCE(A2,"name") | The fund or company name. It works in Sheets even though Google leaves it off its attribute list |
| Day change in percent | =GOOGLEFINANCE(A2,"changepct") | The percentage change in price since the previous trading day’s close |
| Yesterday’s close | =GOOGLEFINANCE(A2,"closeyest") | The previous day’s closing price |
| 52 week high | =GOOGLEFINANCE(A2,"high52") | The 52 week high price |
| 52 week low | =GOOGLEFINANCE(A2,"low52") | The 52 week low price |
| P/E ratio | =GOOGLEFINANCE(A2,"pe") | The price to earnings ratio |
| Earnings per share | =GOOGLEFINANCE(A2,"eps") | The earnings per share |
| Market cap | =GOOGLEFINANCE(A2,"marketcap") | The market capitalization of the stock |
| Volume today | =GOOGLEFINANCE(A2,"volume") | The current day’s trading volume |
Two details trip people up. First, the changepct attribute comes back as a number like 1.3, not 0.013. My template divides it by 100 so the cell can be formatted as a percent. Second, Google says it is mandatory to use both the exchange symbol and the ticker for accurate results. Write NASDAQ:GOOG instead of GOOG. If you skip the exchange, Google says the function will use its best judgment to pick one, and that can be the wrong listing.
To see how far a stock sits under its high, divide the price by the 52 week high and subtract one: =E2/L2-1 in my template. A reading of minus 12.7 percent means the price is 12.7 percent below the highest price of the past year. That was the reading on QQQM when I checked on December 1, 2026, with a 52 week high of $314.12 in the sheet.
How do I track stock prices in Google Sheets over time?
Add dates to the same function and it returns a history table. This formula returns the daily closes of the past 30 days: =GOOGLEFINANCE(A2,"price",TODAY()-30,TODAY()). For weekly data, add “WEEKLY” as the last argument. Google’s own sample is GOOGLEFINANCE("NASDAQ:GOOG","price",TODAY()-30,TODAY()).
A history request behaves differently from a live one. Google says real time results come back as a value in a single cell, while historical data, even for a single day, comes back as an expanded array with column headers. So give it room. Put the formula in an empty area or on its own tab, because it will spill a Date column and a Close column down the page.
The 30 day trend column in my template wraps that history in a second function, SPARKLINE, which draws a small chart inside one cell. Google gives its syntax as SPARKLINE(data, [options]). The full formula is =SPARKLINE(INDEX(GOOGLEFINANCE(A2,"price",TODAY()-30,TODAY()),,2)). The INDEX part keeps only the second column, the closing prices, so the chart has clean numbers to draw.
Want to log your total every week? Add a tab called Log, and each Friday type the date and paste your total market value as a plain number. After a few months you have your own equity curve, which no formula can rebuild for you later.
What can GOOGLEFINANCE not do?
GOOGLEFINANCE is free, and free comes with limits. Google spells them out on the same help page, and you should know them before you trust the sheet with real decisions.
- Quotes are delayed. Prices can lag by up to 20 minutes and are not sourced from all markets. Google says the information is provided as is, for informational purposes only, not for trading purposes or advice.
- No dividends. The attribute list has no dividend, yield or ex dividend date. If income matters to you, type the dividend per share into your own column or use my dividend calculator for the projection.
- Mutual funds are out. Google says mutual fund attributes are currently not supported in Google Sheets. ETFs work fine.
- Most international exchanges are out. The function is only available in English and does not support most international exchanges.
- Not every attribute works for every symbol. An ETF has no earnings per share, for example, so that cell can come back as an error.
- History stays in the sheet. Historical data cannot be downloaded or reached through the Sheets API or Apps Script.
- Personal use only. Google says the data is not for financial industry professional use.
None of that bothers me for a personal tracker. A 20 minute delay does not matter when the question is how big a position is. It matters a lot when you are about to click buy. Check the live quote at your broker before any order.
How should I track cost basis and gains?
Cost basis is what you paid, and it is the number your gain or loss is measured from. The IRS explains in Topic no. 703, Basis of assets (page last reviewed November 9, 2026) that the basis of a stock you buy is generally the purchase price plus added costs such as commissions and transfer fees. So if you paid a fee to buy, fold it into your average cost.
The template uses one average cost per holding because it is simple. Here is the math when you buy in pieces. Say you buy 10 shares at $50 and later 10 more at $40. You paid $900 for 20 shares, so your average cost is $45. Type 20 in Shares and 45 in Average cost.
Be clear about what the sheet is and is not. It is a dashboard for decisions. It is not your tax record. Your broker tracks each purchase lot and reports sales on Form 1099-B, and those records are the ones that count at tax time. The IRS points to Publication 550 for the details on investment gains and losses. If you want lot level detail in the sheet, add a second tab with one row per purchase: date, shares, price and fees.
How do I use a stock tracker with my own plan?
A tracker is only worth the time if it changes what you do. Here are the three numbers I look at and what I do with each.
Percent of portfolio. This is the risk column. If one stock has grown to a third of your account, you own a different portfolio than the one you planned. Decide your size before you buy. My position size calculator shows how many shares fit the loss you can accept, and the tracker shows whether you stayed inside that plan.
Percent below the 52 week high. This is the on sale column. In my December 1, 2026 video I ranked seven ETFs partly by how far each sat below its record, and I keep those numbers on my stock market levels tracker. I add to my core ETF every week and I buy extra on days when the market is down 1 percent or more. A column that shows the discount at a glance makes that habit easy to keep. A big discount alone is not a reason to buy. Some stocks are down because the business is broken.
Gain or loss percent. This one matters the least. It tells you where you have been, not where the stock is going. Do not let a red number talk you into holding a bad stock until you are back to even. The stock does not know what you paid.
If you invest small amounts on a schedule, the tracker handles fractions without any changes. Type 0.25 shares and the math works. I explain how to buy that way in how to buy fractional shares.
I walk through my levels, my buys and my plan for the week ahead in my free Sunday Letter. It pairs well with the tracker: read the plan on Sunday, then update your sheet and see where you stand.
What mistakes should you avoid?
- Leaving off the exchange. A bare symbol can match the wrong listing. Always write NASDAQ:, NYSE: or NYSEARCA: in front.
- Typing over a formula. Only type in the blue cells. If you break a row, copy a working row over it.
- Trading off a delayed quote. The sheet can be 20 minutes behind. Use your broker for the live price.
- Forgetting cash. Your cash is part of your portfolio. Add a row for it by hand if you want true weights.
- Ignoring dividends. A stock that paid you 3 percent a year looks worse in the gain column than it really was, because the sheet only sees price.
- Sharing the wrong file. If you share your copy, share it as view only, and remember that it shows your holdings.
- Checking it too often. A tracker that updates all day can turn an investor into a nervous trader. Look at it on a schedule, not every hour.
Investing can lose money, and past results do not predict future results. A spreadsheet does not lower your risk. It only shows it to you.
Common questions
List your tickers in column A, then use =GOOGLEFINANCE(A2,"price") to pull each price. Add columns for shares and average cost, multiply shares by price for market value, and subtract your cost basis for the gain or loss. Or copy my free template and type over the example rows.
Type =GOOGLEFINANCE("NASDAQ:AAPL","price") in any cell, or point the function at a cell that holds the ticker. The price updates on its own while the sheet is open. Google says quotes can be delayed up to 20 minutes.
Google Sheets has no ready made tracker screen, but it has the GOOGLEFINANCE function, which pulls prices and other data from Google Finance. A template like mine turns that function into a tracker.
Not exactly. Google calls the price attribute a real time quote but says it can be delayed by up to 20 minutes, and that quotes are not sourced from all markets. Use your broker for live prices when you place a trade.
Not automatically. Google lists no dividend or yield attribute for GOOGLEFINANCE, so you have to type dividends in yourself. Add a column for the annual dividend per share and multiply it by your shares to estimate yearly income.
Yes. My template is free and Google Sheets is free with a Google account. Click the link, make a copy and the copy is private to you.
The most common cause is a ticker Google cannot match. Add the exchange in front, like NYSE:KO or NYSEARCA:VOO. Mutual funds and many international listings are not supported, and a brief #N/A can also appear while data is loading.
Keep reading on Stock Moe
- Position Size Calculator: How Many Shares to Buy
- Dividend Calculator: Reinvestment, Yield and Income (2026)
- How to Buy Fractional Shares in 2026: Step by Step
Get more from Stock Moe
Want live trades, my personal indicator and live teachers? Join the Stock Moe Academy with code MOE. Prefer the free version? The Sunday Letter lands every Sunday morning.
Sources
- Google Docs Editors Help, GOOGLEFINANCE (syntax, attributes, delay and usage notes), accessed December 1, 2026
- Google Docs Editors Help, SPARKLINE, accessed December 1, 2026
- Internal Revenue Service, Topic no. 703, Basis of assets, page last reviewed or updated November 9, 2026, accessed December 1, 2026
- Stock Moe Google Sheets Stock Tracker (free template), built December 1, 2026. Example quotes read from the sheet at about 12:35 PM ET that day
- Stock Moe, 7 best ETFs to buy now (YouTube), December 1, 2026
- Semrush keyword data for the United States, December 1, 2026, for the questions in the Common questions section
I am not a financial advisor and nothing in this article is financial advice. Everything here is my own opinion, for educational and entertainment purposes only. Do your own research and talk to a licensed professional before you make any financial decision.
