Tabellab

Tax-Equivalent Yield: Which Bond Pays More After Tax?

Lesson 1 of 20Lab

All lessons

You are not signed in — the lab works, but your progress is not saved. Sign up

Lesson 1 of 20 is free. Unlock all 20 hands-on labs, the final exam and your certificate.

Buy course — CHF 9.90
Loading the spreadsheet…

The headline yield is not what you keep

Bond offer sheets are sorted by yield, and the eye goes straight to the biggest number. On Jordan Hale's shortlist that is Orrinfield Foods, a corporate bond at 5.45%. Further down sits the Stonebridge Transit revenue bond, a municipal bond at 3.50%. On paper the corporate pays almost two percentage points more. But Jordan pays income tax on the corporate interest and, in the simplified model of this course, none on the in-state muni. Once tax is taken into account, the order of the list can change completely. The tool that settles the question is the tax-equivalent yield, and this free lesson shows you how to calculate it for a whole list of bonds in Excel.

This lesson is for individual investors who compare munis with corporate bonds or CDs, for financial-planning and wealth-management assistants who prepare bond comparisons for clients, for students preparing for finance and investment exams that test the TEY formula, and for anyone who has heard that munis are good for high earners and wants to see exactly when and why. You need basic Excel skills, nothing more.

Jordan Hale, every issuer, rating and yield in this lesson are fictional, and the tax rates are illustrative, not taken from any tax table. The numbers are the same ones you see in the lab spreadsheet above. Tax rules for municipal bonds have many details and exceptions that depend on the bond and on the investor. This is educational material, not investment or tax advice.

The core concept: what would a taxable bond need to pay?

Municipal bonds are issued by states, cities, counties, school districts and public authorities such as transit, water or toll-road agencies. Their interest is usually exempt from federal income tax. Many states also exempt interest on bonds issued within the state, while taxing interest on bonds from other states. That is the simplified rule used here: an in-state muni saves federal and state tax, an out-of-state muni saves federal tax only, a corporate bond saves nothing.

To compare a tax-free yield with a taxable one, you ask: what yield would a fully taxable bond need to pay to leave the same income after tax? If a taxable bond yields Y and the investor's tax rate is t, the investor keeps Y × (1 − t). Setting that equal to the muni yield and solving for Y gives the formula:

Tax-equivalent yield = muni yield ÷ (1 − tax rate saved)

A 3.20% muni for an investor at a 32% rate is worth 3.20% ÷ 0.68 = 4.71% taxable. The higher the tax rate, the smaller the denominator and the higher the TEY. That is why munis tend to be most attractive to investors in high brackets, and why the same bond can be a bargain for one investor and a poor choice for another.

Three details make the formula work correctly:

  • Use the marginal rate, not the average rate. The marginal rate is the tax on the next dollar of income, which is what extra bond interest is taxed at. The average rate (total tax ÷ total income) is lower and would understate the muni's advantage.
  • Combine federal and state only where both apply. In the lab the combined rate is a simple sum, 32% + 5% = 37%. In practice the interaction between state and federal taxes can make the effective combined rate a little lower, so the simple sum is an approximation.
  • A corporate bond's TEY is its quoted yield. With no tax saved, the denominator is 1, so the corporate yields can be compared directly with the muni TEYs.

Worked example: Jordan's 18-bond shortlist

Jordan's illustrative federal marginal rate is 32% (cell B3) and the state rate 5% (B4), so the combined rate is 37% (B5). The table shows each bond with the tax rate it saves (column G) and its tax-equivalent yield (column H). Bonds in bold beat the best corporate yield of 5.45%.

