Skip to content
All apps

RWA formula playground

About this app

The Basel IRBA corporate formula as a 3D surface — PD (log) × LGD → risk weight. Sliders for PD/LGD/M, a marker wanders across the surface.

The idea

Under the IRB approach, the risk weight of a corporate exposure follows a fixed formula. The capital requirement is K = LGD · [Φ((Φ⁻¹(PD) + √R · Φ⁻¹(0.999)) / √(1−R)) − PD] · (1 + (M − 2.5) · b) / (1 − 1.5 · b), and the risk weight is RW = 12.5 · K. The asset correlation R falls from about 0.24 to 0.12 as PD rises, and the maturity term b = (0.11852 − 0.05478 · ln PD)² matters mostly at low PDs. Φ is the standard normal distribution and 0.999 the regulatory confidence level.

What the app shows

A rotatable 3D surface: PD on a log axis from 0.01 % to 20 %, LGD linear from 0 to 100 %, and the height is the risk weight in percent. Sliders for PD, LGD and effective maturity M (1 to 5 years) move a glowing marker across the surface, and K and RW are shown live. A formula panel breaks down R, b, K and RW with all parameters.

Try it yourself

Raise PD from 0.1 % to 1 % and then to 10 %: the risk weight rises steeply but not tenfold, and it flattens at high PDs. LGD, by contrast, acts linearly: an LGD of 45 % instead of 40 % means 12.5 % more capital. Finally, move M from 1 to 5 years and compare the effect at low and high PD. Regulatory floors for PD and LGD are not applied to the surface.

Frequently asked questions

How is the IRB risk weight calculated?
For corporate exposures, PD, LGD and maturity M are plugged into the regulatory formula. It returns the capital requirement K as unexpected loss at a 99.9 % confidence level, adjusted by a maturity factor. The risk weight is 12.5 · K, i.e. K divided by 8 %, and RWA are the risk weight times the exposure amount.
Why does the risk weight not rise in proportion to PD?
The formula contains the normal distribution, which flattens as PD increases, and the asset correlation falls with PD from about 0.24 to 0.12. In addition, expected loss PD · LGD is subtracted because it should be covered by provisions. As a result the risk weight grows quickly at low PDs and flattens at high ones.
What does the maturity adjustment b mean?
The factor (1 + (M − 2.5) · b) / (1 − 1.5 · b) reflects that longer maturities leave more room for credit deterioration. It raises the risk weight for long maturities, especially for good obligors with low PD. At high PDs the effect is small.
What can I do in the RWA formula playground?
You set PD, LGD and maturity with sliders and see the position on the 3D risk surface, together with K and RW as numbers. The surface can be rotated, and a formula panel explains every term.

Subject: IRBA audit (banking pool)

More from IRBA audit (banking pool)

A VisuApp by heyprof: interactive, free in your browser, no sign-up. What is a VisuApp? · All apps