Probability Calculator

P(A and B)

0.12

P(neither)

0.42

All results
Calculator inputs
?

Choose an event model, an independent-event solver, repeated trials or a continuous normal distribution.

?

Probability on a 0–1 scale: enter 0.4 for 40%. This is a marginal event probability, not a percentage.

?

Probability of event B on the same 0–1 scale. In series mode it is the success probability on each B trial.

?

Independent events multiply their probabilities. Mutually exclusive events never occur together. Otherwise enter a known joint probability.

One whole, four disjoint regions

The bar divides total probability into non-overlapping outcomes. Segment widths represent probability; this is not a Venn diagram.

Four non-overlapping probability regions

These four disjoint regions sum to 1. Inclusive OR is the first three regions; exactly one excludes Both.

Four non-overlapping probability regions
RegionProbabilityPercent
A only0.2828 %
Both A and B0.1212 %
B only0.1818 %
Neither0.4242 %

How to use the Probability Calculator

Calculate two-event probabilities, solve for an independent event, combine repeated trials or find a normal-distribution area. See a probability map and transparent calculation tables.

  1. 1. Enter your inputs

    Start with Calculate, P(A), P(B), Relationship. Use the units shown beside each field and open the field help when you need its assumptions.

  2. 2. Read the results

    Results update as you enter valid values. Review P(A and B), P(neither), P(A or B). Keep the entered units and settings consistent when comparing scenarios.

  3. 3. Check the calculation

    Probabilities use floating-point arithmetic; extreme series probabilities can underflow to zero. Normal tails beyond 40 standard deviations are displayed as zero. No claim that your real data follows a normal model.

    See the worked example and method

Understanding the Probability Calculator: uses, inputs and results

The Probability Calculator keeps intersection, union and complement probabilities consistent with the selected relationship between two events.

How do I calculate the probability of A or B?

Inclusive “or” means at least one event occurs, including the possibility that both occur. Add P(A) and P(B), then subtract their intersection to avoid counting that shared outcome twice. In symbols, P(A or B) = P(A) + P(B) − P(A and B).

If independent events have probabilities 0.4 and 0.3, their intersection is 0.12 and their union is 0.58. Exactly one has probability 0.46, and neither has probability 0.42. The Probability Calculator displays a partition of the whole into A only, both, B only and neither, which makes the accounting visible.

Are independent events the same as mutually exclusive events?

No. Independence means learning that one event happened does not change the probability of the other, so the joint probability is a × b. Mutually exclusive events cannot happen together and have joint probability zero. Two positive-probability events cannot satisfy both conditions at once.

For two outcomes of the same die roll, such as “one” and “two,” use mutually exclusive. For outcomes of two independent rolls, multiplication may be appropriate. When the relationship is known to be dependent, enter the joint probability directly rather than forcing either assumption.

Further reading: OpenStax: probability rules · NIST: normal distribution

What do the Probability Calculator inputs mean?

Calculate
Choose an event model, an independent-event solver, repeated trials or a continuous normal distribution.
P(A)
Probability on a 0–1 scale: enter 0.4 for 40%. This is a marginal event probability, not a percentage. This field applies when Calculate is set to Two events or Solve from P(A) and one other value or Series of independent trials.
P(B)
Probability of event B on the same 0–1 scale. In series mode it is the success probability on each B trial. This field applies when Calculate is set to Two events or Series of independent trials.
Relationship
Independent events multiply their probabilities. Mutually exclusive events never occur together. Otherwise enter a known joint probability. This field applies when Calculate is set to Two events.
P(A and B)
Joint probability. It must lie between max(0, a+b−1) and min(a,b). Do not assume independence when events share an underlying cause. This field applies when Relationship is set to Known intersection / dependent.
Other known probability
The solver assumes independence and always takes P(A) as its first known value. Some boundary cases cannot uniquely determine P(B). This field applies when Calculate is set to Solve from P(A) and one other value.
Known probability
Value of the selected probability on a 0–1 scale. Incompatible or underdetermined inputs produce an explanation instead of a guessed solution. This field applies when Calculate is set to Solve from P(A) and one other value.
Number of A trials
Nonnegative whole-number count of independent trials with probability P(A). All trials across both groups are assumed independent. This field applies when Calculate is set to Series of independent trials.
Number of B trials
Nonnegative whole-number count of independent trials with probability P(B). At least one trial across the two groups is required. This field applies when Calculate is set to Series of independent trials.
Normal mean μ
Center of the assumed normal distribution, in the same units as the bounds. This field applies when Calculate is set to Normal-distribution area.
Normal standard deviation σ
Strictly positive spread of individual values, not the standard error of a sample mean. This field applies when Calculate is set to Normal-distribution area.
Lower bound
Lower observed value; use -inf for no lower limit. Bounds use the same unit as μ and σ. This field applies when Calculate is set to Normal-distribution area.
Upper bound
Upper observed value; use inf for no upper limit. It must exceed the lower bound. This field applies when Calculate is set to Normal-distribution area.

When is the Probability Calculator useful?

Compare event relationships

Enter P(A) and P(B), then choose the supported relationship to inspect the resulting probabilities.

Check probability identities

Use the outputs to verify a two-event exercise. Do not assume independence when the situation does not justify it.

Probability Calculator: a practical reference

The fixed “Independent” example on this page produces the results below. It illustrates the stated model; your live results above use your current inputs.

