MS Excel: TBILLYIELD function for yield of a treasury bill
- Fakhriddinbek

- May 1
- 2 min read
U.S. Treasury Bills (T-bills) are among the safest and most liquid short-term investments. Since they’re sold at a discount and mature at face value, investors don’t receive interest payments—they profit from the difference between the purchase price and redemption value.
To understand the return on investment, Excel provides the TBILLYIELD function, which helps calculate the annualized yield of a T-bill based on its price.

The TBILLYIELD function calculates the yield for a Treasury bill (T-bill), given its settlement date, maturity date, and price per $100 face value.
This function is especially useful for investors and analysts seeking to determine the actual return of a T-bill they’ve purchased at a discount.
Syntax
=TBILLYIELD(settlement, maturity, pr)
Argument Description:
Output: The annualized yield (on a 360-day basis) as a decimal (e.g., 0.024 for 2.4%).
Example: Calculating T-Bill Yield
Scenario: You purchase a T-bill for $98.50 on April 1, 2025, and it matures on September 30, 2025. What is the yield?
=TBILLYIELD(DATE(2025,4,1), DATE(2025,9,30), 98.5)
Result: 0.03051 or 3.051%
This means your annualized return is 3.051%, based on a 360-day year.
When to Use TBILLYIELD
How It Works Behind the Scenes
Formula used by TBILLYIELD:
Yield = ((100 - pr) / pr) × (360 / DSM)
Where:
pr = price per $100 face value
DSM = days between settlement and maturity
In our example:
Price = 98.5
DSM = 182 days
Yield = ((100 - 98.5) / 98.5) × (360 / 182) ≈ 3.051%
Related Functions
Use TBILLYIELD when you know the purchase price and want to calculate the effective annual yield.
Tips and Common Pitfalls
Best Practice: Wrap your function in TEXT() for presentation:
=TEXT(TBILLYIELD(DATE(2025,4,1), DATE(2025,9,30), 98.5), "0.00%")
Summary Table
Final Thoughts
The TBILLYIELD function is essential for investors, traders, and analysts who deal with short-term U.S. Treasury securities. It provides a quick, standardized way to assess the profitability of a T-bill investment.
Whether you’re comparing short-term yields, planning cash investments, or pricing T-bills in real time, TBILLYIELD delivers precision with ease.



Comments