Quant Sandbox
DerivativesPortfolio & RiskFixed IncomeCorporate FinanceProbability & MeasureStochastic ModelsMarket MicrostructureGuide
Guide
Derivatives pricing0 / 17
01Forwards, calls and puts02Combining positions03Arbitrage and the forward price04Put–call parity05The one-step binomial model06Risk-neutral probabilities07Multi-step trees and backward induction08American options and early exercise09Delta and hedging10Geometric Brownian motion11The Black–Scholes formula12The Greeks: gamma, vega, theta and rho13Options on dividend-paying stocks, indices, currencies and futures14Implied volatility and the volatility smile15Stochastic volatility and the Heston model16Static replication: Breeden–Litzenberger and Carr–Madan17Exotic options: barriers, Asians and digitals
Portfolio & risk0 / 12
01Returns and volatility02Diversification and correlation03The efficient frontier and the capital market line04Risk aversion and the optimal complete portfolio05CAPM, beta and the security market line06Performance measures: Sharpe, Treynor, Jensen and information ratio07Factor models and systematic risk08The Fama–French factor models09Value at Risk and expected shortfall10Systemic risk and contagion11Portfolio constraints and the no-short-sales frontier12Estimating expected returns and covariances
Fixed income0 / 10
01Bond prices and yields02Duration and convexity03Immunization and duration matching04Spot rates, forward rates and the yield curve05Non-parallel curve moves and key-rate durations06Bond futures and the cheapest-to-deliver07Interest rate swaps08Callable bonds and negative convexity09Credit risk: default probabilities and credit spreads10Real rates, inflation and inflation-linked bonds
Corporate finance0 / 10
01Interest, compounding and discounting02Annuities, perpetuities and loan amortization03Net present value and internal rate of return04Project risk: sensitivity, scenarios and Monte Carlo NPV05The weighted average cost of capital06Capital structure and the Modigliani–Miller theorems07Dividends, payout policy and the dividend discount model08Discounted cash flow valuation09Relative valuation with multiples10Real options: the value of flexibility
Probability and measure0 / 13
01Measuring the size of sets02σ-algebras and Borel sets03Lebesgue measure and null sets04Measurable functions05The Lebesgue integral06Convergence theorems07Probability spaces and Kolmogorov's axioms08Random variables and their distributions09Expectation, variance and inequalities10Independence and product measures11Modes of convergence and the law of large numbers12Conditional probability and conditional expectation13Measure theory in option pricing
Stochastic models0 / 17
01Random walks and Brownian motion02The law of large numbers and the central limit theorem03Probability spaces, σ-algebras and random variables04Filtrations, adapted processes and stopping times05Conditional expectation and martingales06Properties of Brownian motion07The reflection principle and first passage times08The Brownian bridge09The Itô integral10Itô's lemma11Kolmogorov equations and the Feynman–Kac formula12Change of measure and Girsanov's theorem13Monte Carlo option pricing14Simulating SDEs: the Euler–Maruyama scheme15Correlated Brownian motions and multi-asset models16Mean reversion: Ornstein–Uhlenbeck and Vasicek17Jumps and the Merton jump-diffusion model
Market microstructure0 / 11
01Market makers and liquidity02The limit order book03Queue position and fill probability04Adverse selection and informed trading05The Glosten–Milgrom model06Measuring and decomposing the bid–ask spread07Informed trading and Kyle's lambda08Price impact and optimal execution09Inventory risk and quote skewing10Optimal quoting: the Avellaneda–Stoikov model11Market making profit and loss attribution
Knowledge graph

© 2026 Quant Sandbox · A study aid for quantitative finance

Privacy & dataNo cookies

This site does not use cookies and asks for no personal data. It keeps a few small settings in your browser's local storage — your chosen theme and language, the sidebar layout, and your progress and answers in the Guides — so it remembers them on your next visit. This data never leaves your device; clearing your browser storage removes it. Inputs you change can also be captured in the page URL, so you can share or bookmark a specific setup. The site uses Vercel Web Analytics, a privacy-friendly, cookieless service that records only anonymous, aggregated usage (such as page views) without identifying you or tracking you across other sites.

Guides/Portfolio & risk/10

Systemic risk and contagion

Lesson 10 of 12 · 1 min read

"Value at Risk and expected shortfall" measured the tail losses of one portfolio, and "Diversification and correlation" showed how holding many assets reduces risk when they do not move together. Both treat the rest of the market as given. In a financial crisis that assumption breaks: banks hold claims on each other and the same assets, so the failure of one changes the losses of the others. This lesson builds that interaction from a single balance sheet up to a network, and shows how a shock to one bank can grow into a system-wide crisis.

