How to calculate yield-to-maturity YTM bond

Calculate yield-to-maturity YTM bond return Newton-Raphson. P = sum C/(1+y)^t + F/(1+y)^n. USA Treasury 10y T-Note 4.2%, German Bund, UK Gilts, Italian BTP. Premium discount par bond classification investment grade rating Standard Poors Moody Fitch.

Calculation parameters
Was this calculator useful?

How to calculate the yield-to-maturity (YTM) of a bond: total annualized return an investor earns holding the bond to maturity, including periodic coupons and price-face value differential. Fundamental pricing equation: P = sum_{t=1}^{n} C/(1+y)^t + F/(1+y)^n where P bond market price, C periodic coupon, F face value, y yield-to-maturity per period, n total number periods to maturity. No closed-form solution for y, requires iterative Newton-Raphson or bisection method. Three relevant yields: YTM total return (interest + capital gain assuming reinvestment); current yield = annual coupon / price coupon yield only; capital gain yield = (F - P)/P/n annualized. Bond classification: premium bond P > F (coupon > YTM); par bond P = F (coupon = YTM); discount bond P < F (coupon < YTM). History: Frederick Macaulay (USA 1882-1970) Columbia University NYC + NBER National Bureau Economic Research Cambridge MA 1938 monograph 'Some Theoretical Problems Suggested by the Movements of Interest Rates, Bond Yields and Stock Prices in the United States since 1856' introduction Macaulay duration + YTM systematic study modern bond pricing 660 pages classic text. Lawrence Fisher + Roman Weil 1971 paper introduced immunization concept.

Essential tool for: fixed income investments USA US Treasury bonds T-Bills 4-26w discount, T-Notes 2-10y semi-annual coupons, T-Bonds 30y semi-annual; TIPS Treasury Inflation-Protected Securities CPI-U indexed monthly; municipal bonds tax-exempt federal; corporate bonds investment grade BBB+ + high yield BB-CCC.

USA Treasury Washington DC 1789 founded Department Treasury Bureau Fiscal Service issuance; Federal Reserve System Washington DC 1913 founded 12 regional banks New York NYC primary dealer market open market operations FOMC Federal Open Market Committee 8 meetings/year fed funds rate; SEC Securities Exchange Commission Washington DC 1934 founded 4500 employees market regulator; FINRA Financial Industry Regulatory Authority Washington DC 2007 securities self-regulatory; NYSE New York Stock Exchange NYC 1792 founded 4000 stocks listed; NASDAQ NYC 1971 founded 3500 listings tech-heavy; CBOT Chicago Board Trade 1848 futures; CME Group Chicago 2007 derivatives.

USA bond rating agencies: Standard & Poor's NYC 1860 oldest founded Henry Varnum Poor; Moody's NYC 1909 founded John Moody; Fitch NYC 1914 founded John Fitch.

USA banks: JPMorgan Chase NYC 2000 fusion 300000 employees largest US bank; Bank of America Charlotte NC 1998 fusion 200000 employees; Wells Fargo San Francisco CA 1852 240000 employees; Citigroup NYC 1998 240000 employees; Goldman Sachs NYC 1869 47000 investment banking; Morgan Stanley NYC 1935 80000 investment banking.

USA universities finance: Wharton UPenn Philadelphia 1881 first business school world; Harvard Business School Boston MA 1908 top MBA; Stanford GSB Palo Alto CA 1925; MIT Sloan Cambridge MA 1914; Chicago Booth IL 1898; Columbia Business NYC 1916; NYU Stern New York 1900; Yale SOM New Haven CT 1976; Northwestern Kellogg Evanston IL 1908; Duke Fuqua 1969.

USA finance Nobel: Harry Markowitz (USA 1927-2023) UC San Diego CUNY Nobel Economics 1990 modern portfolio theory MPT 1952; Merton Miller (USA 1923-2000) Chicago Nobel Economics 1990 capital structure; William Sharpe (USA 1934-) Stanford Nobel Economics 1990 CAPM Capital Asset Pricing Model 1964; Robert Merton (USA 1944-) Harvard Nobel Economics 1997 Black-Scholes-Merton option pricing; Myron Scholes (USA 1941-) Stanford Nobel Economics 1997.

