Bond Convexity Calculator screenshot

Bond Convexity Calculator

Compute a bond's convexity from its face value, coupon, yield, maturity and payment frequency, in years squared.

Privacy First
0 Runs
Updated 2026-11-22
Runs in your browser
No upload
Deterministic
Formula stated

What this page does

Convexity measures how much a bond's duration changes as its yield changes, which is the correction that makes a price estimate accurate for larger yield moves.

How to use it

Enter this sample with the defaults shown:

1000

Press Run. The page gives:

Face:        1000.00
Coupon:      5 % per year, paid 2× a year
Yield:       6 % per year (nominal, 2 periods)
Maturity:    10 years (20 periods)
Price:       925.61 per 1000.00 face
Convexity:   71.7854 years²
Basis:       exact schedule, no accrued interest; convexity is the annual (years²) figure, not per period

The formula and its basis

Convexity = 1 ÷ (price × m²) × Σ k(k + 1) × cash flow ÷ (1 + yield ÷ m)^(k + 2), summed over periods k, where m is the payments per year.

The yield is nominal annual compounded at the payment frequency; the answer is in years squared, not per period.

What it is not

It is arithmetic on the numbers you enter, not financial advice: no product, rate or course of action is recommended. Nothing is uploaded, stored or logged.

Convexity measures how much a bond's duration changes as its yield changes, which is the correction that makes a price estimate accurate for larger yield moves.

The rule this page applies: Convexity = 1 ÷ (price × m²) × Σ k(k + 1) × cash flow ÷ (1 + yield ÷ m)^(k + 2), summed over periods k, where m is the payments per year.

Basis: The yield is nominal annual compounded at the payment frequency; the answer is in years squared, not per period.

Worked example: the sample values below, with the defaults, give exactly the output recorded in What to Expect.

How to use the Bond Convexity Calculator

Enter face value in the box, set the options beside it, then press Run. The answer appears beside the form and re-runs on the same input.

Every number in the answer follows from your inputs and the assumptions stated below; the page does not choose a rate for you.

The worked example uses "1000" with the defaults shown, and its exact output is printed in What to Expect.

The formula, its basis and its refusals

Convexity = 1 ÷ (price × m²) × Σ k(k + 1) × cash flow ÷ (1 + yield ÷ m)^(k + 2), summed over periods k, where m is the payments per year.

The yield is nominal annual compounded at the payment frequency; the answer is in years squared, not per period. Money prints to two decimals, percentages to four, and intermediate values are never rounded.

It refuses a face value of zero or less, a maturity outside 1–100 whole years, a frequency outside 1–12, and any yield at or below −100 %.

What this page is not

It is arithmetic on the numbers you enter, with each assumption stated. It does not recommend a product, a rate or a course of action.

Where the tool is the wrong choice: Bonds with embedded options; A quick one-number risk summary, where duration is enough.

What to Expect

Best for

  • Refining a duration-based price estimate
  • Comparing two bonds with similar duration but different cash-flow shapes

Not ideal for

  • Bonds with embedded options
  • A quick one-number risk summary, where duration is enough

What this tool keeps

  • The numbers exactly as you entered them
  • The same answer on every run
  • Nothing sent, stored or logged

What may need cleanup

  • Rates entered as fractions rather than percentages: enter 5 for 5 %
  • A currency symbol pasted beside a number, which the page refuses by name

Common errors

  • It refuses a face value of zero or less, a maturity outside 1–100 whole years, a frequency outside 1–12, and any yield at or below −100 %.
  • A non-numeric value, which the page names rather than silently treating as zero

Example use cases

  • Estimating a price change for a large yield move
  • Explaining why two equal-duration bonds behave differently

Sample input

1000

Sample output

Face: 1000.00 Coupon: 5 % per year, paid 2× a year Yield: 6 % per year (nominal, 2 periods) Maturity: 10 years (20 periods) Price: 925.61 per 1000.00 face Convexity: 71.7854 years² Basis: exact schedule, no accrued interest; convexity is the annual (years²) figure, not per period

Who this is for

  • analysts
  • students

Frequently asked questions

What formula does this page use?

Convexity = 1 ÷ (price × m²) × Σ k(k + 1) × cash flow ÷ (1 + yield ÷ m)^(k + 2), summed over periods k, where m is the payments per year.

What does it refuse?

It refuses a face value of zero or less, a maturity outside 1–100 whole years, a frequency outside 1–12, and any yield at or below −100 %.

Is this financial advice?

It is arithmetic on the numbers you enter, with each assumption stated. It does not recommend a product, a rate or a course of action.

What rate basis and rounding does it use?

The yield is nominal annual compounded at the payment frequency; the answer is in years squared, not per period. Money prints to two decimals, percentages to four, and intermediate values are never rounded.

How is convexity used with duration?

The estimated percentage price change is −modified duration × Δyield + ½ × convexity × Δyield². The page prints convexity so that second term can be computed; it does not add the two terms for you because the yield move is your input.

Why years squared?

Convexity is the second derivative of price with respect to yield, scaled by price. Dividing by m² converts the period-based sum into an annual figure, so it pairs with an annual modified duration.

Developer program

Build custom tools for your store

Join the SDK program to create useful ecommerce utilities for your store.