Skip to content
Greatest Calculators

T-Bill vs CD Calculator

Compare a Treasury bill with a CD after federal and state income tax. Treasury interest skips state and local tax, so see which leaves you more, and the CD rate you would need to match the bill. Defaults use Treasury's latest published bill rates, with the date shown.

The T-bill comes out ahead after tax by

$10.75

Over 26 weeks (182 days) on $10,000: $169.19 from the T-bill vs $158.43 from the CD, after tax

T-bill after tax
$169.19

3.42% a year

CD after tax
$158.43

3.20% a year

CD APY needed to match
4.70%

the after-tax break-even

Compare
$
%

Treasury’s 26-week investment rate on October 16, 2026. Type the rate you are offered.

%

The APY quoted for a CD of about the same length.

%

Your top bracket. Add 3.8% if the net investment income tax applies to you.

%

Your top state rate plus any city or county income tax. 0 if your state has none.

Rate type, itemizing and the rollover view
%

Leave blank to use the CD APY above.

Side by side over 26 weeks (182 days)

ItemT-billCD
Interest before tax$216.90$217.03
Federal income tax−$47.72−$47.75
State and local income taxExempt−$10.85
Interest after tax$169.19$158.43
After-tax yield (APY basis)3.42%3.20%

The T-bill pays no state or local income tax (31 U.S.C. 3124).

This T-bill in other terms

Price per $100 of face value
$97.8770
Face value that $10,000 buys
$10,216.90
Bank discount rate
4.199%
Investment rate (coupon equivalent)
4.350%
As an APY, to set beside a CD’s APY
4.40%

Roll bills for 1 year or lock one CD?

2 bills of 26 weeks in a row (364 days), after tax
$342.04
One CD for 364 days at 4.40% APY, after tax
$320.30
Rolling bills comes out ahead by
$21.74
Rolling wins if bill rates average above (investment rate)
4.08%

Treasury bill rates on October 16, 2026

TermDiscount rateInvestment rate
4 weeks3.95%4.02%
6 weeks3.96%4.03%
8 weeks4.02%4.10%
13 weeks4.08%4.18%
17 weeks4.14%4.26%
26 weeks4.20%4.35%
52 weeks4.24%4.44%

Source: U.S. Treasury, Daily Treasury Bill Rates (secondary-market quotes, about 3:30 PM ET). Read October 16, 2026.

What this calculator assumes
  • Both investments start with the same amount and run the same number of days; the CD’s interest stays in and compounds at its APY.
  • Bill prices and yields use Treasury’s formulas (31 CFR 356, Appendix B), with a 366-day year when the year after the issue date contains February 29.
  • You invest the exact amount; TreasuryDirect sells bills in $100 steps of face value, so a real purchase can differ by up to one step.
  • Tax uses the marginal rates you enter, paid when due (for a bill, the year it matures), so a rollover reinvests everything at the same rate.
  • Default bill rates are Treasury’s published quotes for October 16, 2026; an auction result or a broker’s price will differ a little.

How this is calculated

I teach data analysis and SQL on The Data Science Tutor.

Formulas, assumptions, and rounding are documented in our calculator methodology.

Built by Will Henschell, data scientist. Formula checked against Treasury's bill formulas (31 CFR 356), 31 U.S.C. 3124 and IRS Publication 550, verified . Editorial policy.

Disclaimer: An educational after-tax estimate, not tax or investment advice. It uses the marginal tax rates you enter and Treasury's published bill rates for the date shown; the price you pay at auction or through a broker, and your bank's CD terms, decide what you actually earn.

Discount Rate, Investment Rate and APY

Bills are quoted two ways. The bank discount rate gives the price: 100 × (1 − d × days ÷ 360). The investment rate is the return on that price over a year of y days, 365, or 366 when the year after the issue date contains February 29: (100 − price) ÷ price × y ÷ days for bills of 26 weeks or less, and a quadratic for the 52-week bill. These are Treasury's own formulas (31 CFR 356, Appendix B). To set a bill beside a CD, the calculator also restates the bill as an APY, (100 ÷ price)^(365 ÷ days) − 1, because a CD's APY already includes compounding.

Where the Default T-Bill Rates Come From

The default rate for each term is the coupon equivalent (investment rate) from Treasury's Daily Treasury Bill Rates: secondary-market quotes on the most recently auctioned bill of each term, collected by the Federal Reserve Bank of New York at about 3:30 PM each business day. The date of the snapshot is printed next to the result, with a link to Treasury's table. A rate at auction or from your broker will differ a little; type in the rate you are actually offered.

Rolling Bills Instead of Locking a CD

The rollover view buys bills back to back for the horizon you pick, reinvesting each bill's full proceeds at the same rate, and compares the result with one CD for the same number of days. Real rollovers face reinvestment risk: the next bill may pay more or less. That is why the view also gives the break-even average bill rate. Tax is assumed to be paid when it is due rather than withheld, so the full proceeds roll.

How This Is Calculated

How the Comparison Works

The calculator buys the T-bill and the CD with the same amount for the same number of days (a 26-week bill runs 182 days). T-bill interest is the gap between the price and the face value; CD interest comes from its APY over those days. Federal tax applies to both; state and local tax applies only to the CD. The answer is the after-tax dollars from each, and the CD APY that would leave you the same after tax as the bill. If you itemize and deduct state income tax on your federal return, tick the box: the CD's state tax then costs you only (1 − your federal rate) times that tax, because the deduction lowers your federal tax.

