YIELDMAT Function in Google Sheets: Formula, Examples & Troubleshooting
Calculate Google Sheets YIELDMAT for interest paid at maturity, audit accrued interest and annualization, and compare quoted-price scenarios.
Verification status: See the evidence and test scope described in this guide. How formula examples are checked
Short answer
YIELDMAT calculates an annual yield from the price of a security whose interest is paid at maturity. It takes both issue and settlement dates because interest can accrue before the buyer’s settlement. In the ordinary 30/360 example below, a quote of 100 gives an independently expected annual yield of 5.911330049%.
Verification: NOT_TESTED_IN_GOOGLE_SHEETS. The example is an independent simple-interest valuation model, checked against Google’s displayed YIELDMAT example and its related PRICEMAT price control. Published displays are documentation evidence, not fresh native execution. No investment recommendation is intended.
Syntax and arguments
=YIELDMAT(settlement, maturity, issue, rate, price, [day_count_convention])
The date order is settlement, maturity, then issue. rate is the annual interest rate and price the purchase quote. Basis defaults to 0, US NASD 30/360; codes 1, 2, 3, and 4 are Actual/Actual, Actual/360, Actual/365, and European 30/360. Google recommends date values constructed or parsed as dates. There is no frequency argument in this signature. Google YIELDMAT reference.
This worked model uses a 100-face-value quote, consistent with the documented price example and the related price-at-maturity model. Keep that scale separate from a holding’s total face amount.
Example: buy after issue, receive interest at maturity
Enter:
| Cell | Meaning | Entry |
|---|---|---|
| B2 | Settlement | =DATE(2026,4,15) |
| B3 | Maturity | =DATE(2027,1,15) |
| B4 | Issue | =DATE(2026,1,15) |
| B5 | Annual interest rate | 6% |
| B6 | Quoted price | 100 |
| B7 | Day-count basis | 0 |
In B9 enter:
=YIELDMAT(B2,B3,B4,B5,B6,B7)
Expected decimal result: 0.059113300493, or 5.911330049%. These ordinary midmonth dates avoid a month-end adjustment dispute: issue to maturity is 360 convention days, issue to settlement 90, and settlement to maturity 270.
Audit the cash amounts and annualization
Under this independent model:
| Item per 100 face | Calculation | Amount |
|---|---|---|
| Total maturity interest | =100*6%*360/360 |
6 |
| Maturity receipt | =100+6 |
106 |
| Interest accrued before settlement | =100*6%*90/360 |
1.5 |
| Quote plus accrued interest | =100+1.5 |
101.5 |
| Holding-period gain | =106-101.5 |
4.5 |
The buyer’s modeled gain relative to the 101.5 outlay is =4.5/101.5. Annualizing over the remaining 270/360 year gives:
=(106/(100+1.5)-1)*360/270
This produces 0.059113300493. Dividing the maturity receipt by the bare quote would omit the pre-settlement accrual. Likewise, simply reporting the 6% interest rate would ignore the buyer’s particular price and holding interval.
The annualization here is simple, not a compound annual growth transformation. The compound expression (106/101.5)^(360/270)-1 answers a different mathematical question and is not substituted for the documented maturity-yield model.
Advanced application: price sensitivity and a reverse check
Keep the dates and rate fixed. Put 98, 100, and 102 in D2:D4. Use =YIELDMAT($B$2,$B$3,$B$4,$B$5,D2,$B$7) in E2 and fill through E4.
| Quote | Quote plus accrual | Independently expected annual yield |
|---|---|---|
| 98 | 99.5 | 8.710217755% |
| 100 | 101.5 | 5.911330049% |
| 102 | 103.5 | 3.220611916% |
In F2 enter =106/(1+E2*270/360)-1.5 and fill through F4. This rearranges the same independent model and should recover 98, 100, and 102. Keep unrounded yields for the reverse calculation.
A target yield of 5% gives an independent quote of =106/(1+5%*270/360)-1.5, or 100.668674699. Feeding that full-precision model quote back into the yield equation returns 5%. This is a useful consistency test, not evidence of fees or actual settlement execution.
Published evidence and display precision
Google’s YIELDMAT page gives issue January 1, 2008, settlement January 2, 2010, maturity December 31, 2010, rate 2%, price 90, and basis 2. Its printed formula displays 0.13. Independently counting 732 issue-to-settlement days, 1095 issue-to-maturity days, and 363 remaining days gives 0.126690524861, which rounds to that display. The source does not expose more native digits. Google YIELDMAT displayed example.
Google also documents PRICEMAT as the related price calculation. Its public basis-0 example, with issue January 1, 2011, settlement April 1, 2011, maturity March 31, 2015, rate 4.5%, and yield 2.5%, shows price 107.1704545. An independent price-plus-accrual reconstruction agrees with that display. This is supporting evidence for the model, not a new YIELDMAT runtime observation. Published PRICEMAT price control.
Troubleshooting and limits
Check the three date positions, the interest-rate percentage, the quote scale, and the day-count basis. A value displayed as 0.0591 needs percentage formatting to show 5.91%; do not scale it twice.
This guide does not establish exact invalid-input error codes, all month-end and cross-year basis rules, or negative-yield behavior. It is for the stated positive-rate maturity-interest model; periodic-coupon securities require a different cash-flow schedule.
Software, versions, and references
No matching behavior in another product is assumed. The reviewed Google sources do not establish introduction or retirement dates.
Related: DATE, DAYS360, and ROUND.
First-party references reviewed October 17, 2026: Google YIELDMAT help, Google PRICEMAT help, and the public price control above.