1. Calculators
  2. Portfolio Management & Performance

Portfolio Stress Test Calculator

Apply a stock-market move, an interest-rate change and a credit-spread shock to your holdings and see the gain or loss for each one, the total, and which risk drives it. Start from three illustrative presets or define your own scenario.

Updated Oct 16, 2026Free · no sign-upFormulas tested

Your inputs

List your holdings with their sensitivity to stocks, interest rates and credit spreads, then pick a scenario. The presets are illustrative hypothetical shocks loosely inspired by past crises, not exact historical figures.

Holdings
HoldingValueEquity betaDuration yrsSpread duration yrs
$
$
$
$
$
$
Equity beta: about 1 for a broad stock fund, 0 for bonds and cash. Duration: interest-rate duration from the fund factsheet (0 for stocks and cash). Spread duration: credit sensitivity, close to the duration for corporate bonds and 0 for Treasuries. Enter a short position or hedge as a negative value.
Scenario

Results

Portfolio gain or loss: 2008-style crisis-$284,250-28.43% of $1,000,000 · stocks -45%, rates −150 bp, credit spreads +350 bp
Change in portfolio value
-28.43%
Portfolio value after the shock
$715,750
Hardest-hit holding
US stock index fund
-$180,000 (-45.0%)
Best-performing holding
Treasury bond fund
$18,000 (+9.0%)
From the stock-market move
-$281,250
From the interest-rate change
$33,750
From the credit-spread change
-$36,750

In this scenario the portfolio would lose $284,250, or 28.4%. The biggest single driver is stocks (-$281,250), and the hardest-hit holding is US stock index fund.

Gain or loss by holding: 2008-style crisis

StocksInterest ratesCredit spreads
-$200K-$150K-$100K-$50K$0$50KUS stock index…International s…Real estate fun…Treasury bond f…Corporate bond…Cash

Each bar splits a holding’s gain or loss into the part caused by the stock-market move, the rate change and the credit-spread change. Bars above zero are gains.

Results by holding

HoldingValueFrom stocksFrom ratesFrom spreadsTotal returnGain or lossValue after
US stock index fund$400,000-45.0%0.0%0.0%-45.0%-$180,000$220,000
International stock fund$150,000-49.5%0.0%0.0%-49.5%-$74,250$75,750
Real estate fund (REITs)$50,000-54.0%0.0%0.0%-54.0%-$27,000$23,000
Treasury bond fund$200,0000.0%+9.0%0.0%+9.0%$18,000$218,000
Corporate bond fund$150,0000.0%+10.5%-24.5%-14.0%-$21,000$129,000
Cash$50,0000.0%0.0%0.0%0.0%$0$50,000
Portfolio$1,000,000-28.1%+3.4%-3.7%-28.4%-$284,250$715,750

The same portfolio in every scenario

ScenarioStocksRatesCredit spreadsGain or lossChangeValue after
2008-style crisis-45.0%−150 bp+350 bp-$284,250-28.4%$715,750
2020-style crash-30.0%−100 bp+200 bp-$186,000-18.6%$814,000
2022-style rate shock-20.0%+250 bp+100 bp-$191,750-19.2%$808,250
Custom scenario-15.0%+100 bp+75 bp-$124,125-12.4%$875,875

Preset shocks are illustrative and hypothetical, loosely inspired by those episodes; they are not the exact historical moves of any market index.

Results are estimates from the numbers you enter. They are not financial, tax or legal advice.

How to use the portfolio stress test calculator

  1. List your holdings with their current market value. Group small positions into funds or asset classes if you like; a handful of rows is enough.
  2. Enter each holding’s sensitivities.
    • Equity beta: how much the holding moves for each 1% move in the stock market. About 1 for a broad US stock fund, often a little higher for international or small-cap funds, 0 for bonds and cash.
    • Duration: the effective duration from a bond fund’s factsheet, in years. It measures the price change for a change in interest rates. Use 0 for stocks and cash.
    • Spread duration: sensitivity to credit spreads. For corporate bond funds it is close to the duration; for Treasuries it is 0.
    • Enter hedges or short positions as negative values.
  3. Pick a scenario. The three presets are illustrative hypothetical shocks loosely inspired by past crises. Custom lets you set the stock move, the rate change and the spread change yourself.

How the stress loss is calculated

Each holding’s return in the scenario is a first-order sum of three effects:

Returni = βi × ΔS − Di × Δy − SDi × Δs
Gain or lossi = Valuei × ReturniΔS is the stock-market move, Δy the change in interest rates and Δs the change in credit spreads (both in decimal: 100 basis points = 0.01). βi is the equity beta, Di the duration and SDi the spread duration of holding i. A long holding's loss is capped at its full value.

The portfolio result is the sum over all holdings. Because the model is linear, the total splits cleanly into a stock part, a rate part and a credit part, which the chart and the results show separately.

A worked example

A fictional $1,000,000 portfolio holds stock funds, a REIT fund, a Treasury bond fund, a corporate bond fund and cash. Under the 2008-style crisis preset, stocks fall 45%, rates drop 150 basis points and credit spreads widen 350 basis points.