USA Treasury debt 2024: $35 trillion gross 100% GDP; debt ceiling Congress periodic crisis 2011 2013 2023; 10y T-Note YTM 4.2-4.5%; 30y T-Bond 4.5-4.8%; 2y T-Note 4.5-5.0%; inverted yield curve 2022-2024 recession indicator.

Yield-to-maturity formula

Fundamental pricing: P = sum_{t=1}^{n} C/(1+y)^t + F/(1+y)^n. P clean market price ex-coupon; C periodic coupon = F * (annual coupon rate) / freq where freq frequency (1=annual, 2=semi-annual standard US Treasury, 4=quarterly); F face value (typically $1000 US Treasury, $100 Italian BTP); y YTM per period (annualized = y * freq); n total periods = years * freq.

Newton-Raphson iteration: nonlinear in y, no closed-form. Newton: y_new = y - (P_calc(y) - P_market) / dP/dy. Typical convergence 5-10 iterations from initial guess = coupon rate (par bond). Bisection method robust alternative linear convergence guaranteed. Excel YIELD function; Python scipy.optimize.brentq; R bond-pricer.

Three relevant yields: YTM total return assuming reinvestment coupons at YTM (assumption); current yield = annual coupon / price (only coupon); capital gain yield = (F - P)/P/n annualized. Par bond: YTM = coupon rate = current yield. Premium bond (P>F): coupon > YTM > current. Discount bond (P<F): coupon < YTM, positive capital gain at maturity.

Market conventions: clean price (no accrued interest) standard quoted; dirty price = clean + accrued = P_clean + C * (days from last coupon)/(period days). Day count: 30/360 corporate; actual/actual treasury; actual/360 money market. US Treasury actual/actual standard; corporate 30/360 ISDA.

YTM vs IRR: YTM equivalent IRR for bond cash flows (coupons + face value). Same interpretation: rate making NPV = 0 at market price. IRR general for any cash flow stream; YTM specific bond standard coupon. Multiple solutions IRR for non-monotonic cash flows.

History and context

Frederick Robertson Macaulay (USA 1882-1970) Montreal Canada born, McGill University Montreal undergraduate economics, Columbia University NYC PhD 1924 economic statistics, National Bureau Economic Research NBER Cambridge MA founding researcher 1920 Wesley Mitchell business cycle economics. Macaulay 1938 monograph 'Some Theoretical Problems Suggested by the Movements of Interest Rates, Bond Yields and Stock Prices in the United States since 1856' NBER 660 pages classic text introduction Macaulay duration weighted average time cash flows + bond pricing analysis. Lawrence Fisher (USA 1899-1981) + Roman Weil 1971 paper Journal of Business 'Coping with the Risk of Interest-Rate Fluctuations' immunization concept.

USA bond market history: NYSE New York Stock Exchange NYC 1792 founded Buttonwood Agreement 24 brokers stock exchange Wall Street; Treasury Department Washington DC 1789 founded Alexander Hamilton first secretary; Federal Reserve System Washington DC 1913 founded Owen-Glass Act after 1907 panic 12 regional banks: New York Boston Philadelphia Cleveland Richmond Atlanta Chicago St Louis Minneapolis Kansas City Dallas San Francisco; FOMC Federal Open Market Committee 12 voters 7 governors + 5 regional presidents alternating; SEC Securities Exchange Commission Washington DC 1934 founded post-1929 crash Congress; FINRA Financial Industry Regulatory Authority Washington DC 2007 fusion NASD + NYSE Member Regulation; CFTC Commodity Futures Trading Commission Washington DC 1974 derivatives; FDIC Federal Deposit Insurance Corporation Washington DC 1933 banking insurance.

USA bond rating agencies: Standard & Poor's NYC 1860 oldest founded Henry Varnum Poor 'History of Railroads and Canals'; Moody's NYC 1909 founded John Moody 'Moody's Manual'; Fitch NYC 1914 founded John Fitch 'Fitch Bond Book'. Big Three credit ratings AAA-CCC sovereign + corporate ratings investment grade BBB-/Baa3 minimum.