RowBondTypeState taxRatingQuoted yieldTax rate saved (G)Tax-equiv. yield (H)
9Ashford County GOMuniIn-stateAA3.20%37%5.08%
10Kestrel IndustriesCorporateTaxableA4.60%0%4.60%
11Millbrook School District GOMuniIn-stateAA2.95%37%4.68%
12Harlow Water Authority RevMuniOut-of-stateA3.55%32%5.22%
13Quillmont UtilitiesCorporateTaxableA4.85%0%4.85%
14Port of Calder RevMuniOut-of-stateA3.60%32%5.29%
15Stonebridge Transit RevMuniIn-stateA3.50%37%5.56%
16Tessaro TelecomCorporateTaxableBBB5.30%0%5.30%
17Lindenfield City GOMuniIn-stateAAA2.60%37%4.13%
18Carrow County Hospital RevMuniOut-of-stateA3.40%32%5.00%
19Orrinfield FoodsCorporateTaxableBBB5.45%0%5.45%
20Wexford Unified School GOMuniOut-of-stateAA2.80%32%4.12%
21Elmsworth Toll Road RevMuniOut-of-stateBBB3.70%32%5.44%
22Vellacorp LogisticsCorporateTaxableBBB5.20%0%5.20%
23Grayhaven Housing RevMuniIn-stateAA3.45%37%5.48%
24Redcliff Parks District GOMuniIn-stateAA2.90%37%4.60%
25Halbrook RetailCorporateTaxableA4.40%0%4.40%
26Fenmoor State GOMuniOut-of-stateAAA2.55%32%3.75%

Only two bonds clear the bar. Stonebridge Transit Rev at 3.50% becomes 3.50% ÷ 0.63 = 5.56%, and Grayhaven Housing Rev at 3.45% becomes 5.48%. Both are in-state munis, so they save the full 37%. Orrinfield's 5.45% comes third. Elmsworth Toll Road Rev has the highest quoted muni yield on the list, 3.70%, but because it is out-of-state it saves only the federal 32%: 3.70% ÷ 0.68 = 5.44%, just short of Orrinfield. The AAA-rated Fenmoor State GO ends last at 3.75% taxable-equivalent.

These are the formulas from the lab:

CellFormulaResult
B5=B3+B437.00%
B6=MAXIFS(F9:F26,B9:B26,"Corporate")5.45%
G9=IF(B9="Corporate",0,IF(C9="In-state",$B$5,$B$3))37% (copy down to G26)
H9=F9/(1-G9)5.08% (copy down to H26)
H15=F15/(1-G15)5.56%, Stonebridge
Best bond (optional)=INDEX(A9:A26,MATCH(MAX(H9:H26),H9:H26,0))Stonebridge Transit Rev

Quoted yield vs tax-equivalent yield (32% federal + 5% state)0%1%2%3%4%5%6%Stonebridge Transit Rev5.56%Grayhaven Housing Rev5.48%Orrinfield Foods5.45%Elmsworth Toll Road Rev5.44%Tessaro Telecom5.30%Port of Calder Rev5.29%Harlow Water Authority Rev5.22%Vellacorp Logistics5.20%Ashford County GO5.08%Carrow County Hospital Rev5.00%Quillmont Utilities4.85%Millbrook School District GO4.68%Redcliff Parks District GO4.60%Kestrel Industries4.60%Halbrook Retail4.40%Lindenfield City GO4.13%Wexford Unified School GO4.12%Fenmoor State GO3.75%best corporate 5.45%Corporate TEYIn-state muni TEYOut-of-state muni TEYMuni quoted yield
Figure 1: The 18 bonds ranked by tax-equivalent yield. The small peach bars inside the muni bars show the quoted yield before tax. Only the two in-state munis at the top pass the best corporate line.

Notice how the ranking reshuffles. Sorted by quoted yield, the six corporates fill the top of the list and Stonebridge sits only in the middle. Sorted by TEY, Stonebridge rises to the top and Kestrel Industries and Halbrook Retail sink below several munis. Nothing about the bonds changed, only the lens.

TEY depends on the investor, not just the bond

