Credit Risk Management Simulator

Compute expected loss, per-segment RAROC and compare stress scenarios for your credit portfolio. Free, no signup needed.

Advanced simulator

Do I approve, review or reject each segment?

Decide whether to approve, review or reject each segment. The tool turns default probability and expected loss into a concrete operating policy.

Portfolio segments

Each row is a segment with default probability (PD), loss given default (LGD) and rate.

Segment# accountsAvg. exposureDefault probability (PD)Loss if default (LGD)Annual rate (APR)Life (yrs)DPDStageRating

Policy & funding

Cross-cutting parameters of your credit operation.

Pricing & funding

Capital (Basel)

IFRS 9 staging

Custom stress scenario

Define your own multipliers for committee review. Useful for portfolio-specific shocks.

Saved scenarios

Fill in your data to see the report

This simulator only generates a diagnosis, charts and recommendations when it has your real business values. Fill the editor above and the report will appear automatically.

  • Portfolio segments
  • Total exposure

Load a realistic case to see how the report looks. You can edit any field afterwards.

Connect with other simulators

Methodology and assumptions

How results are calculated, what we assume when modeling, and where the method loses precision.

Formula

EL = PD × LGD × EAD · Portfolio UL = √(Σ UL_i² + 2·Σ ρ·UL_i·UL_j) · Economic capital ≈ UL × multiplier (Euler-allocated)

Assumptions

  • PDs and LGDs estimated at 12 months (point-in-time).
  • Default asset correlation 0.15 (retail) / 0.20 (corporate) per BCBS-189.
  • Economic capital allocated to the segment via Euler (UL_i ÷ Σ UL_i × Portfolio UL).

Applicability limits

  • Pro-rata UL allocation is not equivalent to Basel III IRB regulatory capital.
  • Stress does not include intra-period rating migrations.
  • For high-concentration portfolios (HHI > 0.25) the Gaussian formula understates fat-tail risk.

How it works

1. Load your segments

Define each segment with # of accounts, average exposure, PD, LGD and APR. Start with defaults and customize.

2. Calibrate policy

Funding cost, operating cost, target RAROC and max tolerable EL. Your policy determines which segments destroy value.

3. Compare scenarios

Review base, conservative and aggressive. Spot segments to shrink or reprice, and generate an AI interpretation.

Frequently asked questions

1What is expected loss and how is it calculated?
Expected loss (EL) is the average annual loss you anticipate from defaults. It is EL = PD × LGD × EAD, where PD is probability of default, LGD is the fraction of the loan you lose under default, and EAD is your total exposure.
2What is RAROC and why does it matter?
RAROC is risk-adjusted return: how much each unit of exposure earns after expected losses, funding cost, and operating cost. If RAROC is below your cost of capital, the segment destroys value even if it shows accounting profit.
3Does this simulator replace an internal risk model?
No. It's an educational scenario tool — it assumes PD, LGD and exposure are correct. A real internal model covers vintages, bucket migration, concentrations and regulation. Use it to understand drivers and prioritize analysis, not as an official model.
4Why do the conservative and aggressive scenarios move PD and LGD?
Because they're the most cycle-sensitive variables. Under stress PD rises and recoveries fall (LGD rises). Our conservative scenario multiplies PD ×1.5 and LGD ×1.15, aligned with common simple stress-testing practices.

Related simulators

Connect credit risk to cash impact and overall financial profitability.

Financial disclaimerIndicative result — not professional financial advice. Consult a specialist before making investment or credit decisions.

View methodology

Complete guide

Credit risk simulator: from the static scorecard to dynamic stress testing

In Latin American banking, fintech, and credit unions, prudential supervision no longer accepts a static bureau-driven scorecard. Mexico's CNBV, Peru's SBS, Colombia's SFC, Bolivia's SMV/ASFI, and Chile's CMF require internal models with quarterly backtesting, vintage segmentation, and stress testing under adverse scenarios aligned to Basel III. Annual expected loss is no longer reported as a historical average; it is decomposed, stressed, and reconciled against the regulatory capital estimate. Risk teams still running a master Excel with annual refreshes are years behind the minimum standard regulators and boards expect.

A modern credit risk simulator operates on the foundational equation of IRB Advanced:

Expected Loss (EL) = PD x LGD x EAD

