Yield to maturity calculator

Find the constant yield that discounts a bond’s future coupons and principal to its price.

Privacy: runs in your browser

This tool processes your input in this browser. Inputs and results are excluded from analytics. Draft saving is optional and stays on this device; delete saved text with the draft controls. Loading text from a URL is optional and contacts that server; its URL and your IP address are visible to the server. When a button sends your result to another tool, it waits in this tab until that tool opens it, for up to a minute, and is then deleted.

Copy link includes the inputs you choose to share in the address. Anyone with that link can reopen them. Files and generated results are excluded. Password and key tools share settings only.

More options

Answer

…

More results
Compare with other numbers

Save the current answer, then change an input to compare. This clears when you leave.

Rounding and decimal places

Rounding changes how numbers are shown, not how they are calculated.

Automatic precision rounds answers for reading: up to six significant digits, with whole numbers kept in full. Thousands separators such as 1,000 are accepted; use a dot for decimals.

More
Quick calculator

Use +, −, ×, ÷, parentheses and %. This doesn’t change the tool above.

Keyboard shortcuts

Sharing and starting over

A copied link includes what you entered and your settings, so anyone with it can see them. Leave private text out. Files and results are not included; random draws are made again.

Start over puts the tool back to its starting values and closes any open file or device. Drafts you saved stay on this device until you delete them.

How it works

A numerical root solves price = Σ coupon/(1 + periodic yield)^t + face/(1 + periodic yield)^n. Price is on a coupon date; no accrued interest, irregular periods, call/default behavior or market quotation convention. Fixed assumptions only: no taxes, fees, changing returns, guarantees or product eligibility. Amounts share one currency.

Next: Bond price calculator

Worked example

A $1,000 bond paying a 5% annual coupon in 2 payments a year, priced at $950 with 10 coupon periods left, has a nominal yield to maturity of 6.18% a year (6.27% effective annual).

How the nominal annual yield changes with current price on coupon date

Other inputs keep their starting values: Face value: 1,000; Annual coupon (%): 5; Remaining coupon periods: 10; Coupons per year: 2. Examples only, not recommendations.

Current price on coupon dateNominal annual yield (%)
47523.32876
9506.177625
1,900-8.895983
Cite this page

ToolOctopus. “Yield to maturity calculator.” Updated . https://tooloctopus.com/yield-to-maturity-calculator.

Add an access date if your instructions require one.

Citation formatting uses citeproc-js by Frank Bennett and Citation Style Language styles. License and source code.

Find a tool

Type a task, a unit pair, a sum or a time zone. ↓ to choose, Enter to open.