USA finance Nobel laureates: Harry Markowitz (USA 1927-2023) UC San Diego CUNY Nobel Economics 1990 modern portfolio theory MPT 1952 Journal of Finance 'Portfolio Selection' efficient frontier mean-variance optimization; Merton Miller (USA 1923-2000) Chicago Booth Nobel Economics 1990 capital structure Modigliani-Miller theorem 1958 'Cost of Capital, Corporation Finance and the Theory of Investment'; William Sharpe (USA 1934-) Stanford GSB Nobel Economics 1990 CAPM 1964 Journal of Finance 'Capital Asset Prices'; Robert Merton (USA 1944-) Harvard MIT Nobel Economics 1997 Black-Scholes-Merton 1973 stochastic calculus continuous-time finance; Myron Scholes (USA 1941-) Stanford GSB Chicago Nobel Economics 1997 LTCM Long-Term Capital Management 1998 collapse; Fischer Black (USA 1938-1995) MIT Goldman Sachs died before Nobel 1997 (Nobel posthumous not awarded); Eugene Fama (USA 1939-) Chicago Nobel Economics 2013 efficient market hypothesis EMH; Robert Shiller (USA 1946-) Yale Nobel Economics 2013 housing market index; Lars Peter Hansen (USA 1952-) Chicago Nobel Economics 2013 GMM Generalized Method Moments. USA universities finance: Wharton UPenn Philadelphia 1881 founded Joseph Wharton steel magnate first business school world; Harvard Business School Boston MA 1908 founded MBA case method;

Stanford GSB Palo Alto CA 1925; MIT Sloan Cambridge MA 1914 Alfred Sloan; Chicago Booth IL 1898 University Chicago; Columbia Business NYC 1916; NYU Stern New York 1900; Yale SOM New Haven CT 1976; Northwestern Kellogg Evanston IL 1908; Duke Fuqua Durham NC 1969; UCLA Anderson Los Angeles CA 1935; UC Berkeley Haas 1898 oldest public business school. USA banks: JPMorgan Chase NYC 2000 fusion JP Morgan + Chase Manhattan 300000 employees largest US bank; Bank of America Charlotte NC 1998 fusion BankAmerica + NationsBank 200000 employees; Wells Fargo San Francisco CA 1852 founded gold rush 240000 employees; Citigroup NYC 1998 fusion Citicorp + Travelers 240000 employees; Goldman Sachs NYC 1869 founded Marcus Goldman 47000 employees investment bank; Morgan Stanley NYC 1935 founded Henry Morgan + Harold Stanley split JP Morgan 80000 investment banking. USA Treasury debt: $35 trillion gross debt 2024 = 100% GDP; debt ceiling Congressional periodic crisis 2011 2013 2023; primary dealer system 24 banks (US Treasury auction); 10y T-Note YTM 4.2-4.5% 2024; 30y T-Bond 4.5-4.8%; 2y T-Note 4.5-5.0% (inverted yield curve 2022-2024 recession indicator). Software bond pricing: Bloomberg Terminal NYC 1981 Michael Bloomberg founder $1.8 trillion data terminal market 325000 subscribers; Refinitiv Eikon (formerly Reuters) London + Toronto LSEG 2021; Capital IQ Standard&Poor's NYC 1860; FactSet Norwalk CT 1978; Excel YIELD function; Python scipy.optimize.brentq + QuantLib quantitative finance;

R bond-pricer; MATLAB Financial Toolbox MathWorks Natick MA.

Bond pricing applications: portfolio diversification 60/40 stocks/bonds; pension funds asset-liability matching; insurance reserves; central bank monetary policy quantitative easing QE Fed Treasury purchases; yield curve forecasting recession; spread analysis Treasury-corporate credit risk default probability.