where PD (probability of default) is the probability that a borrower will default within 12 months, LGD (loss given default) is the unrecoverable share after liquidating collateral and collecting, and EAD (exposure at default) is the expected balance at the moment of default. For revolving products (credit card, SMB line, payroll-deduct loan with a cap), EAD incorporates a CCF (credit conversion factor) that translates unused availability into projected exposure. In mortgage and auto lending, EAD includes outstanding principal plus accrued interest and pending fees at the cut-off date for default.

Numeric example: Mexican consumer portfolio

Assume a non-bank lender with a USD 29.4M consumer portfolio spread across 25,000 loans. With an average PD of 4.5%, LGD of 65%, and EAD equal to the outstanding balance, annual expected loss is:

EL = 0.045 x 0.65 x 29,400,000 = USD 860,000

That is 2.93% of the portfolio. If provisions sit at 3.0%, you are barely covering the mean - zero cushion for an adverse scenario. A stress test that raises PD to 8% (moderate recession, level observed in 2009 and partially in 2020) and LGD to 75% (lower recovery due to sectoral unemployment) lifts expected loss to USD 1.76M, 6% of the portfolio. The USD 880K gap against provisions is your capital shortfall - the metric CNBV and the risk committee track to trigger corrective actions before the problem moves from accounting to reputation.

If you further refine EAD with an 85% CCF on revolving lines (Basel II Foundation standard), the number rises another 3-5% on books with material revolving exposure. Moving from naive to calibrated typically adds 5-8 basis points to reported EL.

RAROC and risk-adjusted pricing

Risk-adjusted return on capital (RAROC) is the bridge between origination and treasury. It is calculated as:

RAROC = (Net income - EL - operating costs) / Economic capital

If RAROC for a segment falls below the cost of capital (typically 15-18% for LatAm fintech, 12-14% for traditional banking), that segment destroys value even if it sells. The simulator lets you evaluate each origination policy by RAROC before signing off on commercial pricing, avoiding the classic error of scaling placement while subsidizing growth with expected loss. Finance and credit align on the same number, one that is defensible before regulators and the audit committee.

Economic capital calculation requires defining a confidence interval (99% standard, 99.9% for systemic institutions), assumed default correlation, and an alpha multiplier on unexpected loss. The simulator lets you set those parameters on a single screen instead of rebuilding them from scratch in a spreadsheet every planning cycle.

Credit VaR and economic capital

Beyond expected loss, 99.9% credit VaR measures the maximum plausible loss over a 12-month horizon at that confidence level. The gap between VaR and EL is unexpected loss (UL), which Basel requires banks to cover with regulatory capital. For concentrated portfolios (above 20% in one sector or 5% in a single borrower), UL spikes due to default correlation - the sectoral contagion that shattered mortgage portfolios in 2008 and several LatAm fintechs in 2023 when tourism and delivery contracted together.

Credit VaR math is simulated with Monte Carlo over correlated defaults. With 10,000 trajectories, the 99.9 percentile gives you the loss in the worst 0.1% of cases - scenarios that mathematically occur every 1,000 years but appear every 20-30 years in real credit cycles due to fat tails. That is the figure the board needs to decide on additional capitalization, exposure limits, and reinsurance or portfolio securitization.

Backtesting and vintages

A PD model is not validated by looking at total default; it is validated by vintage. You segment the portfolio by origination month and track the cumulative default curve at 3, 6, 12, 18, and 24 months. If the June 2025 origination vintage shows 12-month cumulative default at 7%, but your model projected 4%, you have a 75% calibration drift - your scoring is broken or your target market has shifted. The simulator runs the same exercise on the inputs you define, with no data warehouse or SQL required.

Vintage analysis also exposes roll rate - the speed at which a loan migrates from 0-30 bucket to 30-60, to 60-90, and finally to write-off. A 30->60 roll rate of 60% means 6 out of 10 loans entering early delinquency end up in advanced delinquency. In healthy portfolios that number sits below 35%. The simulator loads your buckets and computes the implied Markov chain, projecting NPL formation and the next quarter's provisioning load.

Segmentation, scorecard, and policies

The advantage of a simulator over Excel appears when you want to evaluate 8 or 12 origination policies in parallel. Score cut-off changes, maximum amounts, maximum tenor by income level, flexible vs strict income verification, use of alternative data (transactional, telecom, psychometric) - each lever translates into deltas on placement, default, and RAROC. Instead of running 12 Excel tabs, you define policies as variants and the tool returns a comparison table. For the credit committee that is the difference between an intuition-based decision and one defended with quantitative evidence and stress scenarios.