Formulas

Bill price per $100 = 100 ÷ (1 + i × d ÷ 365) (up to half a year; from a discount rate: 100 × (1 − rate × d ÷ 360))

T-bill interest = A × (100 ÷ price − 1); after tax × (1 − f)

CD interest = A × ((1 + APY)^(d ÷ 365) − 1); after tax × (1 − f − s)

Difference = T-bill after tax − CD after tax

  • A amount invested (dollars)
  • i bill investment rate (coupon equivalent) (decimal)
  • d days to maturity (182 for a 26-week bill) (days)
  • f, s federal and state income tax rates (decimal)

Assumptions and defaults

  • Bill prices and rates follow Treasury's formulas, with a 366-day year when the year after issue includes February 29. Source: 31 CFR 356, Appendix B, as of October 16, 2026.
  • Treasury bill interest is exempt from state and local income tax; CD interest is not. Source: 31 U.S.C. 3124; IRS Publication 550, as of October 16, 2026.
  • Default bill rates are Treasury's daily bill rates on the date shown on the page. Source: US Treasury, Daily Treasury Bill Rates, as of October 16, 2026.

Inputs it refuses or treats specially

  • Bill terms are Treasury's standard ones (4, 6, 8, 13, 17, 26 and 52 weeks); an amount of $0 or less is refused.
  • Itemizing state tax shrinks the bill's advantage by the federal rate.

Worked example

$10,000 for 26 weeks: a bill at a 4.35% investment rate earns $216.90 and keeps $169.19 after 22% federal tax; a 4.40% APY CD earns $217.03 and keeps $158.43 after 22% federal and 5% state tax. The bill comes out $10.75 ahead.

Checked by the test “matches the default oracle: same pre-tax yield, the T-bill wins after tax” in src/__tests__/rollout-batch-0009.test.ts.

Check it yourself

The calculation is the function calculateTBillVsCd(input: TBillVsCdInput): TBillVsCdResult | null in src/lib/calculators/tBillVsCd.ts. These lines reproduce the example and print 10.75.

Show the JavaScript and Python

JavaScript

const A = 10000, d = 182;
const price = 100 / (1 + 0.0435 * d / 365);
const bill = A * (100 / price - 1) * (1 - 0.22);
const cd = A * ((1 + 0.044) ** (d / 365) - 1) * (1 - 0.22 - 0.05);
console.log((bill - cd).toFixed(2));

Python

A, d = 10000, 182
price = 100 / (1 + 0.0435 * d / 365)
bill = A * (100 / price - 1) * (1 - 0.22)
cd = A * ((1 + 0.044) ** (d / 365) - 1) * (1 - 0.22 - 0.05)
print(f"{bill - cd:.2f}")

I teach data analysis and SQL on The Data Science Tutor.

Sources

Last verified October 16, 2026.

27 automated tests cover this calculator. How calculations are documented and checked.

Frequently Asked Questions

Are Treasury bills taxed by the state?

No. Interest on Treasury bills, notes and bonds is subject to federal income tax but exempt from state and local income taxes (31 U.S.C. 3124 and IRS Publication 550). CD interest is ordinary interest income, so it is taxed federally and by states that tax interest. That state tax is the whole reason a T-bill can beat a CD that pays the same rate.

Which is better, a T-bill or a CD?

Compare them after tax, on the same basis. For example, put $10,000 in a 26-week bill at a 4.35% investment rate or a CD at 4.40% APY, with a 22% federal and 5% state tax rate: the two pay almost the same before tax, but the bill keeps about $10.75 more after tax, and the CD would need about 4.70% APY to match. If your state has no income tax, the edge disappears and the higher yield wins. Beyond the numbers: CDs at an FDIC-insured bank are insured up to $250,000 per depositor, per bank, per ownership category, and cost a penalty to leave early; a bill can be sold before it matures at its market price, which can be above or below what you paid.

What is the difference between a T-bill's discount rate and its investment rate?

The discount rate is the bill's discount as a share of its face value, on a 360-day year: price = 100 × (1 − discount rate × days ÷ 360). The investment rate (also called the coupon equivalent or bond-equivalent yield) is the same discount as a share of the price you pay, on a 365-day year (366 when the year after the bill's issue date contains February 29), so it is always higher. A 26-week bill quoted at a 4.20% discount rate has a 4.35% investment rate. Compare the investment rate, not the discount rate, with other yields.

Can I compare a T-bill's investment rate with a CD's APY directly?

Almost, but not quite. The investment rate is a simple annual rate; an APY includes compounding. A 26-week bill at a 4.35% investment rate works out to about 4.40% as an APY if you could roll it at the same rate, so a 4.40% APY CD is roughly a tie before tax. The calculator converts the bill to an APY for you.

When do I pay tax on T-bill interest?

The interest is the difference between the price you paid and the face value, and you generally report it when the bill is paid at maturity (IRS Publication 550). It appears on Form 1099-INT in box 3. A bill bought in one year that matures in the next is reported in the year it matures.

Should I roll short T-bills or lock in a longer CD?

Rolling short bills keeps the money flexible, but each new bill is bought at whatever rate Treasury pays then. The rollover view shows the break-even: the average bill rate your rollovers must get for rolling to tie the CD after tax. If you think bill rates will stay above that number, rolling wins; if they could fall below it, the CD locks in a known return.