Skip to content

Risk matrix and fault tree probability

CSP written lesson, 9 min read. CSP Domain 3: Risk Management

Written with AI help from the rules it covers, then fact-checked against them. Study aid, not site-specific safety advice. The official rule controls.

What you'll learn

  • Explain what a Risk Assessment Code combines and how to read one
  • Match a Risk Assessment Code (RAC) to a risk level using the standard's matrix
  • Apply the AND gate formula to independent events
  • Apply the OR gate formula to independent events
  • Recognize when simple gate formulas do not apply

Severity plus probability makes a Risk Assessment Code (RAC)

Risk assessment asks two questions about every hazard: how bad could the outcome be, and how likely is it? MIL-STD-882E, the Department of Defense system safety standard, answers with a single code. A Risk Assessment Code (RAC) is a combination of one severity category and one probability level (MIL-STD-882E, Tables I-III). Both parts are required: severity alone is not a RAC, and probability alone is not a RAC.

Key rule

Assessed risks are expressed as a RAC, which is a combination of one severity category and one probability level.

MIL-STD-882E, Tables I-III

The standard gives its own example: a RAC of 1A is the combination of a Catastrophic severity category and a Frequent probability level (MIL-STD-882E, Tables I-III). Read the code in order: the first character names the severity category (1 is Catastrophic) and the second names the probability level (A is Frequent). Severity comes first, probability second. Exam questions often ask you to name the two elements of a code like this one.

Tip: if an answer choice treats a RAC as only a severity rating or only a likelihood rating, it is wrong. A RAC is always the pair.

From RAC to risk level

A code by itself is a label. The decision tool is the matrix that converts each label into a risk level. Table III assigns a risk level of High, Serious, Medium, or Low to each RAC (MIL-STD-882E, Tables I-III). That risk level feeds the program's risk acceptance decisions.

The pieces of a MIL-STD-882E risk assessment
ItemWhat it does
Table IDefines the severity categories
Table IIDefines the probability levels
Table IIIAssigns High, Serious, Medium or Low to each RAC
RACOne severity category paired with one probability level

Programs do not get to invent their own scales casually. The system safety program plan lists the severity categories, probability levels and RACs to be followed, and the definitions in Tables I and II and the RACs in Table III shall be used, unless tailored alternative definitions or a tailored matrix are formally approved in accordance with DoD Component policy (MIL-STD-882E w/Change 1, PDF p. 34). "Shall" makes the default mandatory, and the only exception is formal approval under Component policy.

What the assessment is used for

The goal of risk mitigation is not to produce a good-looking RAC. The Hazard Management Plan (HMP) shall emphasize that the goal should always be to eliminate the hazard if possible. When a hazard cannot be eliminated, the HMP should describe the process for determining how the associated risk could be reduced to the lowest acceptable level within the constraints of cost, schedule, and performance, by applying the system safety design order of precedence (MIL-STD-882E w/Change 1, PDF p. 41). Note the wording: the plan "shall" emphasize elimination, while describing the reduction process is a "should".

Risk assessment is also not a one-time event. After fielding, mishap reports, user feedback and experience with similar systems may show that the risk of a known hazard is higher or lower than previously recognized. In these cases, the revised risk shall be accepted in accordance with applicable DoDI 5000 series (MIL-STD-882E w/Change 1, 4.3.7, PDF p. 21). Re-assess, then re-accept.

Where fault trees fit

Risk assessments can be qualitative or quantitative. The HMP must describe the process for determining whether a qualitative or quantitative risk assessment is appropriate for a given hazard, and it identifies the analytical techniques to be used, with Fault Tree Analysis (FTA) named as an example (MIL-STD-882E w/Change 1, PDF p. 41).

A fault tree works top-down. The top event is the undesired outcome (for example, a crush injury at a press). Below it, basic events such as a failed interlock or a bypassed guard are connected by logic gates. An AND gate means every input must occur for the output to occur. An OR gate means any one input is enough. Once each basic event has a probability, the gate formulas calculate the probability of the output event, and you can compare it to the probability levels used in the RAC.