Systemic risk

Systemic risk is the risk that losses spread from one institution to many, so that the financial system as a whole stops working: payments freeze, credit stops and healthy firms are hit by losses they did not take on directly. It differs from the risk of a single bank in that the loss is not the sum of separate losses. A bank can be well capitalised on its own and still fail because its counterparties fail. The spreading of losses from one institution to others is called contagion. Three channels carry it: direct exposures between banks, fire sales of common assets and runs on short-term funding.

A bank balance sheet

A bank's assets are loans to firms and households, securities, and loans to other banks (interbank assets). Its liabilities are deposits, bonds and borrowing from other banks. Equity is what remains:

E=A−L.E = A - L.E=A−L.

Equity is the buffer that absorbs losses. A loss of ℓ\ellℓ on the assets reduces equity one for one, E′=E−ℓE' = E - \ellE′=E−ℓ, while the liabilities stay the same. When losses exceed equity, ℓ>E\ell > Eℓ>E, the assets no longer cover the liabilities and the bank defaults. With an equity ratio of 6% of assets, a loss of just over 6% of the balance sheet is enough.

The interbank market links these balance sheets. If bank iii has lent XijX_{ij}Xij​ to bank jjj, that loan is an asset of iii and a liability of jjj. Drawing every bank as a node and every loan as an arrow from lender to borrower gives an exposure network.

Default cascades

Suppose bank jjj defaults. Its creditors get back only a share RRR of their claims, the recovery rate, so creditor iii loses

ℓi=Xij (1−R).\ell_i = X_{ij}\,(1 - R).ℓi​=Xij​(1−R).

If this loss exceeds the creditor's equity, the creditor defaults too, and its own creditors take losses in the next round. This is the sequential default algorithm used by Furfine to stress-test interbank exposures: shock one bank, find which banks fail in round one, charge their creditors, find the next failures, and repeat until a round produces no new defaults. Writing DtD_{t}Dt​ for the set of banks that have defaulted by round ttt, bank iii defaults in round t+1t + 1t+1 when

∑j∈DtXij (1−R)>Ei.\sum_{j \in D_t} X_{ij}\,(1 - R) > E_i.j∈Dt​∑​Xij​(1−R)>Ei​.

The Eisenberg–Noe model refines this by solving for all payments at once: each bank pays what it can out of what it receives, and the recovery rate comes out of the calculation rather than being fixed. The sequential version is enough to see the mechanism.

Worked example

A cascade among four banks

  1. Banks A, B, C and D have equity of 5, 4, 3 and 10 (in bn). B has lent 10 to A, C has lent 8 to B, D has lent 6 to C and 4 to A. The recovery rate is 40%. A loses 12 on its loans to firms, more than its equity of 5, so A defaults in round one. In round two B loses its claim on A times 1−R1 - R1−R:

    10⋅(1−0.4)\displaystyle 10 \cdot (1 - 0.4)10⋅(1−0.4)=6
  2. That is more than B's equity of 4, so B defaults. D also loses on its claim on A:

    4⋅0.6\displaystyle 4 \cdot 0.64⋅0.6=2.4
  3. D survives with 7.6 of equity left. In round three C loses on its claim on B:

    8⋅0.6\displaystyle 8 \cdot 0.68⋅0.6=4.8
  4. C's equity is 3, so C defaults. In round four D loses on its claim on C:

    6⋅0.6\displaystyle 6 \cdot 0.66⋅0.6=3.6
  5. D's total loss is now

    2.4+3.6\displaystyle 2.4 + 3.62.4+3.6=6
  6. That is below D's equity of 10, so the cascade stops: three banks failed after a shock to one. The equity wiped out is 5 + 4 + 3 + 6 = 18 of the system's 22, as a share:

    18/22\displaystyle 18 / 2218/22=0.8182

The initial loss of 12 fell on A alone; the cascade destroyed 82% of the system's equity. C never dealt with A, yet it failed because it had lent to a bank that had.

Fire sales

Direct exposures are not the only link. A bank in trouble sells assets to raise cash or to cut its balance sheet, and large sales push prices down. With a linear price impact, selling a quantity qqq moves the price to

P=P0 (1−λ q),P = P_0\,(1 - \lambda\,q),P=P0​(1−λq),

