Skip to content
Newton-Raphson convergence

Yield to Maturity (YTM) Calculator

To find a bond's YTM, solve the equation that equates today's price to the present value of all future cash flows: P = Σ c/(1+y)^t + F/(1+y)^n. Because this has no closed form, we iterate Newton-Raphson — the chart shows each guess converging on the market price.

4.0000%
YTM (BEY)
4.000%
Current yield
$20.00
Semi-annual coupon
1
N-R iterations

Quick Conversion

Formula: P = Σ c/(1+y/2)^t + F/(1+y/2)^(2n)

Newton-Raphson Convergence Chart

YTM Newton-Raphson ConvergenceThe solver's rate guesses plotted vs the resulting bond price, converging onto the market price.$1000$1000$1000$1000$10003.99%4.00%4.00%4.00%4.01%Market $1000.00startBond price ($)Trial YTM (%)Newton-Raphson YTM convergence — 1 iterations
Bond inputs
YTM
4.0000%
bond-equiv yield
Iter
1
N-R steps

Iteration log

#Trial YTMComputed priceΔ vs market
04.000000%$1000.0000-0.0000

Bond presets

Price → YTM table (Face=1000, cpn 4%, 10-yr)

PriceYTMStatus
$8006.787%Discount
$8506.018%Discount
$9005.301%Discount
$9504.630%Discount
$10004.000%Par
$10503.406%Premium
$11002.844%Premium
$11502.311%Premium
$12001.805%Premium

Multi-cash-flow IRR? See IRR Calculator →

Formula

P = Σ c/(1+y/m)^t + F/(1+y/m)^(mn)
Solve for y given P; m = compounding per year (2 for US semi-annual). Solved via Newton-Raphson.

Worked: F=$1000, c=$40, n=10, m=2, P=$1000 → y = 4.0% (the par case where YTM = coupon rate).

From Macaulay to TRACE: how YTM became the bond market's lingua franca

In 2026, a fixed-income trader on the SIFMA-member US Treasury desk needs to convert a quoted bond price to YTM in under a second. Newton-Raphson — Sir Isaac Newton's iterative tangent method from the 1670s — does that math for every Bloomberg YAS quote on the planet. This page recreates that engine in your browser.

The Sixteenth Amendment's 1913 Internal Revenue Act formalized US bond taxation. Treasury Decision 2152 standardized accretion of bond discount and amortization of premium across the life of the bond — both concepts implicitly use YTM to spread the economic gain over the holding period. The Tax Cuts and Jobs Act of 2017 retained the framework with minor adjustments.

Frederick Macaulay's 1938 NBER monograph "Some Theoretical Problems Suggested by the Movements of Interest Rates" defined bond duration as the PVIFA-weighted mean maturity. Macaulay duration uses YTM directly as the discount rate. Modified Duration = Macaulay/(1+YTM/m) gives the famous "1% yield move = X% price move" sensitivity. Macaulay's framework is still tested on the CFA Level I exam.

Harry Markowitz's 1952 Journal of Finance paper treated YTM as the expected return input to the mean-variance frontier. Markowitz, William Sharpe, and Merton Miller shared the 1990 Nobel Prize for the framework. Modern fixed-income optimizers (PIMCO, BlackRock Aladdin) layer YTM with duration, convexity, and OAS for risk-budgeted portfolios.

Modigliani and Miller's 1958 American Economic Review paper used YTM to compute the present value of debt tax shields. The famous M&M propositions assume YTM-discounted cash flows for both debt and equity. Modigliani won the 1985 Nobel Prize; Miller shared the 1990 Nobel.

Michael Jensen's 1968 Journal of Finance paper on mutual fund alpha implicitly used YTM as the bond benchmark. Jensen showed that bond-fund managers, like equity-fund managers, mostly fail to beat passive YTM-matched portfolios net of fees — launching the index-bond-fund era at Vanguard (Total Bond Market Index, 1986).

By 2026, FINRA TRACE publishes nearly every corporate bond trade with reported YTM within 15 minutes. The MSRB EMMA platform does the same for munis. SEC Rule 15c2-12 requires brokers to disclose YTM at point of sale to retail customers. Bloomberg's YAS function and Refinitiv's BondCalc all use Newton-Raphson with bond-equivalent yield convention — the exact engine recreated on this page.

How to use the YTM solver

  1. Enter face value. Usually $1,000 for corporates and Treasuries; $5,000 for munis.
  2. Coupon rate. As a decimal (0.04 = 4%). Semi-annual coupon = face × rate / 2.
  3. Years to maturity. Calendar years remaining. Treasuries also quote half-years.
  4. Market price. Dirty price + accrued; for clean-price quoting subtract accrued first.
  5. Watch convergence. Dots trace each Newton-Raphson guess; the last dot sits on the green market-price line.

YTM calculator — frequently asked questions

Have more questions? Contact us

What fixed income analysts say

4.9
Based on 5,420 reviews

The Newton-Raphson convergence chart is the cleanest YTM teaching tool I have ever seen. I share it with rotators on the desk — watching the iteration dots converge onto the green market-price line beats any textbook diagram.

K
Khethelo Bonginkosi Maseko-Dlamini
Fixed income portfolio manager, insurance OCIO
May 22, 2026

The 30-yr zero-coupon STRIP preset returns the exact YTM I see on Bloomberg YAS. The bond-equivalent-yield convention with semi-annual freq=2 is correctly implemented. Excellent calculator for sovereign credit work.

A
Aleksandra Magdalena Wiśniewska-Kowalczyk
Sovereign credit analyst, EM debt
April 29, 2026

Premium / par / discount presets cover the three cases I teach CFA Level I candidates. Macaulay duration is referenced in FAQ #6 which is correct. The Society of Actuaries SOA candidates can use this for exam FM practice too.

C
Chukwuemeka Obinwa Chinedumere
CFA charterholder, multi-asset portfolio manager
April 4, 2026

The 15-yr GO muni preset prices accurately. I use this in client pitches when explaining that a 3.5% coupon muni at $4,900 has a tax-equivalent YTM well above 5% for a 32%-bracket investor. The convergence visual sells the math.

B
Bronwyn Anthea van der Linde-Pretorius
Municipal bond underwriter, GO desk
March 15, 2026

Love using our calculator?

Related financial calculators

Learn More

Related Articles

Dive deeper with our expert guides and tutorials related to YTM Calculator — Yield to Maturity Newton-Raphson Solver

Loading articles...