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 quantity | Example 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.
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.
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.