This Probability Calculator calculates a simple event probability from favorable outcomes divided by total equally likely outcomes. It also calculates the complement and combines that probability with a second probability under an explicit independence assumption. It is an introductory probability tool, not a general solver for dependent events or complex distributions.
How to Use the Probability Calculator
- Enter the number of favorable outcomes.
- Enter the total number of possible outcomes. Both counts must be whole numbers, and favorable outcomes cannot exceed the total.
- Enter the probability of a second event as a decimal from 0 to 1.
- Review the event probability, percentage, complement, probability that both independent events occur (AND), and probability that at least one occurs (OR).
Formulas
- Simple event: P(A) = favorable outcomes ÷ total outcomes, when outcomes are equally likely.
- Complement: P(not A) = 1 − P(A).
- Independent AND: P(A and B) = P(A) × P(B).
- Independent OR: P(A or B) = P(A) + P(B) − P(A)P(B).
The OR formula subtracts the overlap once, so outcomes where both events happen are not counted twice.
Worked Examples
One die: The probability of rolling a 4 on a fair six-sided die is 1 ÷ 6 = 0.1667, or about 16.67%. The complement (not rolling a 4) is 5/6, or about 83.33%.
Two independent events: If P(A) = 0.5 and P(B) = 0.5, then P(A and B) = 0.5 × 0.5 = 0.25 (25%). P(A or B) = 0.5 + 0.5 − 0.25 = 0.75 (75%).
Equally Likely Outcomes and Independence
The favorable/total shortcut is valid only when the listed outcomes are equally likely. For example, a fair die has six equally likely faces; a biased die may not. The AND and OR results for the second event assume statistical independence. If one event changes the probability of the other, use conditional probability instead.
For more detailed explanations, see OpenStax probability topics and Calculator.net's Probability Calculator. This widget focuses on a simple event and two-event independence formulas; it does not calculate permutations, combinations, Bayes' theorem or probability distributions.
For standardized-score calculations, see the Z-Score Calculator.
Assumptions and Limitations
- Favorable and total outcomes are whole-number counts with 0 ≤ favorable ≤ total and total greater than zero.
- The simple ratio assumes equally likely outcomes.
- AND and OR calculations assume the two events are independent.
- Dependent events require conditional probability and are not modeled here.
- The calculator does not model continuous distributions or multi-stage experiments.
