Bond Parameter Solver
Solve for Price, YTM, Coupon Rate, or Face Value. Enter any three known values and the calculator finds the fourth.
Dirty Price / Clean Price Calculator
For bonds traded between coupon dates. Calculates dirty price, clean price, and accrued interest using any day-count convention.
| Period | Date | Coupon | PV Factor | PV of Coupon | Cum. PV |
|---|
What Is a Bond?
A bond is a fixed-income debt instrument where an investor lends money to a borrower (a corporation, government, or municipality) for a defined period at a fixed interest rate. The borrower (issuer) commits to paying periodic interest (coupons) and returning the principal (face value) at maturity.
Bonds allow governments to fund public spending and companies to raise capital without diluting equity. From an investor's perspective, a bond represents a contractual claim: the issuer must pay coupons on schedule and return the face value at maturity, regardless of profits.
The Core Components
- Face Value (Par): The principal amount the issuer repays at maturity. US bonds typically have a $1,000 face value. This is also the base for coupon calculations.
- Coupon Rate: The annual interest rate, expressed as a percentage of face value. A 5% coupon on a $1,000 bond pays $50 per year ($25 semi-annually).
- Maturity Date: When the issuer repays the face value. Short-term bonds mature in 1 to 3 years; long-term bonds may run 30 years or more.
- Coupon Frequency: How often interest is paid. Most US bonds pay semi-annually; some corporate bonds pay quarterly or monthly.
- Yield to Maturity (YTM): The total return earned by holding the bond to maturity, accounting for coupon payments and the difference between purchase price and face value.
Bond Price Formula
A bond's price is the present value of all future cash flows: periodic coupon payments plus the face value at maturity, discounted at the yield per period.
For a $1,000 bond with a 5% coupon, 10-year maturity, semi-annual payments, and a 6% yield:
- C = $1,000 ร 5% / 2 = $25 per period
- r = 6% / 2 = 3% per period
- N = 10 ร 2 = 20 periods
- Price = 25 ร [1 - (1.03)^(-20)] / 0.03 + 1000 / (1.03)^20 = $925.61
The bond trades at a discount because its coupon rate (5%) is below the market yield (6%). Investors require the lower price to earn an equivalent return to newly issued bonds at 6%.
Premium vs Discount vs Par
- Discount bond (Price < Face): Coupon rate < YTM. Buyer earns a capital gain at maturity.
- Par bond (Price = Face): Coupon rate = YTM. No capital gain or loss.
- Premium bond (Price > Face): Coupon rate > YTM. Buyer accepts a capital loss at maturity, offset by higher coupons.
Yield to Maturity: What It Really Measures
YTM is the single most important metric in bond analysis. It is the internal rate of return of the bond's cash flows: the discount rate that makes the present value of all future coupon payments and the face value exactly equal to the current price. In effect, YTM is what you earn annually by holding the bond to maturity and reinvesting all coupons at that same rate.
YTM vs Current Yield vs Coupon Rate
| Metric | Formula | What It Measures | Limitation |
|---|---|---|---|
| Coupon Rate | Annual Coupon / Face Value | Contractual interest rate on face value | Ignores market price |
| Current Yield | Annual Coupon / Current Price | Income return on the price paid | Ignores capital gain/loss at maturity |
| Yield to Maturity | Solved iteratively (IRR) | Total annualized return held to maturity | Assumes reinvestment at YTM |
| Yield to Call | IRR using call date and price | Return if bond is called early | Only applies to callable bonds |
Calculating YTM
There is no closed-form formula for YTM. It requires iterative solving (bisection search or Newton-Raphson). Given price = $925.61, face = $1,000, coupon rate = 5% semi-annual, 10 years: YTM = 6.00% (the rate that satisfies the price equation above). This calculator solves YTM using binary search accurate to 0.001%.
Clean Price, Dirty Price, and Accrued Interest
Most bond trades happen between coupon payment dates. When a bond is sold between dates, the seller has earned interest since the last coupon but hasn't received it yet. To compensate, the buyer pays the seller for that earned but unpaid interest.
This leads to two prices:
- Clean Price: The price quoted in markets, excluding accrued interest. Used for comparisons because it does not change with every passing day due to interest accumulation.
- Dirty Price (Invoice Price): What the buyer actually pays: clean price plus accrued interest. This is the true economic transaction price.
After settlement, the clean price slowly rises as accrued interest builds, then drops sharply on the coupon date when the interest is paid out. The dirty price shows this sawtooth pattern; the clean price is smoother and more useful for market comparisons.
Day-Count Conventions
A day-count convention determines how many days are counted between two dates and what denominator is used to calculate fractions of a coupon period. Different bond markets use different conventions.
30/360 (Bond Basis)
Assumes each month has 30 days and the year has 360 days. The most common convention for US corporate bonds, agency bonds, and municipal bonds. Simple to calculate manually but introduces small distortions at month-end.
Actual/360
Uses the actual number of calendar days elapsed but divides by 360. Common for money market instruments such as US commercial paper, bankers' acceptances, and some bank loans. Slightly inflates effective interest costs compared to Actual/365.
Actual/365 (Fixed)
Uses actual days elapsed divided by a fixed 365-day year. Standard in UK gilts and some international markets. Does not adjust for leap years.
Actual/Actual (ICMA / US Treasury)
Uses actual days in the accrual period divided by the actual number of days in the full coupon period. US Treasury bonds and notes use this convention. It is the most economically accurate method because it respects the true length of each period.
| Convention | Numerator | Denominator | Common Use |
|---|---|---|---|
| 30/360 | Adjusted calendar days (30/mo) | 360 | US corporate, municipal, agency bonds |
| Actual/360 | Actual calendar days | 360 | Money market, commercial paper |
| Actual/365 | Actual calendar days | 365 | UK gilts, some international |
| Actual/Actual | Actual days in period | Actual days in coupon period | US Treasuries, ICMA standard |
Bond Types
Government Bonds
Issued by national governments. US Treasury securities are the global benchmark for risk-free rates:
- Treasury Bills (T-bills): Maturities of 4 weeks to 52 weeks. Sold at a discount to face value; no coupon payments. The difference between purchase price and $1,000 face value is the return.
- Treasury Notes (T-notes): Maturities of 2 to 10 years. Pay semi-annual coupons. The most traded fixed-income instrument in the world.
- Treasury Bonds (T-bonds): 20 and 30-year maturities. Semi-annual coupons. Long duration makes them more sensitive to rate changes than shorter maturities.
- TIPS (Treasury Inflation-Protected Securities): Principal adjusts with CPI inflation. The coupon rate is fixed but applies to the inflation-adjusted principal, providing a real return above inflation.
Municipal Bonds
Issued by state and local governments. Interest is exempt from federal income tax and often from state and local taxes for residents of the issuing state. The tax-equivalent yield formula converts a muni yield to a comparable taxable yield: Tax-Equivalent Yield = Muni Yield / (1 minus Tax Rate). A 4% muni for someone in the 32% bracket equals a 5.88% taxable equivalent.
Corporate Bonds
Issued by companies. Rated by agencies (Moody's, S&P, Fitch). Investment-grade bonds carry ratings of BBB/Baa or higher; high-yield (junk) bonds are rated BB/Ba or lower. The credit spread over Treasuries compensates investors for default risk.
Zero-Coupon Bonds
Pay no periodic interest. Sold at a deep discount to face value and redeemed at par at maturity. The entire return is the capital appreciation. US Treasury STRIPS are the most common. Because all cash flow occurs at maturity, zero-coupon bonds have the longest duration relative to their maturity and the most price sensitivity to rate changes.
Duration and Interest Rate Risk
Duration measures how sensitive a bond's price is to changes in interest rates. It has two main definitions:
Macaulay Duration
The weighted average time (in years) to receive the bond's cash flows, with each cash flow weighted by its present value as a fraction of the bond's total present value.
Modified Duration
Converts Macaulay Duration into a direct price sensitivity measure: the approximate percentage change in price for a 1% (100 basis point) change in yield.
Duration Rules
- Zero-coupon bond duration equals its maturity exactly.
- Higher coupon rate โ shorter duration (more cash comes early).
- Longer maturity โ longer duration and higher rate sensitivity.
- Higher yield โ shorter duration (future cash flows worth less).