YTM values table

  • YTM formula: P = sum C/(1+y)^t + F/(1+y)^n
  • Current yield: annual coupon / price
  • Capital gain yield: (F - P) / P / n
  • Premium bond: P > F coupon > YTM
  • Par bond: P = F coupon = YTM
  • Discount bond: P < F coupon < YTM
  • Zero-coupon: C=0, YTM = (F/P)^(1/n) - 1
  • USA Treasury 10y T-Note YTM: 4.2-4.5% 2024
  • USA Treasury 30y T-Bond YTM: 4.5-4.8% 2024
  • USA Treasury 2y T-Note YTM: 4.5-5.0% 2024 inverted
  • USA Treasury 5y T-Note YTM: 4.0-4.3% 2024
  • USA TIPS 10y real yield: 1.8-2.0% 2024
  • USA Municipal AAA 10y yield: 2.5-3.0% tax-exempt
  • USA Corporate AAA 10y: 4.5-5.0%
  • USA Corporate BBB 10y: 5.5-6.5%
  • USA High yield BB 10y: 7-9%
  • USA Junk bond CCC 10y: 10-15%
  • German Bund 10y YTM: 2.4-2.7% 2024 risk-free EU
  • UK Gilts 10y YTM: 4.0-4.3% 2024
  • Italian BTP 10y YTM: 3.7-4.0% 2024
  • Spread BTP-Bund 10y: 130-180 bps 2024
  • Spread Treasury-corporate AAA: 50-100 bps
  • Spread Treasury-junk: 400-800 bps
  • Macaulay duration formula: D = sum t*C_t*(1+y)^-t / P
  • Modified duration: MD = D / (1 + y/freq)
  • USA debt 2024: $35 trillion gross 100% GDP
  • USA debt ceiling crises: 2011 2013 2023 Congressional
  • USA Treasury Washington DC 1789: Alexander Hamilton
  • USA Federal Reserve 1913: 12 regional banks
  • USA SEC Washington DC 1934: 4500 employees
  • USA NYSE NYC 1792: 4000 stocks
  • USA Nasdaq NYC 1971: 3500 tech-heavy
  • USA S&P NYC 1860: oldest rating agency
  • USA Moody's NYC 1909: rating agency
  • USA Fitch NYC 1914: rating agency
  • Macaulay 1938 NBER monograph: 660 pages

Numerical examples

Example 1 - Italian BTP 10y at par. BTP coupon 3.5% semi-annual, F=1000 EUR, n=10y, P=1000 EUR (par). C=17.5 EUR/period. n=20 periods. YTM iterative: y=0.0175 per period, YTM annual = 3.5% (par bond coupon=YTM). Current yield = 3.5%. Capital gain = 0. Italian MEF Tesoro Roma 1948 monthly auction; Banca d'Italia Roma 1893 settlement.

Example 2 - USA Treasury 10y T-Note premium. UST 10y T-Note coupon 4.5%, F=1000 USD, n=10y, P=1050 USD premium. C=22.5 USD/period. n=20 periods. YTM iterative: y=0.0193 per period, YTM annual = 3.86% (< coupon 4.5% premium). Current yield = 4.29%. Capital gain = -0.48%/y. USA: US Treasury Washington DC 1789; Federal Reserve System Washington DC 1913; primary dealers 24 banks.

Example 3 - Discount corporate bond. Corporate BBB-rated coupon 3%, F=1000 USD, n=5y, P=950 USD discount. C=15 USD/period. n=10 periods. YTM iterative: y=0.02085 per period, YTM annual = 4.17%. Capital gain = 1.05%/y. Total return YTM > coupon (3%) due to discount. USA rating: Standard&Poor's NYC 1860; Moody's NYC 1909; Fitch NYC 1914 Big Three.

Example 4 - Zero-coupon Treasury bill. T-Bill discount strip zero-coupon F=1000 USD, n=5y, P=800 USD (no coupons). YTM = (1000/800)^(1/5) - 1 = 0.0457 = 4.57% annual. No coupon reinvestment risk. USA T-Bills 4-26w discount auction Tuesday Wednesday; T-Bonds 30y semi-annual; STRIPS Separate Trading Registered Interest Principal Securities zero-coupon.