In segments like SMB and microloans, where bureau data is limited or absent, behavioral scoring segmentation with at least 6 months of payment history becomes the backbone of the model. PD is recalibrated quarterly on a 24-month rolling window and subjected to out-of-time backtesting to avoid overfitting.

IFRS 9 provisions and forward-looking scenarios

Since 2018, IFRS 9 has mandated a shift from incurred-loss to forward-looking expected-loss provisions. The model requires estimating 12-month EL for Stage 1 portfolio (no significant deterioration) and lifetime EL for Stage 2 (significant deterioration) and Stage 3 (default). The simulator multiplies the complexity: you need stage-transition probabilities, projection of macro variables (GDP, unemployment, interest rate), and adjustments for statistical significance. Doing this in Excel for 40,000 loans is unviable; in the simulator it takes hours, not weeks.

Differentiation from spreadsheets

Excel solves an average. It does not solve inter-sector correlation, log-normal exposure distributions, or conditional dependence between PD and LGD (downturn LGD). A credit portfolio simulator with 10,000 Monte Carlo iterations on the EL = PD x LGD x EAD formula - each variable sampled from its distribution - delivers P50/P90/P99 percentiles that turn your board report from anecdote into quantitative evidence aligned with prudential supervision.

The simulator also produces regulator-ready artifacts: stress test tables with base, adverse, and severely adverse scenarios; EL decomposition by vintage and segment; sensitivities to rates and unemployment; and traceability of assumptions. Documentation that, in internal audit and supervisory visits, is the difference between a clean approval and a letter of observations.

Model governance and three lines of defense

A credit risk model does not live with the analytics team; it lives inside a model governance framework with three lines of defense. First line: the origination and collections team that uses the model daily. Second line: the independent Model Risk Management unit that challenges assumptions, replicates calculations, and approves or vetoes production use. Third line: internal audit that reviews the entire governance process. The simulator automatically generates the documentation - input datasets, assumptions, scenario results - that feeds the three lines without rebuilding it by hand each cycle.

In LatAm, Mexico's CNBV published in 2023 Article 242 bis of the Single Banking Circular, which mandates explicit model-governance documentation for all regulated institutions, aligned with SR 11-7 and the European TRIM framework. Non-compliance penalties are no longer hypothetical; Banxico and CNBV issued aggregate fines above USD 11.8M in 2024 for deficiencies in internal-model validation.

Conclusion

For risk teams in Latin American fintech, cooperatives, and mid-market banking, the simulator is the practical bridge between origination policy and the Basel III framework - without investing in SAS, Moody's CreditMetrics, Numerix, or a big-four consultant. Democratizing credit stress testing is part of the institutional maturity that separates a financial sector that learned from 2008 and 2020 from one that will discover the next crisis the hard way. The next time the board asks "what if rates rise 300 basis points and unemployment hits 7%?", having a quantitative answer in 10 minutes instead of 10 days changes the conversation and the reputation of the risk function inside the institution.

Illustrative case

Composite case for instructional purposes: combines sector dynamics with realistic figures. Names are fictional and do not represent a specific company.

Currency: USD — figures shown in USD.

Rapid Credit LatAm, a consumer-finance fintech, closed 2024 with a portfolio of USD 48.2M spread across 41,000 loans averaging USD 1,180 at 18 months. Reported delinquency was 3.4%, with provisions at 3.8%. In January 2025, the risk committee detected that 38% of the portfolio was concentrated in tourism and restaurant workers in Quintana Roo and Baja California Sur - sectors with high seasonality and exposure to drops in international tourism.

The team ran a stress test in the simulator with three scenarios: base (PD 4.5%, LGD 65%), moderate (PD 7.0%, LGD 72%, simulating a 20% drop in tourism), and severe (PD 10.5%, LGD 80%, replicating 2020-Q2 conditions). Expected loss moved from USD 1.41M (base) to USD 2.41M (moderate) and USD 4.06M (severe). Provision shortfall in the severe scenario: USD 2.24M, equivalent to 46% of book capital.

With that evidence, the CRO presented three actions to the board: (1) close new origination in the tourism segment while sectoral PD stays above 5.5% on recent vintages, (2) raise rates 180 basis points in that segment so risk-adjusted RAROC clears 14%, (3) launch a preventive restructuring program for the 2,400 borrowers with deteriorating behavioral scores.

