# Bond Calculator

> Price a bond from its yield to maturity, or find the yield from its price, with current yield and Macaulay and modified duration.

Category: Finance · Applies to: Worldwide · Last updated: 2026-10-29
Interactive calculator: https://calculators.geekmidst.com/calculators/bond-calculator

A bond’s price is the present value of its coupons and face value, discounted at the yield to maturity. Enter a yield to get the price, or a price to get the yield.

Also called: Bond price calculator, Yield to maturity calculator, YTM calculator.

## Inputs
- Work out (options: Price from yield, Yield from price; default price)
- Face (par) value (default 1000)
- Coupon rate (per year) (unit %; default 5)
- Years to maturity (default 10)
- Coupons per year (options: Semi-annual, Annual, Quarterly, Monthly; default 2)
- Yield to maturity (unit %; default 6)
- Bond price (default 950)
- Currency

## Results
- Price
- Yield to maturity
- Current yield
- Coupon income per year
- Macaulay duration
- Modified duration
- Trades at

## Formula

```
Price = Σ C ÷ (1 + y/m)^t + F ÷ (1 + y/m)^n for t = 1…n;  Current yield = Annual coupon ÷ Price;  Macaulay D = Σ (t/m) × PV(CF_t) ÷ Price;  Modified D = Macaulay D ÷ (1 + y/m)
```

Where:
- C: coupon per period = F × coupon rate ÷ m
- F: face value
- y: yield to maturity
- m: coupons per year
- n: coupons remaining

## Worked example
1. Coupon per half-year C = 1,000 × 8% ÷ 2 = 40; yield per period = 5%; n = 20.
2. Coupons: 40 × (1 − 1.05^−20) ÷ 0.05 = 498.49. Face value: 1,000 ÷ 1.05^20 = 376.89.
3. Price = 498.49 + 376.89 = 875.38; current yield = 80 ÷ 875.38 = 9.14%.

**Result:** A 10-year 8% semi-annual bond priced to yield 10% is worth $875.38, a discount to its $1,000 face value.

## What the result means

When the yield is above the coupon rate the bond trades below face value, and vice versa. Modified duration is the approximate percentage price change for a 1 percentage-point change in yield: a duration of 6.5 means roughly a 6.5% fall if yields rise by 1 point.

## Assumptions and limits
- The bond is priced on a coupon date, so there is no accrued interest (clean and dirty prices are equal).
- All coupons and the face value are paid in full and on time.
- The yield is compounded at the coupon frequency, the usual bond-market convention.
- Call and put features, default risk and day-count conventions between coupon dates are not modelled.
- Yield to maturity assumes coupons are reinvested at the same yield.

## Questions

### Why do bond prices fall when interest rates rise?

The coupons are fixed. When new bonds pay more, existing bonds must sell for less so that their yield matches the market.

### What is the difference between current yield and yield to maturity?

Current yield only compares the annual coupon with the price. Yield to maturity also counts the gain or loss from buying below or above face value and the timing of every payment.

## Sources
- [U.S. SEC Investor.gov](https://www.investor.gov/)

## Related calculators
- [Mutual Fund Calculator](https://calculators.geekmidst.com/calculators/mutual-fund-calculator)
- [CD Calculator](https://calculators.geekmidst.com/calculators/cd-calculator)
- [Compound Interest Calculator](https://calculators.geekmidst.com/calculators/compound-interest-calculator)
- [Annuity Calculator](https://calculators.geekmidst.com/calculators/annuity-calculator)

_Returns are illustrations at a constant rate, not predictions or guarantees. Investments can lose value. This is not investment advice._

Source: GM¹X CalcVerse — https://calculators.geekmidst.com/calculators/bond-calculator
