Yield to Maturity (YTM) Calculator for Bonds
Yield to maturity shows the total annual return you receive if you buy a bond at its current market price and hold it until maturity. The measure combines two different things into one number — the coupon payments over the years, and the difference between the price you pay today and the face value you receive at the end. That is precisely why YTM is the standard for comparing bonds with different prices, coupons and terms.
Formula and explanation
P = Σ C/(1+y)t + F/(1+y)n
where: P = current market price of the bond, C = coupon payment per period, F = face value, n = number of periods to maturity, y = YTM per period. Calculated iteratively.
YTM shows the total annual return an investor would receive by buying a bond at its current market price and holding it to maturity. The indicator accounts for both the coupon payments and the difference between the purchase price and the face value. YTM is the standard by which bonds with different prices, coupons and maturities are compared.
Methodology
What the calculator does and when to use it
A bond is a loan packaged as a security. The issuer — a government, municipality or company — receives money today and promises to pay a periodic coupon and return the face value at maturity. The coupon is fixed in the prospectus and never changes. The market price, however, moves daily with interest rate levels and perceived risk. Yield to maturity is the rate that ties today's price to all future payments: it is the discount rate at which the present value of the coupons plus the present value of the principal equals exactly the price you pay.
Use the calculator when choosing between several bonds, when judging whether the current price of an issue is attractive against a deposit of similar term, or when you want to know what you genuinely earn on a bond bought below or above par. YTM is also comparable to other forms of return — a term deposit rate, the rental yield on a property, the expected return of a fund.
The formula and what each variable means
The condition is this: the price of the bond equals the sum of the discounted coupon payments plus the discounted face value.
- P — the current market price, meaning the amount you pay today.
- F — the face value you receive at maturity. Typically 100 or 1,000 units.
- C — the coupon payment for one period, calculated as face value times the annual coupon rate, divided by the number of payments per year.
- n — the total number of periods to maturity: years multiplied by coupon payments per year.
- y — the yield for one period. Multiplied by the number of periods in a year, it gives the annual YTM.
The equation cannot be solved directly and is found by iteration. The logic is convenient because price and yield move in opposite directions: if the price computed at a trial rate exceeds the actual market price, the yield must be higher, and vice versa. The calculator also shows a quick approximation from the simplified formula — average annual income divided by the average amount invested — which gives a bearing in seconds but does not replace the exact solution.
A worked example
A bond with a face value of €1,000 and an annual coupon of 4% trades at €950. Five years remain to maturity, the coupon is paid once a year at €40, and in year five you also receive the principal.
| Year | Payment | Discount factor at 5.16% | Present value |
|---|---|---|---|
| 1 | €40 | 0.9509 | €38.04 |
| 2 | €40 | 0.9043 | €36.17 |
| 3 | €40 | 0.8599 | €34.40 |
| 4 | €40 | 0.8177 | €32.71 |
| 5 | €1,040 | 0.7776 | €808.69 |
| Total | €950.00 |
The present value of all coupons is €172.42 and that of the principal is €777.58. Together they come to exactly €950.00, the market price. Adding the rounded rows in the table gives €950.01 because of cent-level rounding.
The iteration arrives there as follows. At a trial rate of 4% the computed price is €1,000.00 — above the actual €950, so the yield must exceed the coupon. At 5% the price falls to €956.71, still above market. At 5.2% it reaches €948.33, now below. The answer lies between 5.1% and 5.2%, and refinement gives 5.16% per year. The quick approximation returns 5.13%, a gap of three hundredths, which is typical accuracy for that shortcut.
Why the yield exceeds the coupon: you pay €950 and receive €1,000 at maturity. That €50 discount is additional profit spread over five years, added on top of the coupon income. Had the bond traded above par, the effect would reverse and the YTM would fall below 4%.
Practical guidance
Do not confuse YTM with current yield. Current yield is simply the coupon divided by the price — €40 / €950 = 4.21% in our example. It shows only the cash flow relative to the amount invested and entirely misses the gain or loss against face value. YTM captures both, which makes it the fuller measure.
Remember that YTM is a promised return, not a guaranteed one. Realising it in full requires three conditions: the issuer pays reliably through to maturity, you hold the bond to the end, and the coupons you receive are reinvested at the same rate. The first depends on credit quality, the second on your own liquidity, the third on the market.
For Bulgarian investors the tax angle has two sides. Gains on the disposal of financial instruments traded on a regulated market in the EU or EEA are exempt for individuals, which matters if you sell the bond before maturity at a price gain. Coupon income, however, is treated separately from capital gains — check the current rates for the specific issue before comparing net yields against an alternative. Personal income tax in Bulgaria is a flat 10%.
Check the currency as well. A bond in another currency can carry an attractive YTM that an exchange rate move wipes out entirely. For a euro-denominated bond that risk does not exist for a Bulgarian investor.
Limitations and when to use a different calculator
The calculator assumes a whole number of coupon periods to maturity. If you buy between two coupon dates, the actual trade includes accrued interest on top of the price and the true YTM deviates slightly from the figure computed here.
Issues with embedded options — callable by the issuer or puttable by the investor — are not valued correctly by YTM. For those, yield to the first possible call date is used instead. A floating coupon tied to an index also resists this model, because the future payments are not known.
YTM does not measure risk. An issue yielding 9% against another yielding 3% almost certainly signals higher credit risk rather than a better deal. Always read the yield alongside the rating and the financial condition of the issuer.
When to switch calculators: if you have already sold the bond and want to measure the return achieved on actual trade dates, use XIRR. If you are comparing deposits with different compounding frequencies, use the effective annual rate. If you are appraising an investment project with arbitrary cash flows rather than a security, use IRR or NPV.
Frequently asked questions
What is the difference between the coupon and the yield to maturity?
The coupon is the fixed rate the issuer pays on the face value, and it never changes over the life of the bond. Yield to maturity accounts for the price you actually pay in the market today. Buy below par and the YTM exceeds the coupon; buy above par and it falls below. Only when the price equals face value do the two coincide.
Why does a bond price fall when interest rates rise?
The coupon is fixed, so the only way an older issue stays competitive against new ones paying a higher coupon is for its price to fall. That fall lifts the yield to maturity up to the level of the new issues. The effect is stronger the longer the remaining term to maturity.
Is the yield the calculator shows guaranteed?
No. YTM is a promised return under three conditions: the issuer pays reliably to maturity, you hold the bond to the end, and you reinvest the coupons received at the same rate. Sell earlier and your actual result depends on the price at the time of sale. If the issuer runs into trouble, the outcome can even be negative.
How do I compare a bond with a bank deposit?
Compare the YTM against the effective annual rate on a deposit of similar term, both after tax. Also weigh the differences in risk and liquidity: deposits up to a set amount are covered by the deposit guarantee fund, whereas with a bond you carry the credit risk of the issuer but can usually sell it in the market before maturity.
What do discount and premium bonds mean?
A discount bond trades below face value — you pay €950 for a security that repays €1,000 at maturity. A premium bond trades above face value. A discount usually means the coupon sits below current market rates, and a premium that it sits above them. The calculator handles both cases automatically.
Need more than a calculator?
We build a personal plan around your goal and horizon — clearly, and with no promises of returns.
Other calculators
The calculators are for guidance only and do not constitute financial, tax or legal advice. Parameters reflect 2026 legislation and should be verified annually. For a specific case, book a consultation with our specialists.