Gate formulas for independent events

The Fault Tree Handbook gives the formulas for two events A and B that are independent. Independent means that knowing A occurred does not change the probability of B, written P(B|A) = P(B) (Fault Tree Handbook, Chapter VII). Let Q be the output of the gate.

AND gate (independent events)

P(Q) = P(A) × P(B)

P(Q)
probability that the gate output occurs
P(A), P(B)
probabilities of the two input events, each between 0 and 1

Fault Tree Handbook, Chapter VII

OR gate (independent events)

P(Q) = P(A) + P(B) − P(A) × P(B)

P(Q)
probability that at least one input occurs
P(A), P(B)
probabilities of the two input events, each between 0 and 1
P(A) × P(B)
probability both occur (the overlap), subtracted so it is not counted twice

Fault Tree Handbook, Chapter VII

Key rule

Both formulas hold if A and B are independent events, that is, P(B|A) = P(B). If events are dependent, these simple forms do not apply.

Fault Tree Handbook, Chapter VII

Tip: check for independence before choosing a formula. The question will usually say the events are independent; if it says one failure makes another more likely, the simple product is not the answer.

Choosing between AND and OR

Pick the gate from the wording of the scenario, not from the numbers. "Both must occur" or "all barriers must fail" is an AND gate. "Either one is enough" or "any of these can start it" is an OR gate. Because probabilities are between 0 and 1, multiplying never gives more than the smaller input, and the OR formula never gives less than the larger input.

AND versus OR for independent events
GateMeaningFormulaResult vs inputs
ANDAll inputs occurP(A) × P(B)No higher than the smaller input
ORAt least one input occursP(A) + P(B) − P(A)P(B)No lower than the larger input

Why software does not fit this math

The gate formulas need a probability for every basic event. For hardware you may have data. For software you generally do not. The assessment of risk for software cannot rely solely on severity and probability, because determining the probability of failure of a single software function is difficult at best and cannot be based on historical data (MIL-STD-882E w/Change 1, 4.4, PDF p. 22). The standard therefore uses another approach for software that considers the potential severity and the degree of control the software exercises over the hardware.

Tip: do not assign a historical failure probability to a software function and feed it into a gate. The standard says that cannot be based on historical data.

Worked examples

  1. Example 1: AND gate: guard bypass and interlock failure

    Guard bypass probability
    0.1
    Interlock failure probability
    0.05
    Independence
    Events are independent
    1. The mishap needs both events, so use the AND gate: P(Q) = P(A) × P(B)
    2. P(Q) = 0.1 × 0.05
    3. P(Q) = 0.005

    Answer: 0.005

    The result is no higher than the smaller input because both events must occur. Adding the probabilities would be wrong for an AND gate (Fault Tree Handbook, Chapter VII).

  2. Example 2: OR gate: two ignition sources

    Electrical spark probability
    0.1
    Hot-surface contact probability
    0.2
    Independence
    Events are independent
    1. A fire starts if either occurs, so use the OR gate: P(Q) = P(A) + P(B) − P(A) × P(B)
    2. Sum: 0.1 + 0.2 = 0.3
    3. Overlap: 0.1 × 0.2 = 0.02
    4. P(Q) = 0.3 − 0.02 = 0.28

    Answer: 0.28

    The answer is 0.28, not 0.3. Skipping the subtraction counts the case where both events occur twice.

  3. Example 3: Same inputs through both gates

    P(A)
    0.5
    P(B)
    0.2
    Independence
    Events are independent
    1. OR gate: sum = 0.5 + 0.2 = 0.7
    2. OR gate: overlap = 0.5 × 0.2 = 0.1
    3. OR gate: P(Q) = 0.7 − 0.1 = 0.6
    4. AND gate: P(Q) = 0.5 × 0.2 = 0.1

    Answer: OR gate 0.6; AND gate 0.1

    With the same inputs, the OR result (0.6) is above either input and the AND result (0.1) is below either input. In general, AND never exceeds the smaller input and OR is never below the larger input. Choose the gate from the logic of the scenario.