Six months later, tourism-segment risk-weighted portfolio contracted 31%, total-book RAROC rose from 11.2% to 15.8%, and provisions reached 4.9% - enough cushion to absorb the moderate scenario without impacting capital. Regulator CNBV highlighted the stress test in the supervisory visit as a good practice. Cost of running the full exercise: four hours of a senior analyst using the simulator, against the USD 106K quote an enterprise vendor had offered for the same deliverable.

From theory to calculation

When you need more than a quick calculation, our advanced simulators model full scenarios with your data.

See advanced simulators

Sector reference ranges

Indicative ranges based on public sector literature and operational observation. Your business may differ — use the numbers as a starting point, not as a target.

MetricValueSource
Mexico consumer credit portfolio delinquency index (Dec 2024)3.0%CNBV — Reporte de Estabilidad Financiera
Average LGD — unsecured consumer credit, LatAm60-75%Moody's Analytics — LossCalc benchmarks
Minimum regulatory capital (CET1) — Basel III8.0% APRBasel Committee — BCBS 2010
Provisions — non-bank commercial portfolio, Mexico2.8-4.5%CONDUSEF — Fintech Sector Report 2024
Fintech consumer default rate 2020 (COVID)7.8%Finnovista Radar 2021
Expected intra-sectoral default correlation0.15-0.25Basel II Foundation IRB
Sectoral concentration alert threshold>20% portafolioSBS Peru — Circular B-2184-2008

Frequently asked questions

1How do you calculate the credit risk of a portfolio?
It is calculated as aggregate expected loss: EL = sum of (PD x LGD x EAD) across every borrower, plus an unexpected loss (UL) component that incorporates default correlation. PD comes from a behavioral or application scoring model; LGD is estimated with historical recoveries net of collection costs; EAD is the outstanding balance plus a CCF for revolving lines.
2What is probability of default (PD)?
It is the statistical probability that a borrower will default (90+ days past due per Basel) within a 12-month horizon. It is estimated with logistic models, decision trees, or gradient boosting fed by bureau variables, income, job stability, and payment behavior. In healthy LatAm consumer portfolios it ranges between 2% and 6%; in microfinance it can reach 8-12%.
3What is LGD and how is it calculated?
Loss Given Default is the percentage of exposed balance that is lost after enforcing collateral, judicial collection, and out-of-court collection. It is calculated as 1 - (net recoveries / EAD) on closed vintages of at least 24 months. Unsecured consumer credit runs 60-75%; mortgage with real-estate collateral drops to 20-35%; auto to 40-55%.
4What is the difference between credit risk and market risk?
Credit risk is the expected loss from counterparty default; market risk is the loss from price movements of assets (rates, FX, equity). A bank carries both: credit risk on its loan book, market risk on its treasury portfolio. Basel III capitalizes them separately with distinct methodologies (IRB for credit, VaR or FRTB for market).
5How do you run a stress test on a credit portfolio?
You define coherent adverse scenarios (recession, rate hike, sector drop), adjust PD, LGD, and EAD by segment based on scenario severity, recompute expected loss and required capital, and compare against provisions and available capital. The typical regulatory stress test uses 3 scenarios - base, adverse, and severely adverse - over a 3-year horizon.
6What is credit VaR?
It is the maximum loss of the credit portfolio that will not be exceeded at a given confidence level (typically 99% or 99.9%) over a 12-month horizon. Unlike expected loss (mean), VaR captures the tail - the stress scenarios. The gap between VaR and EL is unexpected loss, which Basel requires banks to cover with economic capital.
7What models exist for measuring credit risk?
The four standard frameworks are: CreditMetrics (JP Morgan, rating migrations and mark-to-market), KMV-Moody's (distance-to-default using equity price), CreditRisk+ (Credit Suisse, actuarial, default frequencies), and Credit Portfolio View (McKinsey, econometric with macro variables). For SMB and fintech, simplified variants combining logistic scoring with Monte Carlo over the EL equation are used.
8How do you diversify a credit portfolio by sector?
Apply maximum concentration limits by economic sector (typically 15-20%), geography (maximum 25-30%), borrower size (Herfindahl index below 0.10), and product. Effective diversification requires intra-sector default correlations to stay below 0.25; otherwise a sectoral shock triggers correlated default and diversification collapses.
9What credit risk indicators do banks use?
The core KPIs are: delinquency ratio (IMOR), non-performing loans over total loans, provision coverage (provisions / NPL), cost of risk (period provisions / average portfolio), recovery rate, annualized expected loss over portfolio, and RAROC by segment. Additionally, banks track rating migrations, roll rates between delinquency buckets, and NPL formation rate.
10How do you adjust origination policies for a recession?
Raise the score cut-off by 10-15%, trim maximum amounts in segments more correlated with the cycle (discretionary consumer, tourism, construction), shorten tenor to reduce average EAD, reinforce income verification, and lower LTV on collateralized products. The simulator lets you see the pro-forma impact on placement, expected loss, and RAROC before updating rules in the originator.