where λ\lambdaλ measures how illiquid the asset is. Every bank that holds the asset marks it at the new price, so a holder of hhh units loses h P0 λ qh\,P_0\,\lambda\,qhP0​λq even though it never traded with the seller. Those losses can force more sales, which lower the price again. Fire sales spread losses through common holdings rather than through loans, which is why banks that look diversified can fail together when they all hold the same assets.

Funding runs

Banks finance long-term loans with short-term money: deposits, repurchase agreements and short interbank loans. If lenders fear that a bank is weak, they refuse to roll over this funding. The bank must repay at once, and since its loans cannot be called in quickly, it has to sell assets, often at fire-sale prices. A run can therefore bring down a bank that was solvent before it started, and the fire sales it causes pass the losses on to other holders.

Network structure

How far a cascade goes depends on the shape of the network. If each bank spreads its interbank lending over many borrowers, each claim is small, and the failure of one borrower costs every creditor a little, less than its equity. Losses are shared and absorbed. If each bank lends to only one or two others, each claim is large, and one failure can wipe out a creditor's equity on its own. In that sense more connections make a network safer.

The same connections have a second effect. When a shock is large enough, or hits several banks at once, a dense network passes losses to every bank, and the whole system can fail together. Gai and Kapadia, and Acemoglu, Ozdaglar and Tahbaz-Salehi, call this robust yet fragile: a highly connected network absorbs small shocks but transmits large ones everywhere. Concentration matters too. A bank that many others have lent to is too interconnected to fail, because its default would start a cascade whatever its size.

The figure places eight banks on a circle. Each has 100 units of assets, lends 20 of them to the banks that follow it, and holds equity of 6% of assets. Start at the defaults: a two-neighbour network, a 50% shock to bank A's external assets and no recovery. Each claim is 10, more than the equity of 6, so press Next round and watch the failures spread backwards around the circle until all 8 banks have defaulted after 5 default rounds and 100% of the system's equity is lost. Now switch to the complete network: each claim falls to 2.86, only A defaults and losses are 54.2% of equity. Back on two neighbours, raise the recovery rate to 50% and the cascade stops at A with 33.3% of equity lost. Then lower the equity buffer, or pick another bank to shock.

A default cascade in an interbank networkOpen in Systemic Risk
50%
01
6%
0.020.15
0%
01
AdefaultBbuffer 6.0Cbuffer 6.0Dbuffer 6.0Ebuffer 6.0Fbuffer 6.0Gbuffer 6.0Hbuffer 6.0
Step
1 / 6
Banks defaulted
1 / 8
Default rounds
…
Losses as % of system equity
12.5%

Each bank lends 20 of its 100 units of assets to other banks, so it has 10.0 units of exposure to each borrower; its equity is 6 units. You can also click a bank to shock it.

Measuring systemic importance

Regulators want to know which institutions matter most for the system, not only which are riskiest on their own. A direct measure is the one the figure computes: the losses the failure of a given bank causes to the others. Two market-based measures are widely used. CoVaR is the Value at Risk of the financial system conditional on a given institution being in distress; the difference from its value in normal times, ΔCoVaR, is the institution's contribution. SRISK is the capital a firm would need to raise in a severe market decline to keep its equity at a prudent share of its assets.

Buffers and recovery work against the same multiplication: a larger equity buffer lets a bank absorb a creditor loss, and a higher recovery rate makes the loss smaller. That is why capital rules and central clearing both aim at contagion.

Summary

  • Systemic risk is the risk that losses spread from one institution to many; contagion travels through direct exposures, fire sales of common assets and funding runs.
  • A bank defaults when its losses exceed its equity, ℓ>E\ell > Eℓ>E; a creditor of a defaulted bank loses Xij(1−R)X_{ij}(1 - R)Xij​(1−R).
  • Sequential default repeats this round by round until no new bank fails, and a shock to one bank can destroy most of the system's equity.
  • Spreading exposures over many counterparties absorbs small shocks, but dense networks transmit large shocks everywhere: robust yet fragile.
  • Systemic importance is measured by the losses a failure causes to others, and by market measures such as ΔCoVaR and SRISK.
Try itOpen the Systemic Risk lab
2 questions on this lesson at the end of the series
Previous · 09Value at Risk and expected shortfallNext · 11Portfolio constraints and the no-short-sales frontier
Connections

Systemic risk and contagion

Open the full graph
Builds on
02.09Value at Risk and expected shortfall02.02Diversification and correlation
Leads to
02.11Portfolio constraints and the no-short-sales frontier
See it in the knowledge graph
Labs for this lesson
Systemic Risk