IRB capital and 99.9% portfolio loss calculator

Enter each segment’s EAD, PD, LGD and maturity to see its IRB risk weight, the capital your book needs at your requirement and portfolio loss at your chosen confidence level in a minute.

Rules and capital

8% is the minimum. Enter your total requirement with buffers to see the capital you need to hold.

Leave it at 0 to skip the comparison.

The IRB formula uses 99.9%, one bad year in a thousand. Capital always uses that level, and this setting changes only the portfolio loss.

Capital needed

€83,013,373
Risk-weighted assets€790.6M
Average risk weight44.7%
Expected loss€8.9M
–€64.7M
Unexpected loss€55.8M
–€8M

The book carries €790,603,551 of risk-weighted assets and has an average risk weight of 44.7%. At a 10.5% requirement, it needs €83,013,373 of capital. The €75,000,000 held falls €8,013,373 short. In a year bad enough to reach the 99.9% level, the book loses €64,701,502, compared with €8,885,000 in an average year.

Loss over one year

The curve shows how likely each loss is in a year, assuming the segments move together with one economy as the IRB formula does. The dashed line marks expected loss, the red line marks loss at the chosen confidence level, and the gap is unexpected loss covered by capital.

Loan segments
NameAsset classEAD, €PD, %LGD, %Effective maturity (years)Annual turnover (€ million)

These five segments are a made-up bank book. Type over them or paste your own.

Enter one segment per line with the name, asset class, EAD, PD %, LGD %, maturity in years and turnover in € million, separated by tabs, commas or semicolons. Use corporate, sme, mortgage, revolving or retail as the asset class.

Capital by segment

Each bar shows a segment’s capital at the requirement, with its risk weight beside it.

Segment figures

NameAsset classEADPDLGDRisk weightRWACapitalExpected loss–CorrelationEffective maturity (years)
Large companiesCorporate€400,000,0000.60%40.0%67.1%€268,288,889€28,170,333€960,000€17,303,48620.89%2.5
Mid-size firmsSME corporate€150,000,0001.80%40.0%88.9%€133,275,625€13,993,941€1,080,000€9,429,89314.21%3
MortgagesResidential mortgages€900,000,0000.90%15.0%17.5%€157,696,508€16,558,133€1,215,000€13,830,72115.00%–
Credit cardsQualifying revolving retail€120,000,0003.00%80.0%68.7%€82,483,598€8,660,778€2,880,000€9,478,6884.00%–
Consumer loansOther retail€200,000,0002.50%55.0%74.4%€148,858,932€15,630,188€2,750,000€14,658,7158.42%–
Total€1,770,000,00044.7%€790,603,551€83,013,373€8,885,000€64,701,502

Open RAROC calculator

See how the expected loss of these segments grows under a downturn against the same capital. Open portfolio stress test

Get the result by email

The next step is to work out this capital figure inside each credit decision as every application is approved. Start your trial

See the formulas
K = [LGD × N((G(PD) + √R × G(0.999)) ÷ √(1 − R)) − PD × LGD] × MA
Risk weight = K × 12.5    RWA = K × 12.5 × EAD    Capital = RWA × Capital requirement
R (Corporate) = 0.12 × w + 0.24 × (1 − w),  w = (1 − e^(−50 × PD)) ÷ (1 − e^(−50))
R (SME corporate) = R (Corporate) − 0.04 × (1 − (S − 5) ÷ 45),  5 ≤ S ≤ 50
R (Residential mortgages) = 0.15    R (Qualifying revolving retail) = 0.04
R (Other retail) = 0.03 × w + 0.16 × (1 − w),  w = (1 − e^(−35 × PD)) ÷ (1 − e^(−35))
MA = (1 + (M − 2.5) × b) ÷ (1 − 1.5 × b),  b = (0.11852 − 0.05478 × ln PD)²,  1 ≤ M ≤ 5  (Corporate, SME corporate)
PD ≥ 0.05%, Qualifying revolving retail 0.1%
Expected loss = PD × LGD × EAD
Portfolio loss at q = Σ LGD × N((G(PD) + √R × G(q)) ÷ √(1 − R)) × EAD
Unexpected loss = Portfolio loss at q − Expected loss

The page applies the IRB risk weight formula and its one-factor loss model to the figures entered, using the asset correlations and PD floors set by the formula. It does not model LGD floors, defaulted exposures, the output floor, the correlation uplift for large financial firms or credit risk mitigation, and the result is an estimate for planning, not a regulatory return.

IRB capital and portfolio loss

The IRB formula uses a loan segment’s PD, LGD and EAD to calculate its risk weight and risk-weighted assets. It also estimates expected loss and portfolio loss at a chosen confidence level.

Use the result to see how much capital the loan book needs at your chosen capital requirement. Compare it with capital held, then carry the segment with the most capital into the risk-adjusted return calculator or all segments into the portfolio stress test.

Common questions

What is an IRB risk weight?

The IRB formula calculates capital per unit of EAD and converts it into a risk weight. The tool calculates a risk weight for each segment from its inputs and asset class.

How do you calculate IRB capital?

The formula calculates each segment’s capital from EAD, PD and LGD, with asset class and maturity affecting the calculation. The tool adds the segment results and applies the capital requirement to risk-weighted assets.

How is credit VaR at 99.9% calculated?

The tool uses the IRB formula’s one-factor loss model at the selected confidence level. It shows the portfolio loss at that level alongside expected loss.

How do PD and LGD affect risk-weighted assets?

PD and LGD feed the IRB risk weight calculation for each segment. The tool multiplies each segment’s risk weight by EAD to calculate risk-weighted assets.

What is unexpected loss on a loan portfolio?

Unexpected loss is portfolio loss at the selected confidence level less expected loss. In the model, capital covers the gap between expected loss and the confidence-level loss.