YIELD function
Returns the annual yield to maturity of a coupon-paying bond from its price.
Available in Excel 2007 and later (earlier versions needed the Analysis ToolPak add-in), Excel for the web
Excel 2007 and laterWorks in Google Sheets
Syntax
YIELD(settlement, maturity, rate, pr, redemption, frequency, [basis])| Argument | What it means | |
|---|---|---|
settlement | Required | The date you buy the security (after its issue date). |
maturity | Required | The date the security matures and is repaid. |
rate | Required | Annual coupon rate. |
pr | Required | Clean price per 100 of face value. |
redemption | Required | Redemption value per 100 face value, usually 100. |
frequency | Required | Coupon payments per year: 1 = annual, 2 = semi-annual, 4 = quarterly. |
basis | Optional | Day-count basis: 0 or omitted = US 30/360, 1 = actual/actual, 2 = actual/360, 3 = actual/365, 4 = European 30/360. |
Returns: The annual yield (format as %).
How YIELD works
YIELD is the reverse of PRICE: given the price you pay, it finds the yield to maturity — the single annual rate that makes the present value of all remaining coupons and the redemption equal to the price. It is the standard figure used to compare bonds with different coupons and maturities.
With more than one coupon left there is no direct formula, so Excel iterates (Newton's method) until the price at that yield matches the price you entered. When only one coupon period remains it uses a simple closed formula. The yield is quoted on the bond's own compounding basis — for a semi-annual bond it is twice the six-monthly rate.
Examples
1Yield of a corporate bond bought below par
| A | B | |
|---|---|---|
| 1 | Settlement | 2026-12-02 |
| 2 | Maturity | 2031-06-15 |
| 3 | Coupon rate | 4.50% |
| 4 | Price | 97.25 |
| 5 | Redemption | 100 |
| 6 | Frequency | 2 |
| 7 | Basis | 0 |
| 8 | ||
| 9 | 5.188% |
Result: 5.188%
Buying at 97.25 gives a yield of 5.188% — the 4.5% coupon plus the gain from 97.25 rising to 100 at maturity (cell formatted as % with 3 decimals).
2Bond bought above par
| A | B | |
|---|---|---|
| 1 | Settlement | 2026-12-02 |
| 2 | Maturity | 2036-03-01 |
| 3 | Coupon rate | 3.00% |
| 4 | Price | 101.5 |
| 5 | Redemption | 100 |
| 6 | Frequency | 1 |
| 7 | Basis | 1 |
| 8 | ||
| 9 | 2.813% |
Result: 2.813%
Paying 101.5 for a 3% coupon means losing 1.5 at maturity, so the yield is below the coupon (% with 3 decimals).
Common errors and how to fix them
| Error | Why it happens | Fix |
|---|---|---|
#NUM! | settlement is on or after maturity, frequency is not 1, 2 or 4, or basis is outside 0–4. | Check the dates and the frequency/basis codes. |
#VALUE! | A date argument is not a valid date. | Use real date cells or DATE; dates are truncated to whole days. |
#NUM! (inputs) | pr ≤ 0, redemption ≤ 0 or rate < 0. | Check the price and rates. |
Tips
- The price must be the clean price (without accrued interest).
- Check a result by feeding it back into PRICE; it should return your original price.
- Enter dates with DATE or as date cells, not as text such as "12/02/2026", which different regional settings read differently.
Google Sheets
YIELD also exists in Google Sheets and works the same way for everyday use, so the examples above work there too.
YIELD in other languages
In a non-English version of Excel the function has a local name. Excel translates formulas automatically when a file is opened in another language.
| Language | Function name |
|---|---|
| Danish | AFKAST |
| Dutch | RENDEMENT |
| Finnish | TUOTTO |
| French | RENDEMENT.TITRE |
| German | RENDITE |
| Hungarian | HOZAM |
| Italian | REND |
| Norwegian (Bokmål) | AVKAST |
| Polish | RENTOWNOŚĆ |
| Portuguese (Brazil) | LUCRO |
| Portuguese (Portugal) | LUCRO |
| Russian | ДОХОД |
| Spanish | RENDTO |
| Swedish | NOMAVK |
| Turkish | ÖDEME |