Tools from the same topical cluster. Use them together to close the loop on your analysis.

Last updated: April 30, 2026 · Reviewed by the Simúlalo editorial team. Figures and benchmarks are indicative; verify with your own data before deciding.

View methodology

How this simulator was reviewed

What you'll see, what it prevents, and where you shouldn't trust it

Every simulator on Simúlalo ships with the same editorial structure: two hypothetical worked examples with numbers, the errors it helps you avoid, the model's declared limitations, and a visible financial disclaimer. The review is signed and dated.

Hypothetical caseCase A

A lender that pauses origination when segment RAROC is 220 bps below cost of capital

A non-bank financial institution with a $480M MXN portfolio has three segments: micro, SMB, and payroll. The micro segment is 18% of the portfolio with 9.5% PD, 65% LGD, 92% EAD weighting, and 38% gross yield. Under simplified Basel/IFRS-9, RAROC comes out at 12.8% — 220 bps below the internal cost of capital (15%). The stress test adds 30% to PD: RAROC falls to 7.4%. The decision: close new origination in micro for two quarters, clean up the portfolio, and reopen with a tightened scoring model.

Illustrative figures. Does not represent a real company or an investment recommendation.

Hypothetical caseCase B

A fintech that raises limits where pre-stress RAROC is 18.6%

A consumer credit fintech evaluates raising the average limit on the 'prime salaried' segment from $25,000 to $40,000 MXN per customer. That segment has 2.1% PD, 45% LGD, 88% EAD, and 31% yield. The simulator shows base RAROC of 18.6% — well above the 14% cost of capital. The stress (PD x 1.5) brings it to 14.9%, still profitable. The decision: raise limits in tranches and monitor monthly cohorts while keeping the rest of the portfolio intact.

Illustrative figures. Does not represent a real company or an investment recommendation.

Common mistakes it helps you avoid

Things a team or decision-maker might assume that this simulator forces you to verify before committing.

  • Confusing accounting provisions with economic expected loss: the first is mandated by IFRS-9, the second is PD × LGD × EAD and drives economic capital.
  • Applying the portfolio's average PD to an atypical segment: the simulator requires PD per segment so capital allocation reflects real risk.
  • Skipping stress testing: a portfolio can have healthy RAROC and break when PD doubles in a moderate recession.
  • Mixing pricing and risk underwriting: RAROC measures profitability, but the approve/reject decision also requires repayment capacity and exposure concentration.

Model limitations

What the simulator does not do, and where you need a professional or a specialized tool.

  • It is not a regulatory engine. It does not replace the official RWA calculation or the documentation required by your auditor or local regulator.
  • Migration matrices are assumed stable. In acute crises migrations accelerate and the model's assumptions stop holding.
  • Does not query bureaus in real time. PD and LGD are declared by the user or imported; the simulator does not pull from any bureau.
  • Economic capital is computed at standard confidence (99.9% by default). If your institution uses a different confidence, adjust before deciding.

When NOT to use this simulator

Do not use this simulator as a substitute for your IFRS-9 provisioning engine or the regulatory capital calculation reported by your risk unit. It is a scenario tool for accelerating the conversation between commercial, risk, and finance. Before presenting to a credit committee or to CNBV, Banxico, SBS, or your local financial authority, validate the numbers against your institution's official methodology.

Financial notice

Results are illustrative estimates and do not constitute financial, tax, accounting, or legal advice. Use the results as a reference point and validate important decisions with a certified professional.

Editorial review

Reviewed by the Simúlalo editorial team

This simulator was reviewed by the people listed below before being published. The review covers the declared formula, the model's assumptions, the explicit limitations, and the absence of unsupported financial claims.

They are part of the Simúlalo editorial team, focused on building financial tools that are clear, educational, and easy to interpret.

Last updated: We update this page when the methodology, sources used, or simulator structure change.

This tool uses standard financial formulas and user-supplied data. To explain concepts like rates, credit, risk, or cash flow we consult public and official sources (Banxico, SAT, CONDUSEF, CNBV, Banco de España, IFRS, BIS, among others). Simúlalo is not affiliated with, sponsored by, or endorsed by these institutions.