Smart Systems for Home

Plain how-to guides for smart home, security and home Wi-Fi

Google Sheets Yield: How to Calculate It

· 7 min read · Home Tech

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

To obtain yield in Google Sheets, you calculate it with a formula that divides the income or return by the investment or principal, then format the result as a percentage. For a simple yield, type =B2/A2 (where B2 is the income and A2 is the amount invested) and press Enter. For annualized yield on a bond or similar security, use =YIELD(settlement, maturity, rate, price, redemption, frequency, basis). The exact approach depends on what kind of yield you need, so the steps below cover both the simple percentage method and the built-in YIELD function.

This guide works in the browser version of Google Sheets and in the Google Sheets mobile app. Menu labels can differ slightly by version, device or region, so if a label you see is worded a little differently, look for the closest match.

What You'll Need

  • A Google account and access to Google Sheets (sheets.google.com or the Sheets app).
  • Your figures: the income or interest amount, and the price or principal you are measuring against.
  • For the YIELD function: settlement date, maturity date, annual coupon rate, price per $100 face value, redemption value per $100 face value, coupon frequency, and day-count basis.
  • Dates entered as real dates (for example 1/15/2025), not text, so the function can read them.

Step-by-Step

  1. Open Google Sheets and create a blank spreadsheet, or open an existing one. In row 1, add clear headers so you know which column is which. For a simple yield, put Income in A1 and Investment in B1. For the YIELD function, put the argument names across row 1 in the order listed in the What You'll Need section.
  2. Enter your data in row 2 under each header. For simple yield, type the income amount in A2 and the amount invested in B2. For example, if an investment pays $50 per year and cost $1,000, A2 is 50 and B2 is 1000.
  3. Click an empty cell where you want the result, such as C2, and type the formula =A2/B2. Press Enter. In the example, the result is 0.05.
  4. Format the result as a percentage. Select the cell, then use the toolbar's percent format button (it looks like a % sign). Alternatively, go to Format > Number > Percent. The cell now shows 5.00%. You can adjust decimal places with the increase and decrease decimal buttons next to the percent button.
  5. To annualize a yield that covers a shorter period, multiply by the number of periods in a year. For a monthly income, use =(A2/B2)*12. For a quarterly figure, multiply by 4. This gives a rough annualized yield and assumes the income repeats at the same rate.
  6. For a bond-style yield, set up the YIELD function. In separate cells, enter the settlement date, maturity date, annual coupon rate as a decimal (for example 0.05 for 5%), price per $100 face value, redemption per $100 face value (usually 100), frequency (1 for annual, 2 for semiannual, 4 for quarterly), and basis (0 for US 30/360, 1 for actual/actual, and so on).
  7. In an empty cell, type =YIELD( and then click each cell in order, separated by commas, or type the values directly. Close the parenthesis and press Enter. For example: =YIELD(B2,C2,D2,E2,F2,G2,H2). The result is the yield to maturity as a decimal; format it as a percentage using the same percent button.
  8. Check that your dates are real dates. If the YIELD formula returns an error, select the date cells and confirm they are right-aligned by default (Google Sheets right-aligns real dates). If they are left-aligned, they are stored as text. Re-enter them in a recognized date format such as 1/15/2025.
  9. Label the result cell so the sheet is readable. Type something like Yield in the cell to the left of the formula result.
  10. Save your work. Google Sheets saves automatically, but you can confirm by checking the save status at the top of the window.

Common Mistakes

  • Mixing percentages and decimals. The YIELD function expects the coupon rate as a decimal (0.05), not as 5. If you type 5, the result will be wildly wrong. The simple yield formula also returns a decimal that you then format as a percentage.
  • Entering dates as text. Typing a date like "Jan 15 2025" in a cell that is formatted as plain text will cause errors. Use a date format Google Sheets recognizes, or set the cell format to Date first via Format > Number > Date.
  • Forgetting the frequency and basis arguments. YIELD requires all seven arguments. Leaving out frequency or basis returns an error. If you are unsure of the basis, 0 (US 30/360) is a common default for US bonds, but check what convention your instrument uses.
  • Dividing by zero or an empty cell. If the investment or price cell is blank or zero, the formula returns a #DIV/0! error. Fill in every input cell before relying on the result.
  • Using the wrong price basis. The YIELD function's price argument is per $100 of face value, not the total price you paid. If you paid $950 for a $1,000 bond, enter 95, not 950.

Tips

  • Use cell references instead of typing numbers directly into formulas. That way you can change an input and the yield updates automatically.
  • Name your ranges or use a separate inputs block at the top of the sheet so the formula stays readable.
  • For a quick check, the simple yield (income divided by price) is a good approximation for current yield, while the YIELD function gives yield to maturity, which accounts for the difference between price and redemption value over time.
  • Format the result cell as a percentage with two decimal places for consistency across a table of yields.
  • If you are comparing several investments, set up one row per investment and copy the formula down the column. Relative references adjust automatically.

Troubleshooting

  • #NUM! error from YIELD: This usually means the settlement date is on or after the maturity date, or the price or redemption is zero or negative. Check that settlement is before maturity and that all numeric inputs are positive.
  • #VALUE! error: One of the arguments is text where a number or date is expected. Confirm that dates are real dates and that the coupon rate and price cells contain numbers, not text with symbols.
  • Result looks like 0.05 instead of 5%: The cell is formatted as a number, not a percentage. Select it and click the percent format button, or use Format > Number > Percent.
  • Formula shows as text: If the formula appears in the cell instead of its result, the cell may be formatted as plain text. Select the cell, go to Format > Number > Automatic, then re-enter the formula.
  • Dates not calculating: If YIELD returns an error and you suspect dates, test with =ISNUMBER(B2) in an empty cell. If it returns FALSE, the date is stored as text. Re-enter it as a date.

Frequently Asked Questions

What is the difference between yield and return?

Yield measures the income an investment produces relative to its price, usually expressed as an annual percentage. Return includes both income and any change in the investment's value, so it can be higher or lower than yield.

Can I calculate yield for a stock in Google Sheets?

Yes. For a dividend yield, divide the annual dividend per share by the current share price and format as a percentage. You can enter the dividend and price manually, or use the GOOGLEFINANCE function for the price if you know the correct ticker symbol and exchange prefix.

Why does the YIELD function ask for a frequency?

Frequency tells the function how many coupon payments are made per year: 1 for annual, 2 for semiannual, 4 for quarterly. It affects the compounding used in the yield calculation.

Do I need to use the YIELD function for a savings account?

No. For a savings account or similar simple interest product, divide the annual interest by the balance and format as a percentage. The YIELD function is designed for securities with coupon payments and a maturity date.

Can I use Google Sheets on my phone for this?

Yes. The formulas work the same in the Google Sheets mobile app. To format a cell as a percentage, select the cell and use the format options in the app's toolbar; the exact location varies by platform.

What basis should I use in YIELD?

Basis is the day-count convention. 0 is US 30/360, 1 is actual/actual, 2 is actual/360, 3 is actual/365, and 4 is European 30/360. Use the convention that matches your instrument; if you are unsure, check the security's documentation or ask the issuer.