Example 5 - High yield bond risk. Junk B-rated coupon 7%, F=1000 USD, n=7y, P=900 USD. C=35 USD/period. n=14 periods. YTM iterative: y=0.04332 per period, YTM annual = 8.66%. Capital gain = 1.59%/y. High yield premium credit risk default probability ~2-5%/y rating B. USA: high yield Moody's B index; default rate corporate 1-2%/y; Federal Reserve System monetary policy data.

Limitations

  1. Reinvestment assumption: YTM assumes coupon reinvestment at YTM, rare in practice (rates change), realized yield differs.
  2. No default risk: YTM nominal yield on scheduled cash flows, no consideration default probability. Adjusted yield = YTM - expected loss.
  3. Call/put options: callable bonds (issuer right early redemption) adjusted via YTC yield-to-call; putable bonds.
  4. Tax considerations: YTM gross, after-tax yield = YTM * (1 - tax rate). USA federal 22-37% corporate; municipal tax-exempt federal.
  5. Multiple solutions: Newton-Raphson local, not global. Bisection robust if monotonic.
  6. Clean vs dirty price: clean standard quoted; dirty = clean + accrued interest at settlement.
  7. Day count convention: 30/360 corporate; actual/actual US Treasury; actual/360 money market.
  8. Yield curve flat assumption: YTM applies single yield all cash flows, ignores term structure. Spot rates curve realistic.
  9. Inflation linkage: real yield TIPS US Treasury Inflation-Protected Securities CPI-U indexed monthly.
  10. Liquidity premium: illiquid bonds (corporate small issuance) yield premium 50-200 bps; OTC pricing off-the-run vs on-the-run treasuries.

Common errors

Confusing YTM and coupon rate: coupon rate fixed (% face value), YTM total return at maturity. Equal only par bond (P=F). Premium bond YTMcoupon.

Payment frequency: US Treasury semi-annual freq=2; corporate USA usually semi-annual; UK Gilts semi-annual; zero-coupon freq=1. YTM annual = YTM_period * freq (simple); YTM effective = (1+y_period)^freq - 1 (compounded).

Day count convention: 30/360 (12 months 30 days = 360 days/year corporate); actual/actual US Treasury; actual/360 money market. Common error confusing conventions especially accrued interest.

YTM vs IRR: YTM specific bond IRR. Same interpretation (rate NPV=0). Complex cash flows (callable bonds) IRR may have multiple solutions.

Nominal vs real rates: YTM nominal includes inflation; YTM real = YTM nominal - expected inflation. USA TIPS provide real yield + inflation kicker.

Practical applications

  1. Fixed income investments: 60/40 portfolio classic; bond ladder strategy; barbell short + long maturity.
  2. Asset-liability matching: pension funds (annuity payments) bond duration matching immunization Fisher-Weil 1971.
  3. USA Treasury market: T-Bills 4-26w discount; T-Notes 2-10y semi-annual; T-Bonds 30y; TIPS CPI-U indexed; STRIPS zero-coupon. US Treasury Washington DC 1789.
  4. Corporate bonds: investment grade BBB+ + high yield BB-CCC. Standard&Poor's Moody's Fitch ratings; primary dealers 24 banks.
  5. Yield curve analysis: term structure expectations + liquidity preference + market segmentation. Bloomberg Terminal NYC 1981.
  6. Duration immunization: Macaulay duration + modified duration price sensitivity. Bank balance sheet immunization.
  7. Bond pricing: NPV cash flows actualized at yield curve. Federal Reserve System Washington DC 1913 monetary policy QE.
  8. Credit risk analysis: yield spread vs Treasury default + liquidity. USA spread junk-Treasury 400-800 bps.
  9. Convertible bonds: hybrid debt + equity Black-Scholes. USA: Tesla Apple Microsoft convertibles.
  10. Mortgage-backed securities MBS: pool mortgages prepayment option. Fannie Mae Freddie Mac Ginnie Mae.

Updated July 2026

Frequently Asked Questions

What is yield-to-maturity YTM?