The same calculation gives a different answer for a different person. If Jordan lived in a state with no income tax, Stonebridge would save only the federal 32% and its TEY would fall to 3.50% ÷ 0.68 = 5.15%, below Orrinfield's 5.45%. The break-even state rate, where both bonds pay the same after tax, comes from solving 3.50% ÷ (1 − 0.32 − s) = 5.45%: s ≈ 3.8%. Above that, the muni wins for Jordan.

Does the 3.50% in-state muni beat the 5.45% corporate?Federal rate fixed at 32%, state rate varies5.0%5.2%5.4%5.6%5.8%6.0%0%1%2%3%4%5%6%7%8%State income tax rateOrrinfield Foods 5.45% (taxable)Stonebridge TEY 5.15% at 0%Jordan at 5%: 5.56%muni wins above about 3.8%
Figure 2: Stonebridge's tax-equivalent yield rises with the state tax rate. At Jordan's 5% it beats Orrinfield, below about 3.8% the corporate bond would win.

This is also why a muni fund marketed nationally can look less attractive to an investor in a high-tax state than a single-state fund, and why the second lesson of this course is devoted entirely to the break-even tax bracket.

Step by step: build the TEY comparison in Excel

  1. Enter the tax rates. Type 32% in B3 and 5% in B4. In B5 type =B3+B4 for the combined rate.
  2. Lay out the bonds. Bond name in column A, type (Muni or Corporate) in B, state tax status (In-state, Out-of-state or Taxable) in C, rating in D, maturity in E and quoted yield in F, rows 9 to 26. Use exactly the same spelling for the categories, because the formulas compare text.
  3. Find the best corporate yield. In B6 type =MAXIFS(F9:F26,B9:B26,"Corporate"). In older Excel versions without MAXIFS, use =MAX(IF(B9:B26="Corporate",F9:F26)) confirmed with Ctrl+Shift+Enter.
  4. Assign the tax rate saved. In G9 type =IF(B9="Corporate",0,IF(C9="In-state",$B$5,$B$3)). Press F4 on the references to B5 and B3 to lock them, then double-click the fill handle to copy down to G26.
  5. Calculate the TEY. In H9 type =F9/(1-G9) and copy down. Format G9:H26 as percentages with Ctrl+Shift+5 and two decimals.
  6. Highlight the winners. Select H9:H26, open Home › Conditional Formatting › New Rule › Use a formula to determine which cells to format, enter =H9>$B$6 and choose a light green fill.
  7. Chart the ranking. Select A8:A26, hold Ctrl and select H8:H26, then Insert › Charts › Bar. To show the largest at the top, sort the data descending by column H first (Data › Sort) or, in the chart, set the vertical axis to Categories in reverse order.
  8. Name the winner. Read the top bar, or let Excel find it: =INDEX(A9:A26,MATCH(MAX(H9:H26),H9:H26,0)), or in Microsoft 365 =XLOOKUP(MAX(H9:H26),H9:H26,A9:A26).
Make the tax rates inputs, not constants. When Jordan's income or state of residence changes, you change B3 or B4 and the whole ranking, the highlights and the chart update in one go.

Municipal bonds course: tax-equivalent yield, credit and call risk in Excel
The course builds Jordan's muni analysis step by step, from tax-equivalent yield to call risk, credit and after-tax comparisons.

Common mistakes and how to spot them

  • Multiplying instead of dividing. 3.50% × 0.63 = 2.21% is what a taxable 3.50% bond leaves after tax, not the TEY. If a muni's TEY comes out lower than its quoted yield, the formula is upside down.
  • Giving out-of-state munis the state saving. In this model, Jordan's state still taxes interest from other states' bonds. Port of Calder at 3.60% is worth 5.29%, not 5.71%. Check that column G shows only 0%, 32% and 37%.
  • Using the average tax rate. An average rate understates the benefit of tax-exempt interest. The question is always what tax the next dollar of interest would bear.
  • Forgetting the dollar signs. Without $B$5, copying G9 down shifts the reference to B6, B7 and beyond, and the tax rates turn into yields or blanks. Spot it by clicking a lower cell and reading its formula.
  • Typos in category labels. "In state" without the hyphen or "Corporate " with a trailing space fails the text test and falls through to the wrong branch. Use Data › Data Validation › List to force consistent labels.
  • Treating TEY as the whole story. TEY compares taxes only. A BBB toll-road bond and a AAA state GO are not equally safe, and a callable bond may be repaid early. Credit and call risk are covered later in this course.
  • Ignoring special tax situations. Some munis, such as certain private activity bonds, can be subject to the alternative minimum tax, and some states tax all muni interest. Check the bond's documents and get tax advice for real decisions.