The stock funds take the brunt: -$180,000 for the US fund and -$74,250 for the international fund. The Treasury fund, with a 6-year duration, gains $18,000 as yields fall. The corporate bond fund gains from lower rates too, but the wider spreads cost it more, for a net -$21,000.

In total the portfolio loses $284,250, or 28.4% of its value, leaving $715,750. By factor: the stock move contributes -$281,250, falling rates $33,750 and wider credit spreads -$36,750.

The preset scenarios

The presets are hypothetical. They borrow the shape of three well-known episodes, not their exact numbers, and each real episode played out differently across markets and over weeks or months.

Scenario Stocks Rates Credit spreads This portfolio
2008-style crisis −45% −150 bp +350 bp -$284,250
2020-style crash −30% −100 bp +200 bp -$186,000
2022-style rate shock −20% +250 bp +100 bp -$191,750
Custom (default) -15% 100 bp 75 bp -$124,125

The rate-shock scenario has the smallest stock move of the three presets but costs slightly more than the 2020-style crash, because the bond funds lose money alongside the stocks instead of cushioning them.

Bonds do not always hedge stocks

A traditional stock-and-bond portfolio relies on Treasuries rising when stocks fall. That works when a crisis pushes investors toward safety and central banks cut rates. It fails when the shock itself is rising rates or inflation, because stocks and bonds then fall together.

Lengthening the Treasury fund’s duration from 6 to 17 years, as with a long-term Treasury fund, shows the trade-off:

Treasury fund duration 2008-style crisis 2022-style rate shock
6 years (the example) -$284,250 -$191,750
17 years -$251,250 -$246,750

Long Treasuries soften the crash and deepen the rate shock. A stress test cannot tell you which scenario is coming; it shows how much each one would cost so that you can choose a mix whose worst case you can accept.

Building a useful scenario

  • Combine factors. Real crises move several things at once. A stock crash with no rate or credit move understates the damage to a balanced portfolio’s corporate bonds and overstates the help from Treasuries, or the other way round.
  • Set the size from your own judgment, not from a single date. Peak-to-trough moves depend heavily on the start and end dates chosen; round, deliberately severe numbers are easier to reason about.
  • Reverse the question. Ask what stock move would cost you a loss you could not tolerate, then try custom scenarios until the total reaches that figure. That tells you how much room the portfolio has.
  • Check each holding’s role. The hardest-hit holding here is the US stock index fund, simply because it is the largest stock position. A small, high-beta holding can look scarier per dollar while mattering less to the total.

What this calculator does not include

  • Non-linear effects. Beta and duration are first-order measures. Bond convexity, options, leveraged funds and assets that gap down behave differently in large moves.
  • Changing correlations and betas. In crises, betas of risky assets often rise and diversification shrinks; the model holds sensitivities fixed.
  • Other risks: currency moves on foreign holdings, commodity prices, liquidity (being unable to sell at the quoted price) and single-company events.
  • Time and path. The shock is applied instantly. Losses spread over months, rebalancing, withdrawals and recovery are not modeled.
  • Probability. A stress test says nothing about how likely a loss is. For that, combine it with Value at Risk or a Monte Carlo simulation.

Frequently asked questions

What is a portfolio stress test?
A stress test estimates what a portfolio would lose under a specific, severe scenario, such as a stock crash combined with a jump in interest rates. Unlike VaR, it does not say how likely the scenario is. It answers a what-if question, which makes it useful for losses that are rare or have never happened in your data.
Are the preset scenarios the real 2008, 2020 and 2022 market moves?
No. They are illustrative hypothetical shocks loosely inspired by the character of those episodes: a deep equity crash with falling yields and wide credit spreads, a fast crash with falling yields, and a rate shock that hit stocks and bonds together. They are not the measured moves of any index. Use the custom scenario to enter figures from your own research.
Where do I find a fund's beta and duration?
Most fund factsheets list the effective duration of bond funds, and many list beta against a stock index. For a stock fund without a published beta, 1.0 for a broad index fund is a reasonable start; the beta calculator estimates it from price history. Cash and money market funds have a beta and duration near zero.
Why does my bond fund lose money in the rate-shock scenario?
Because bond prices fall when yields rise, by roughly the duration times the change in yield. A fund with a duration of 6 years loses about 6% for each one-point rise in rates. In the example's rate-shock scenario, the rate change contributes -$56,250 and wider spreads -$10,500, on top of the stock losses.
How often should I run a stress test?
Whenever the portfolio's mix changes meaningfully, and at least once a year as a check that the worst plausible loss is still one you could live with. Running several scenarios matters more than running one often: a portfolio that survives a crash can still be badly hurt by a rate shock.

Related calculators

All calculators →

This calculator is for education and planning. It uses the formulas described above and the inputs you provide; real results depend on fees, taxes, timing and other details that a general tool cannot know. PromtFinance does not give personal financial advice. Check important decisions with your provider or a qualified professional.