YTM total annualized return investor earns holding bond to maturity. Pricing equation: P = sum C/(1+y)^t + F/(1+y)^n where P price, C periodic coupon, F face value, y YTM, n periods. Iterative Newton-Raphson resolution (no closed-form). Includes coupons + capital gain at maturity. Different from current yield (only coupon). Frederick Macaulay 1938 NBER monograph 660 pages. USA: Treasury 10y T-Note YTM 4.2-4.5% 2024; 30y T-Bond 4.5-4.8%; 2y inverted 4.5-5.0%; debt $35 trillion 100% GDP. US Treasury Washington DC 1789; Federal Reserve 1913.

How to calculate bond YTM?

Procedure: (1) gather P price, F face, coupon rate, n years, freq payments; (2) periodic coupon = F * coupon_rate / freq; (3) Newton-Raphson y_new = y - (P_calc(y) - P_market) / dP/dy; (4) 5-10 iterations convergence; (5) annualize YTM = y_period * freq. Software: Excel YIELD function; Python scipy.optimize.brentq; Bloomberg Terminal NYC 1981 $1.8 trillion data 325000 subscribers; QuantLib open source. USA: Federal Reserve Washington DC 1913 monetary policy; Treasury auctions primary dealers 24 banks.

Premium discount par bond difference?

Three classes by P vs F: par bond P = F coupon=YTM, capital gain=0; premium bond P > F coupon>YTM, capital loss at maturity, current yield>YTM; discount bond P < F couponcoupon. Examples: BTP 10y at par 1000 EUR; UST 10y premium 1050 USD coupon 4.5%; corporate BBB discount 950 USD coupon 3%. USA: Standard&Poor's NYC 1860; Moody's NYC 1909; Fitch NYC 1914 ratings; SEC Washington DC 1934.

Who introduced YTM and duration?

Frederick Robertson Macaulay (USA 1882-1970) Montreal Canada Columbia University NYC + NBER National Bureau Economic Research Cambridge MA 1938 monograph 660 pages 'Some Theoretical Problems Suggested by the Movements of Interest Rates, Bond Yields and Stock Prices in the United States since 1856' introduction Macaulay duration + YTM systematic study modern bond pricing. Lawrence Fisher + Roman Weil 1971 immunization. USA finance Nobel: Markowitz 1990 MPT; Sharpe 1990 CAPM; Merton + Scholes 1997 Black-Scholes; Fama 2013 EMH; Shiller 2013 housing.

What does current yield mean?

Current yield = annual coupon / market price coupon-only return (no capital gain at maturity). Different from YTM total return: par bond YTM=current yield; premium bond current yield>YTM>coupon rate; discount bond current yield<YTM<coupon rate. Example: USA UST coupon $45 price $1050 = 4.29% current yield; price drops $950 = 4.74%. USA: NYSE NYC 1792 Buttonwood Agreement; Nasdaq NYC 1971; CBOT Chicago 1848 futures; CME Group Chicago 2007 derivatives; FINRA Washington DC 2007.

Main USA Treasury bonds?

USA Treasury securities: T-Bills 4-26 weeks discount zero-coupon weekly Tuesday Wednesday auction; T-Notes 2-10 years semi-annual coupons (10y benchmark); T-Bonds 30 years semi-annual coupons; TIPS Treasury Inflation-Protected Securities 5-30y CPI-U indexed monthly; STRIPS Separate Trading Registered Interest Principal Securities zero-coupon strip; FRNs Floating Rate Notes 2y 13w T-Bill linked. USA debt $35 trillion 2024 = 100% GDP; primary dealers 24 banks NYC Federal Reserve Bank of New York.

YTM vs IRR difference?

YTM yield-to-maturity: bond-specific IRR scheduled cash flows (coupons + face value). Same interpretation: rate NPV cash flows = 0 at market price. IRR Internal Rate of Return: general for any cash flow stream investment project capital budgeting. YTM applied standard coupon bonds; IRR applied any project. Complex cash flows (callable bonds, project non-monotonic) IRR may have multiple solutions. USA: Wharton UPenn Philadelphia 1881 first business school; Harvard Business School Boston MA 1908; Stanford GSB 1925; Chicago Booth 1898.

Comments (0)

No comments yet. Be the first!