How do I calculate the Yield to Maturity on a T bill?

The yield for a T bill uses the bond equivalent yield (or 'investment yield') which is based on the settlement date of the trade, and generally uses an Actual/365 day count. Note that the day count can sometimes vary.

Yield = (par value - price) / price * 365 / days until maturity

i.e. a T bill trading at 98.50 with 120 days remaining from the trade's settlement date to the maturity date = (100 - 98.50) / 98.50 * 365 / 120 = 4.63%

Powered by IBot
What is the difference between a U.S. Treasury Bill and a U.S. Treasury Note and a U.S. Treasury Bond?
How is the market value of assets transferred in computed for IBKR share grants?
How do I calculate the Yield to Maturity on a bond?
How do I find the day count convention for a Bond?