Compare after-tax earnings on a Treasury bill and a savings account, since bill interest is exempt from state tax.
Model and assumptions. Bill interest is the amount times the yield times the term in years, taxed at the federal rate only, because interest on Treasury securities is exempt from state and local income tax. Savings interest compounds at the APY over the term and is taxed at the federal and state rates added together. The matching APY is the savings APY that leaves both after-tax earnings equal over this term. The model treats the bill yield as simple interest, and it ignores the bill's discount pricing, fees and the timing of the tax payment.