---
title: "Convexity: Formula, Meaning & Signals"
description: "The curvature of a bond's price-yield relationship: the second derivative of price with respect to yield, divided by price. It corrects the duration..."
canonical: https://www.getswoopr.com/indicators/fixed-income-and-credit/convexity/
source: "Swoopr Investment: https://www.getswoopr.com"
---

## Direct Answer



> Convexity is a fixed income & credit measure used to measure yield-curve, rate, duration, credit-spread, or bond-risk conditions. The production page must define the exact calculation convention before interpreting higher or lower readings, because platform and provider implementations can differ.





      


# Convexity: Formula, Meaning, Signals, Examples and How to Use It



## How Is Convexity Calculated?

The curvature of a bond's price-yield relationship: the second derivative of price with respect to yield, divided by price. It corrects the duration estimate of price change for large yield moves.

**Formula:** `Zero-coupon bond: convexity = t(t + 1) / (1 + y)^2, with t in years and annual compounding. General: (1/P) x sum[ CF_t x t(t + 1) / (1 + y)^(t + 2) ]`

**Inputs:**

- Bond cash flows and their timing
- Yield to maturity
- Compounding frequency

**Worked example.** A 10-year zero-coupon bond yielding 4% with annual compounding has a convexity of 101.70. The inputs are illustrative numbers, not market data.

**Reading it.** Higher convexity means a bond gains more when yields fall than it loses when yields rise by the same amount. Price change is estimated as -duration x dy + 0.5 x convexity x dy^2.

**Limits.** The formula assumes cash flows do not change with yields, so it fails for callable or prepayable bonds, which need effective convexity. Values depend on the compounding convention used.


      

## Indicator overview





| Attribute | Value |
| --- | --- |
| Category | Fixed Income & Credit |
| Asset classes | Treasuries, Bonds, Credit, Rates |
| Output type | Ratio/index/scalar |
| Parameters | Varies by implementation; document exact settings on use |






## What is Convexity?



Convexity is a fixed income & credit measure used to measure yield-curve, rate, duration, credit-spread, or bond-risk conditions. The production page must define the exact calculation convention before interpreting higher or lower readings, because platform and provider implementations can differ.



For Swoopr, the canonical profile separates definition, calculation, interpretation and decision use. That keeps readers from collapsing a descriptive metric into a trading strategy. An indicator can describe trend, momentum, volatility, participation, positioning or risk without providing a complete entry, exit, sizing or portfolio decision.




## What does it measure?



Convexity measures specific market properties in the Fixed Income & Credit domain. The practical value is repeatability: the same inputs and formula can be applied across a defined dataset, allowing users to compare readings through time or across instruments when the calculation convention is held constant.




## How to read Convexity



Interpretation depends on the market property being measured. A descriptive reading is not automatically predictive. The same numerical state can lead to different outcomes in a strong trend, quiet range, event-driven gap or illiquid market. Always combine with context from price structure, volume, and broader market regime before drawing conclusions.




## Strengths



- It adds the second-order term to duration, which narrows the gap between a linear price estimate and full repricing after a large yield move.
- For equal duration, a bond with higher convexity gains more when yields fall than it loses when they rise by the same amount.
- Reproducible when the formula and data convention are fixed.




## Weaknesses and limitations



- Quoted figures differ by scaling convention, since some sources report the raw second derivative over price and others a halved or rescaled value.
- Cash flow dispersion drives it, so a barbell and a bullet with equal duration can show different convexity, which a duration number cannot reveal.
- Correlated indicators can create false confidence by repeating the same underlying information.




## Editorial and risk note



This page is educational content, not individualized investment advice. It should not imply guaranteed prediction, accuracy or outperformance. Where multiple valid definitions exist, Swoopr states the alternatives and the reason for selecting its primary convention.







## Frequently Asked Questions


        



Is Convexity a buy or sell signal?




No. Higher convexity means a bond gains more when yields fall than it loses when yields rise by the same amount. The formula assumes cash flows do not change with yields, so it fails for callable or prepayable bonds, which need effective convexity. A trade built on it still needs a trigger, an invalidation rule, a position size and realistic execution assumptions.










What is the best setting for Convexity?




Convexity is computed from bond cash flows and their timing; yield to maturity; compounding frequency, so the choices that matter are the data convention and the window it is read over. Test those across instruments, regimes and out-of-sample periods instead of fitting one historical winner.










Can Convexity be used by itself?




The formula assumes cash flows do not change with yields, so it fails for callable or prepayable bonds, which need effective convexity. Values depend on the compounding convention used. For that reason it is read next to measures of direction, participation, valuation, liquidity and risk, not alone.










Does Convexity work on every timeframe?




The calculation (Zero-coupon bond: convexity = t(t + 1) / (1 + y)^2, with t in years and annual compounding. General: (1/P) x sum[ CF_t x t(t + 1) / (1 + y)^(t + 2) ]) can be run on any bar size, but behavior is not portable: a reading on a five-minute chart describes a very different market window from the same reading on a daily chart. Validate the exact timeframe before relying on it.










Why does Convexity give false signals?




Quoted figures differ by scaling convention, since some sources report the raw second derivative over price and others a halved or rescaled value. Cash flow dispersion drives it, so a barbell and a bullet with equal duration can show different convexity, which a duration number cannot reveal. Lag, noise and regime changes add to this, because market participants react to new information after the reading is calculated.










How should Convexity be backtested?




Rebuild Convexity from bond cash flows and their timing using point-in-time data, write the rules before testing, include delisted securities where relevant, model realistic fills and costs, reserve a validation sample and compare with a simpler baseline.










## References

- [SEC: Investor Bulletin: Interest Rate Risk, When Interest Rates Go Up, Prices of Fixed-Rate Bonds Fall](https://www.sec.gov/files/ib_interestraterisk.pdf)



S




Swoopr Editorial Team



The Swoopr Editorial Team produces independent investment education, research, and tools for understanding markets, evaluating opportunities, and managing risk. All content is educational only and does not constitute personalized investment advice.



See our [editorial policy](https://www.getswoopr.com/legal/editorial-policy/) and [corrections policy](https://www.getswoopr.com/legal/corrections-policy/).
