Skip to main content
Calcimator

Probability Tree Calculator

Calculate sequential and combined probabilities for multi-stage probability trees with up to 4 branches.

About this calculator

This calculator multiplies together the probabilities of up to four independent branches to get Combined Probability, then derives Complement and At Least One Success from it. Branch 3 and Branch 4 are optional: the engine only folds them into the tree when their value is strictly greater than 0 (activeBranches.push(branch3Prob) only runs "if (branch3Prob > 0)", line 12), so with both left at their default of 0, Combined Probability is just Branch 1 × Branch 2 — a two-branch tree, not a four-branch one. Because Combined Probability is a plain product, Branch 1 and Branch 2 move it by exactly the same proportional amount at any shared value, including the calculator's defaults of 0.5 each.

Total Entropy sums the binary entropy of each active branch, and at the default 0.5 for both branches, a proportional nudge shows zero net effect — not because entropy is flat there, but because 0.5 sits exactly at the peak of the binary entropy curve, which is symmetric around p = 0.5 (entropy at 0.55 equals entropy at 0.45), so the calculator's paired up/down probe cancels out exactly at that specific point. Away from p = 0.5, entropy does change with branch probability. The calculator does not account for dependent or conditional branches: combinedProb is a flat product of the entered probabilities (activeBranches.reduce((acc, p) => acc * p, 1), line 18), which is only correct when the branches are genuinely independent — a real tree where a later branch's probability depends on an earlier one's outcome is outside this model.

Inputs

Results

Combined Probability

0.25

At Least One Success

0.75

Complement (not all)0.75
Active Branches2
Total Paths4
Expected Successes1
Total Entropy (bits)2
How to Use This Calculator
  1. Enter the number of branches at each node of the probability tree.
  2. Input the probability for each branch at each level (probabilities at each node must sum to 1).
  3. Label each leaf node with its outcome.
  4. Review the probability of each path and combined outcome probability.
  5. Sum leaf probabilities for a given outcome to calculate its total probability using the law of total probability.

How the result changes with Branch 1 Probability

Branch 1 ProbabilityCombined ProbabilityAt Least One Success
0.250.1250.625
0.380.18750.6875
0.750.3750.875
10.51

What each input means

Branch 1 Probability
Probability of the first event occurring (0 to 1)
Branch 2 Probability
Probability of the second event (conditional on first if sequential)
Branch 3 Probability (0 = skip)
Set to 0 to exclude this branch from the tree

How this is calculated

Worked example, using the default values

  1. Identify Input Parameters
    4 parameters
    Branch 1 Probability = 0.5, Branch 2 Probability = 0.5, Branch 3 Probability (0 = skip) = 0, Branch 4 Probability (0 = skip) = 0 = 4 input(s) provided
  2. Calculate Combined Probability
    0.25 = 0.25
  3. Calculate At Least One Success
    At Least One Success
    0.75 = 0.75
  4. Calculate Complement
    Complement
    0.75 = 0.75
  5. Calculate Active Branches
    Active Branches
    2 = 2

Engine last updated . Checked against 3 independently-derived tests — how we verify calculators. Built by Paul Gunder, a software engineer, not a licensed financial, medical, or legal professional.

Frequently Asked Questions

Do Branch 3 and Branch 4 count toward Combined Probability if I leave them at 0?

No. The engine only adds a branch to the tree when its probability is strictly greater than 0 (line 12); at the default of 0 for both, Combined Probability is computed as just Branch 1 × Branch 2, a two-branch tree. Entering any value above 0 for Branch 3 folds it into the product as a third factor.

Does Branch 1 or Branch 2 matter more for Combined Probability?

Neither — Combined Probability is a plain product of the active branch probabilities (line 18), so at equal values (both default to 0.5) a proportional change to either branch moves Combined Probability by the identical proportional amount; there's no asymmetry between the two fields.

Why does nudging Branch 1 Probability up or down show no change in Total Entropy?

Branch 1 Probability defaults to exactly 0.5, which is the peak of the binary entropy function; because that function is symmetric around 0.5 (entropy at 0.55 exactly equals entropy at 0.45), the site's paired up/down probe cancels out to zero net change at this specific default — entropy does move at other probability values.

What does Total Entropy actually measure here?

It's the sum of the Shannon binary entropy of each active branch's probability (line 40, -(p·log2(p) + (1-p)·log2(1-p))), measured in bits. A branch at 50/50 odds contributes the maximum possible 1 bit of entropy; a branch near-certain to succeed or fail contributes close to 0 bits.

The questions that sit next to this one — chosen by subject, including calculators filed under a different category.

More in Math & Statistics.