← Math & statistics

Probability tree & 2×2 table (AND/OR, complement)

Build events like AND / OR / NOT, highlight the matching cases, and learn products, sums, and 1−P with step-by-step explanations.

Everything runs in your browser. Use the example chips to get a correct first result in seconds, then edit probabilities and events to match your exercise.

Other languages 日本語 | English | 简体中文 | Español | Português (Brasil) | Bahasa Indonesia | Français | हिन्दी | العربية

How to use (3 steps)

  1. Choose Tree (sequential trials) or 2×2 table (A/¬A × B/¬B).
  2. Enter branch probabilities (tree) or counts/probabilities (table).
  3. Build the event with AND / OR / NOT and read the highlighted cases + steps.

Tip: For “at least one”, the complement method often uses fewer cases.

Examples

Inputs

Display / settings

Teacher notes

  • AND (A∩B): one path → multiply branch probabilities.
  • OR (A∪B): multiple paths/cells → sum the matching cases (avoid double counting).
  • Complement (Ac): P(Ac) = 1 − P(A); great for “at least one”.

Event builder (AND / OR / NOT)

Your selection is the event you want. The tool highlights matching paths/cells and sums their probabilities.

Expression:

Results


        

        

      

Visuals (highlighted)

Tree diagram

Leaf list (accessible)

How it’s calculated

    How to use this calculator effectively

    This guide helps you use Probability tree & 2×2 table (AND/OR, complement) in a repeatable way: define a baseline, change one variable at a time, and interpret outputs with explicit assumptions before you share or act on results.

    How it works

    The page applies deterministic logic to your inputs and shows rounded output for readability. Treat it as a comparison workflow: run one baseline case, adjust a single parameter, and measure both absolute and percentage deltas. If a result seems off, verify units, time basis, and sign conventions before drawing conclusions. This approach keeps your analysis reproducible across teammates and sessions.

    When to use

    Use this page when you need a fast estimate, a classroom check, or a practical what-if comparison. It works best for planning and prioritization steps where you need direction and magnitude quickly before investing in deeper modeling, manual spreadsheets, or formal external review.

    Common mistakes to avoid

    Interpretation and worked example

    Run a baseline scenario and keep that result visible. Next, modify one assumption to reflect your realistic alternative and compare direction plus size of change. If the direction matches your domain expectation and the size is plausible, your setup is usually coherent. If not, check hidden defaults, boundary conditions, and interpretation notes before deciding which scenario to adopt.

    See also

    FAQ

    What is the difference between AND and OR in probability?

    AND means both happen (intersection), often computed by multiplying along a tree path. OR means either happens (union), computed by summing matching cases without double counting.

    How do I handle “at least one” questions?

    Try the complement: P(at least one) = 1 − P(none). This tool can suggest the opposite event when it uses fewer cases.

    Why does the 2×2 table use P(A∪B)=P(A)+P(B)−P(A∩B)?

    P(A)+P(B) counts the overlap A∩B twice. Subtracting P(A∩B) removes the double count, and the table makes the overlap cell visible.

    What if the branch probabilities in a stage do not sum to 1?

    Each stage must sum to 1 because it covers all outcomes at that stage. The tool shows which stage is off and the current sum.

    What should I do first on this page?

    Start with the minimum required inputs or the first action shown near the primary button. Keep optional settings at defaults for a baseline run, then change one setting at a time so you can explain what caused each output change.

    How to use Probability tree & 2×2 table (AND/OR, complement) effectively

    What this calculator does

    This page is for estimating outcomes by changing inputs in one controlled workflow. The model keeps your focus on variables, not output shape. Start with stable assumptions, then test sensitivity by changing one key input at a time to observe directional impact.

    Input meaning and unit policy

    Each input has an expected unit and a typical range. For reliable interpretation, check whether you are using the same unit system, period, and base assumptions across all runs. Unit mismatch is the most common source of unexpected drift in numeric results.

    Use-case sequence

    A practical sequence is: first run with defaults, then create a baseline log, then run one alternative scenario, and finally compare only the changed output metric. This sequence reduces cognitive load and prevents false pattern recognition in early experiments.

    Common mistakes to avoid

    Avoid changing too many variables at once, mixing incompatible data sources, and interpreting a one-time output without checking robustness. A single contradictory input can flip conclusions, so keep each experiment minimal and document assumptions as part of your note.

    Interpretation guidance

    Review both magnitude and direction. Direction tells you whether a strategy moves outcomes in the desired direction, while magnitude helps you judge practicality. If both agree, you can proceed; if not, rebuild the baseline and verify constraints before deciding.