Quick reference: Excel functions and shortcuts

Function or shortcutUse in this lesson
IF(test, value_if_true, value_if_false)Picks the tax rate saved per bond. Nest two IFs for three cases
IFS(test1, value1, test2, value2, ...)Flat alternative to nested IFs in Excel 2019 and Microsoft 365
MAXIFS(max_range, criteria_range, criteria)Highest quoted yield among the corporate bonds
INDEX + MATCH or XLOOKUPReturns the name of the bond with the highest TEY
SORTBY(array, by_array, -1)Microsoft 365: a live list of bonds ranked by TEY
Home › Conditional Formatting › New Rule › Use a formulaHighlight TEYs above the best corporate with =H9>$B$6
Insert › Charts › BarRank the bonds by TEY
F4 (Cmd+T on Mac)Lock $B$3 and $B$5 before copying down
Ctrl+Shift+5, then Increase DecimalShow yields as percentages with two decimals
Ctrl+Shift+LTurn on filters to sort the list by column H

Real-world uses

  • Comparing a muni with a CD or a corporate bond. Investors and advisers convert the muni yield into a TEY before deciding where to place cash or bond allocations.
  • Choosing between in-state and national muni funds. The same TEY logic shows whether a single-state fund's state tax exemption compensates for its usually narrower diversification.
  • Client proposals in wealth management. Advisers prepare tables like Jordan's for each client's tax rates, because the ranking changes with income and residence.
  • Exam preparation. The TEY formula appears in many finance and investment curricula, often with a twist such as state taxes or the break-even bracket.
  • Year-end portfolio reviews. When an investor's income or state of residence changes, recalculating TEYs shows whether existing munis still make sense.

What you will build in the rest of this course

This first lesson is free. The remaining 19 lessons are part of the paid course (9.90 dollars, one-time), each with an auto-checked spreadsheet that builds on Jordan's case.

Break-Even Tax Bracket: When Does the Muni Win? You solve for the exact tax rate at which a muni and a taxable bond pay the same, build a TEY table for a ladder of marginal rates and find the lowest rate where the muni comes out ahead, the general version of Figure 2.

Yield to Maturity & Yield to Call with RATE. Quoted yields assume a lot. You price a callable premium muni two ways with Excel's RATE function, held to maturity and called at the first call date, and see how far apart the two can be.

Yield to Worst: the Lowest Yield over the Call Schedule. You compute the yield for every call date and for maturity, take the minimum and find which scenario sets it, the number many professionals look at first.

GO vs Revenue Bonds: Debt Service Coverage from Pledged Revenues. You analyse a water authority's net revenues and debt service coverage over five years, test its rate covenant and compare it with a city's general obligation debt burden.

Credit Spreads vs Ratings: Spread to the AAA Curve. You measure each muni's spread over a AAA benchmark curve in basis points, average spreads by rating, flag unusually wide ones and price a new A-rated issue.

Premium & Discount Munis: the De Minimis Rule (Simplified). You calculate each bond's de minimis floor price, classify bonds as premium, de minimis discount or market discount, and estimate the tax that can be due when a discount bond repays at par, a detail that surprises many muni buyers.

