Dividend Yield Formula in Google Sheets (Step-by-Step)

How-to basics · Updated November 24, 2026

The dividend yield formula in Google Sheets is =DividendPerShare / PricePerShare, entered as a percentage by formatting the cell as a percent. For example, if a stock pays $2.00 annually per share and trades at $50.00, the formula =2/50 returns 0.04, which formats to 4.00%.

Why Dividend Yield Matters

Dividend yield is a quick snapshot of how much cash a company returns to shareholders relative to its stock price. It helps investors compare income streams across stocks, bonds, or even whole portfolios. A high yield can signal a bargain or a red flag—sometimes a falling stock price inflates the yield, masking financial trouble. Yield is also a core input for dividend growth models, retirement income planning, and screening for income-focused investments.

In Google Sheets, you can calculate yield for a single stock, a portfolio, or a watchlist. The key is understanding the inputs: annual dividends per share (not quarterly) and the current market price. For a portfolio, you can sum total dividends received and divide by the total market value.

How to Write the Formula in Google Sheets

Assume you have a spreadsheet with stock names in column A, annual dividend per share in column B, and current price per share in column C. In cell D2, enter:

=B2/C2

Then format D2 as a percentage by going to Format > Number > Percent. If you want to see the raw decimal, skip the formatting. For a portfolio, place total annual dividends in B10 and total portfolio value in C10, then use =B10/C10.

If your dividend data is quarterly, multiply by 4 first: =(B2*4)/C2. If it’s monthly, multiply by 12. Always use the trailing twelve months (TTM) of dividends for accuracy, not just the last quarter.

Using Google Finance for Live Prices

Google Sheets has a built-in GOOGLEFINANCE function that pulls live stock data. To get the current price for a ticker (e.g., AAPL), use:

=GOOGLEFINANCE("AAPL", "price")

To get the dividend yield directly, use the attribute "dividendyield":

=GOOGLEFINANCE("AAPL", "dividendyield")

This returns the yield as a percentage (e.g., 0.0055 for 0.55%). You can combine it with your own data: if you have the annual dividend in B2, use =B2/GOOGLEFINANCE("AAPL", "price") to calculate yield from live price. Note that GOOGLEFINANCE may delay data by up to 20 minutes and does not cover all exchanges or tickers.

Common Mistakes and How to Avoid Them

Several errors trip up new users:

  • Using quarterly dividends without annualizing – Always multiply by 4 for quarterly payments, or use the TTM figure.
  • Forgetting to format as percent – The raw result is a decimal; format the cell to see a percentage.
  • Mixing price types – Use the current market price, not the price you paid or the 52-week high.
  • Dividing by zero or blank cells – If price is missing, the formula returns #DIV/0!. Use =IFERROR(B2/C2, "") to show a blank.
  • Assuming yield equals total return – Yield ignores capital gains; total return includes price changes.

To avoid the #DIV/0! error, wrap your formula in IFERROR:

=IFERROR(B2/C2, "")

Comparing Dividend Yield Across Stocks

When comparing yields, use the same time period and data source. For example, create a table with tickers, annual dividends, and prices, then calculate yield for each. Use conditional formatting to highlight high-yield stocks: select the yield column, go to Format > Conditional formatting, and set a rule like “Greater than 0.05” (5%) to fill green.

Remember that yield is backward-looking—it uses past dividends. A company may cut dividends, so check payout ratio (dividends divided by earnings) for sustainability. You can fetch earnings per share with =GOOGLEFINANCE("AAPL", "earningspershare") and compute payout ratio in another column.

Calculating Portfolio Yield in Google Sheets

For a portfolio, you have two options: simple average or weighted average. Simple average ignores how much money is in each stock. Weighted average is more accurate. To calculate weighted portfolio yield:

  1. List each stock’s market value (shares × price) in a column (e.g., E2:E10).
  2. List each stock’s annual dividend income (shares × dividend per share) in column F.
  3. Sum the market values: =SUM(E2:E10).
  4. Sum the dividend income: =SUM(F2:F10).
  5. Divide total dividends by total value: =SUM(F2:F10)/SUM(E2:E10).

This gives the overall yield of your portfolio, which is useful for income planning. You can also use SUMPRODUCT to avoid extra columns: =SUMPRODUCT(B2:B10, C2:C10)/SUM(C2:C10) where B holds yields and C holds market values.

Frequently Asked Questions

Does Google Sheets have a built-in dividend yield function?

No, there is no dedicated function like DIVYIELD. You must use GOOGLEFINANCE with the "dividendyield" attribute or calculate manually from dividends and price.

Why does GOOGLEFINANCE return a yield that differs from my broker?

Brokers may use different dividend periods (e.g., last quarter annualized vs. trailing twelve months) or different price snapshots. Google Finance uses its own data, which can be delayed. Always cross-check with your broker’s official numbers.

How do I get the dividend yield for a foreign stock?

Use the ticker as listed on Google Finance, often with an exchange suffix like "LON:VOD" for Vodafone London. The GOOGLEFINANCE function may not support all exchanges; if it fails, enter the dividend and price manually.

Can I use dividend yield to compare with bond yields?

Yes, but remember that dividends are not guaranteed, while bond interest is contractual. Yield alone doesn’t capture risk. Compare yields alongside credit ratings and dividend history.

What is a good dividend yield?

There’s no universal number. The average S&P 500 yield is around 1.5% to 2%, while utility stocks often yield 3% to 5%. A yield above 8% may be unsustainable. Always check the payout ratio and free cash flow.

How do I format a cell to show a percentage in Google Sheets?

Select the cell, go to Format > Number > Percent. You can also click the percent symbol (%) in the toolbar. This multiplies the decimal by 100 and adds the symbol.

Final Tips for Accurate Yield Calculations

Always use the most recent annual dividend, not a projected one. If a company pays special dividends, exclude them unless they are recurring. For real-time data, refresh your sheet by reopening it or using GOOGLEFINANCE which updates periodically. For historical yields, use the "yield" attribute with a date: =GOOGLEFINANCE("AAPL", "yield", "01/01/2023", "12/31/2023", "DAILY") returns a table of daily yields—though this can be slow for large ranges. Keep your formulas simple and documented with comments (Insert > Comment) so others can understand your logic.

Related

Try it: the Date Difference Calculator: days, months, years and weekdays between two dates, with the DATEDIF formulas.

More in How-to basics

Sources: Function behaviour and menu paths: Microsoft Support documentation for Excel. Method & sources

Spotted an error in this guide? Let us know.