On the job

A press hazard assessed with a fault tree

You are a system safety engineer on a DoD program, analyzing a crush hazard on a press built into the system. The injury requires both the light curtain and the e-stop to fail. Assume the light curtain fails with probability 0.05 and the e-stop with probability 0.1, and the failures are independent. Because both must fail, use an AND gate: 0.05 × 0.1 = 0.005 (Fault Tree Handbook, Chapter VII).

A tempting mistake is to use the OR formula, which would give 0.145, or to add the values to get 0.15. Both overstate the likelihood and misdirect your resources.

Next, map the 0.005 result to a probability level, pair it with the severity category of a crushing injury to form a RAC, and read the risk level from Table III: High, Serious, Medium or Low (MIL-STD-882E, Tables I-III). Then ask whether the hazard can be eliminated; if not, work out how the risk could be reduced to the lowest acceptable level within the constraints of cost, schedule, and performance, applying the system safety design order of precedence (MIL-STD-882E w/Change 1, PDF p. 41).

Common exam traps

  • Trap: "A RAC is just a severity rating."

    What the source says: A RAC combines one severity category and one probability level (MIL-STD-882E, Tables I-III).

  • Trap: "For an OR gate, just add P(A) and P(B)."

    What the source says: For independent events, subtract the product: P(A) + P(B) − P(A)P(B) (Fault Tree Handbook, Chapter VII).

  • Trap: "For an AND gate, add the probabilities."

    What the source says: For independent events, multiply: P(A) × P(B) (Fault Tree Handbook, Chapter VII).

  • Trap: "The gate formulas work for any two events."

    What the source says: These forms assume A and B are independent, P(B|A) = P(B) (Fault Tree Handbook, Chapter VII).

  • Trap: "Table III only gives severity."

    What the source says: Table III assigns a risk level of High, Serious, Medium, or Low to each RAC (MIL-STD-882E, Tables I-III).

  • Trap: "Software risk is just severity times probability from historical failure data."

    What the source says: Software risk cannot rely solely on severity and probability, and failure probability of a software function cannot be based on historical data (MIL-STD-882E w/Change 1, 4.4, PDF p. 22).

Quick review

  • A RAC is one severity category plus one probability level; 1A is Catastrophic and Frequent (MIL-STD-882E, Tables I-III).
  • Table III assigns High, Serious, Medium or Low to each RAC (MIL-STD-882E, Tables I-III).
  • AND gate, independent events: P(Q) = P(A)P(B); 0.1 × 0.05 = 0.005 (Fault Tree Handbook, Ch. VII).
  • OR gate, independent events: P(A) + P(B) − P(A)P(B); 0.1 and 0.2 give 0.28 (Fault Tree Handbook, Ch. VII).
  • Both gate forms require independence, and software failure probability cannot be based on historical data (MIL-STD-882E w/Change 1, 4.4, PDF p. 22).

Primary sources

Every rule and number above is checked against these sources before the lesson is published.

Keep going

This written lesson is free to read. The video lesson, the full question bank, timed mocks, the AI tutor and a study plan to your exam date come with every CSP pass. $80 per exam for 6 months, or $143 for the ASP and CSP together for 24 months. See passes

Take the free CSP diagnostic

25 or 50 questions, free, no card. You get a readiness score for each CSP domain.

Keep going in your CSP course

Your CSP pass opens every question, the video lessons, domain quizzes and timed mocks.

ASP®, CSP®, CHST® and SMP® are registered marks of the Board of Certified Safety Professionals (BCSP). PassCited is not affiliated with or endorsed by BCSP.