Fixed Income Calculator
Price bonds and swaps, measure interest-rate risk with duration and convexity, value callable and convertible bonds on a rate tree, and compute counterparty risk (CVA) on a swap.
This free bond pricing calculator covers the fixed-income basics end to end: clean and dirty price, accrued interest, yield to maturity, and the two risk measures that matter most — duration and convexity — plus swaps, callable and convertible bonds, and the counterparty-risk adjustment (CVA) on a swap.
Duration, convexity and DV01
Modified duration is the first-order sensitivity of price to yield — roughly the percentage price move for a 1% rate change — while convexityis the second-order correction that makes the price-yield curve bend in the holder's favour. DV01(and PV01) translate that into the cash P&L of a one-basis-point move, which is how rates desks actually size and hedge risk. The price-yield and P&L waterfall charts show the convexity adjustment explicitly.
Callable bonds
A callable bond lets the issuer redeem early, which caps the price and creates negative convexity near the call. The tool prices it on a lognormal binomial rate tree and reports yield-to-call and yield-to-worst, with an SVG of the tree so the backward induction is visible.
Counterparty risk — CVA, DVA and bilateral CVA
The CVA tab computes Credit Valuation Adjustment — the price of your counterparty's default risk — for a vanilla interest-rate swap through a transparent five-step pipeline: the swap's future values, the expected positive exposure, the probability of default bootstrapped from the credit spread, the loss given default, and discounting. DVA is the mirror image from your own default risk, and bilateral CVA (CVA − DVA) is the fair, symmetric adjustment both sides agree on. It sits here because it is computed on the exact swap you can price in the Swap tab. New to the intuition? See no-arbitrage pricing, and the Coach for swaps, convexity and counterparty-risk interview questions.
Frequently asked questions
What does the fixed-income calculator cover?
Clean and dirty bond price, accrued interest, yield to maturity, Macaulay and modified duration, convexity, DV01/PV01, vanilla interest-rate swaps, callable bonds (yield-to-call, yield-to-worst on a binomial rate tree), convertible bonds, and the CVA / DVA / bilateral CVA of a swap — all in one place.
What is CVA, and why is it in the fixed-income tool?
Credit Valuation Adjustment is the market price of the risk that your derivatives counterparty defaults before the trade matures — the discount off a risk-free valuation for expected counterparty losses. It lives with the interest-rate swap because CVA is computed on the swap's exposure profile; the CVA tab reuses the very swap you can price in the Swap tab.
What is the difference between CVA, DVA and bilateral CVA?
CVA charges you for your counterparty's default risk; DVA is the mirror benefit from your own default risk; bilateral CVA (bCVA = CVA − DVA) nets the two, which is what both sides must agree on to price a trade consistently.
Is it free?
Yes, free and no account needed. Every tool is built to teach: duration/convexity waterfalls, the callable rate tree, and the full CVA pipeline (exposure, PD, LGD) are all shown, not hidden.