Muni vs Corporate vs Treasury after Tax (Chart). You apply federal and state tax flags to four bonds, compute after-tax yields and income, pick the winner and chart pre-tax against after-tax yields side by side.

Summary

A muni's quoted yield cannot be compared directly with a taxable yield. Divide it by one minus the tax rate it saves: the combined federal and state rate for an in-state muni, the federal rate only for an out-of-state muni, zero for a corporate bond. On Jordan's list that turns a 3.50% muni into a 5.56% tax-equivalent yield, enough to beat a 5.45% corporate bond. The result depends on the investor's marginal tax rates, and it compares taxes only, not credit or call risk.

Now try it yourself in the lab above: add the combined rate, fill the tax rate saved and the TEY for all 18 bonds, find the best corporate yield, highlight the winners, chart the ranking and name the bond that pays Jordan the most after tax.

Frequently asked questions

What is the tax-equivalent yield formula?

Tax-equivalent yield = tax-free yield / (1 - tax rate saved). For a 3.50% muni and a 37% combined tax rate, that is 3.50% / 0.63 = 5.56%, the yield a taxable bond would need to match it after tax.

How do you calculate tax-equivalent yield in Excel?

Put the muni yield in one cell and the tax rate in another, then divide: =F9/(1-G9). To pick the right rate per bond automatically, use IF, for example =IF(B9="Corporate",0,IF(C9="In-state",$B$5,$B$3)).

Should I use my marginal or my average tax rate?

Use the marginal rate, the rate on your next dollar of income, because that is the rate extra taxable interest would be taxed at. The average rate understates the value of tax-exempt interest.

Are municipal bonds exempt from state income tax?

Often only bonds issued in your own state are exempt from that state's income tax, and bonds from other states are taxed. Rules vary by state and some bonds have special treatment, so check the specific bond and your state's rules.

When does a muni beat a corporate bond?

When its tax-equivalent yield is higher than the corporate bond's yield. That depends on your tax rates: a higher marginal rate raises the muni's TEY, and the break-even rate is where both yields are equal after tax.

Does a higher tax-equivalent yield mean a better bond?

Not by itself. TEY only adjusts for taxes. You still need to compare credit quality, call features, maturity and liquidity before choosing a bond.

Keep going: Municipal Bonds: Tax-Equivalent Yield, Credit & Call Risk

This free lab is lesson 1 of 20. Unlock the other 19 hands-on labs, the final exam and your certificate for a one-time CHF 9.90.

  1. Break-Even Tax Bracket: When Does the Muni Win?
  2. Yield to Maturity & Yield to Call with RATE
  3. Yield to Worst: the Lowest Yield over the Call Schedule
  4. GO vs Revenue Bonds: Debt Service Coverage from Pledged Revenues
  5. Credit Spreads vs Ratings: Spread to the AAA Curve
  6. Premium & Discount Munis: the De Minimis Rule (Simplified)
  7. Muni vs Corporate vs Treasury after Tax (Chart)
  8. Dollar Price from a Quoted Yield: Priced to Call or to Maturity
  9. Accrued Interest & the Settlement Amount: 30/360 Trade Tickets
  10. Negative Convexity: the Price–Yield Curve of a Callable Muni
  11. Rate Shock: What +1% Does to Jordan's Muni Holdings
  12. Muni Funds: In-State Share, Taxable Income and the Fund's TEY
  13. Stress-Testing a Revenue Bond: Coverage Scenarios and the Revenue Cushion
  14. Screening GO Issuers: Debt per Capita, Debt to Assessed Value and Fund Balance
  15. Project: Jordan's Muni Portfolio Dashboard
  16. Effective Duration & Convexity: Estimating Price Moves without Repricing
  17. Expected Credit Loss: Risk-Adjusted TEY by Rating
  18. Tax-Loss Swap: Selling an Underwater Muni and Buying a Replacement
  19. Final Project: Priya's Muni Income Calendar & Risk Dashboard

Buy course — CHF 9.90 See the full course