Calculate
Two events
P(A)
0.4
P(B)
0.3
P(A and B)
0.12
P(neither)
0.42
Review the example inputs and calculation

Use the result in context

Probabilities use floating-point arithmetic; extreme series probabilities can underflow to zero. Normal tails beyond 40 standard deviations are displayed as zero. No claim that your real data follows a normal model.

Try the Probability Calculator·Read the subject guide·Explore a related calculator

Worked example: Probability Calculator

Independent. This fixed reference example shows one complete scenario; the interactive results above use your current inputs.

View the example inputs
Calculate
Two events
P(A)
0.4
P(B)
0.3
Relationship
Independent
Calculated results for the fixed example
Calculated quantityExample result
P(A and B)0.12
P(neither)0.42
P(A or B)0.58
P(exactly one)0.46
P(not A)0.6

Probability Calculator: define the events before combining their chances

How do I calculate the probability of A or B?

Inclusive “or” means at least one event occurs, including the possibility that both occur. Add P(A) and P(B), then subtract their intersection to avoid counting that shared outcome twice. In symbols, P(A or B) = P(A) + P(B) − P(A and B).

If independent events have probabilities 0.4 and 0.3, their intersection is 0.12 and their union is 0.58. Exactly one has probability 0.46, and neither has probability 0.42. The Probability Calculator displays a partition of the whole into A only, both, B only and neither, which makes the accounting visible.

OpenStax: probability rules

Are independent events the same as mutually exclusive events?

No. Independence means learning that one event happened does not change the probability of the other, so the joint probability is a × b. Mutually exclusive events cannot happen together and have joint probability zero. Two positive-probability events cannot satisfy both conditions at once.

For two outcomes of the same die roll, such as “one” and “two,” use mutually exclusive. For outcomes of two independent rolls, multiplication may be appropriate. When the relationship is known to be dependent, enter the joint probability directly rather than forcing either assumption.

Can I find a missing probability from two known values?

Solver mode takes P(A) and one selected independent-event quantity, then finds P(B). If P(A) is 0.5 and P(A and B) is 0.2, division gives P(B) = 0.4. It also supports B’s complement, the union, neither and exactly one.

Not every pair identifies an answer. If P(A) is zero and the intersection is zero, any P(B) could satisfy the equation. Likewise, when P(A) is 0.5, exactly-one probability is 0.5 for every independent P(B). The calculator rejects such ambiguity instead of picking an arbitrary event probability.

What is the chance of at least one success in repeated trials?

It is often easier to calculate no successes first. With independent trials at success probability p, no successes in n trials has probability (1 − p)^n. Subtract from one to find at least one. A 20% chance repeated three independent times gives 1 − 0.8³ = 0.488, or 48.8%.

Series mode allows two groups with different probabilities. It multiplies the failure probabilities across both groups and also reports all successes and expected success count. “At least one” and “all” overlap; do not add those results as though they were disjoint alternatives.

How do I find probability between two normally distributed values?

Enter a normal-model mean μ, positive standard deviation σ and two bounds. Each finite bound becomes z = (bound − μ)/σ, and the calculator integrates between them. Use -inf or inf for an open-ended tail. For a standard normal model, the interval from −1 to 1 contains about 68.268949% of model values.

The central-coverage table shows intervals such as μ ± 1.959964σ for 95% coverage. These describe individual values under the specified distribution. They are not confidence intervals for an unknown population mean; those require sampling information and a different interpretation.

NIST: normal distribution

When is a Probability Calculator useful?

Use it to check a classroom event problem, compare repeated-test scenarios or translate a normal threshold into a model probability. Define the sample space and decide whether repeated trials really are independent before applying the arithmetic. Repeated observations from the same shared failure can be dependent.

Probabilities are entered as fractions of one: 0.25 means 25%, while 25 is outside the supported probability domain. A numerical answer is conditional on your inputs and model; it does not establish a real-world event rate or guarantee the outcome of a short run.

Formula and calculation method

Inclusive OR includes both events: P(A∪B)=P(A)+P(B)−P(A∩B). Exactly one excludes their intersection.

Independent events use P(A∩B)=P(A)P(B). Mutually exclusive events have intersection zero; those are different assumptions.

The solver requires P(A) and one selected probability, under independence. It rejects inputs that cannot identify a unique P(B).

For independent trials, all successes = a^r × b^s and no successes = (1−a)^r × (1−b)^s. At least one is one minus no successes.

Normal mode integrates the assumed normal distribution between bounds. Central coverage intervals describe individual model values, not confidence intervals for an estimated mean.

Scope and Limitations

  • Probabilities use floating-point arithmetic; extreme series probabilities can underflow to zero. Normal tails beyond 40 standard deviations are displayed as zero. No claim that your real data follows a normal model.

Reference Sources

Frequently asked questions

Does “or” include both events?

Yes. Inclusive OR includes either event and their overlap. Exactly one excludes the overlap.

Can I model dependent events?

Yes, in two-event mode by selecting a known intersection and supplying a feasible joint probability.

Why is the independent-event solver ambiguous?

Some boundary values leave P(B) undetermined. The calculator explains that instead of inventing a unique solution.

Are normal coverage intervals confidence intervals?

No. They describe individual values under a specified normal model, not uncertainty about an estimated mean.

Why does an extreme repeated probability become zero?

Floating-point underflow can occur for exceptionally small products. Zero in that case is a numerical limit, not a claim of logical impossibility.