... LIVE
📊 Select Calculation Mode
📌 For independent events: P(A and B) = P(A) × P(B). Use when knowing one event occurred does NOT change the probability of the other.
P(A)
Enter as decimal between 0 and 1 (e.g. 0.5 for 50%)
Enter P(A) between 0 and 1.
P(B)
Enter as decimal between 0 and 1
Enter P(B) between 0 and 1.
📌 General multiplication rule: P(A and B) = P(A) × P(B|A). P(B|A) is the probability of B given A has already occurred. Use for draws without replacement, conditional scenarios.
P(A)
Enter P(A) between 0 and 1.
P(B|A)
Probability of B given that A has already occurred
Enter P(B|A) between 0 and 1.
📌 For three independent events: P(A and B and C) = P(A) × P(B) × P(C). All three must be independent of each other.
P(A)
Enter 0 to 1.
P(B)
Enter 0 to 1.
P(C)
Enter 0 to 1.
📌 Complement rule: P(at least one) = 1 − P(neither A nor B) = 1 − (1−P(A)) × (1−P(B)). Events must be independent. This is the fastest approach for "at least one" questions.
P(A)
Enter P(A) between 0 and 1.
P(B)
Enter P(B) between 0 and 1.
📌 Two events are independent if P(A and B) = P(A) × P(B). Enter all three values to check. Tolerance of 0.0001 used for floating-point comparison.
P(A)
Enter 0 to 1.
P(B)
Enter 0 to 1.
P(A∩B)
Enter 0 to 1.
Result
⚠️ Disclaimer: Results assume probabilities are correctly specified and events are correctly classified as independent or dependent. Always verify your classification before applying results.

Sources & Methodology

All formulas verified against open-access university textbooks and official statistical standards.
📘
OpenStax Introductory Statistics — Chapter 3.2: Independent and Mutually Exclusive Events
Rice University open-access textbook. Source for the multiplication rule formulas: P(A and B) = P(A) × P(B) for independent events and P(A and B) = P(A) × P(B|A) for dependent events.
📊
LibreTexts Statistics — Conditional Probability and Independent Events (Shafer & Zhang)
Authoritative reference for the independence condition P(A|B) = P(A) and its equivalence to P(A ∩ B) = P(A) × P(B). Used to verify the independence test formula.
Formulas used (all verified):
Independent: P(A∩B) = P(A) × P(B) Dependent (Multiplication Rule): P(A∩B) = P(A) × P(B|A) Three events: P(A∩B∩C) = P(A) × P(B) × P(C) At least one: 1 − (1−P(A)) × (1−P(B)) Independence test: |P(A∩B) − P(A)×P(B)| < 0.0001

P(A and B) — Complete Guide to AND Probability, Joint Probability & the Multiplication Rule

The probability of A and B, written P(A and B) or P(A ∩ B), is the joint probability that both events occur simultaneously. It is one of the most fundamental calculations in probability theory, used in statistics, machine learning, medical testing, risk assessment, and everyday decision making. The formula depends entirely on whether the events are independent or dependent.

The Two Forms of the Multiplication Rule

The multiplication rule is the cornerstone of AND probability. It comes in two forms:

Independent events: P(A and B) = P(A) × P(B) Dependent events (General Rule): P(A and B) = P(A) × P(B|A)
Independent example: You flip a fair coin (P(heads) = 0.5) and roll a die (P(six) = 1/6). These are independent — the coin has no effect on the die.
P(heads AND six) = 0.5 × (1/6) = 0.5 × 0.1667 = 0.0833 (8.33%)

Dependent example: A bag has 5 red and 3 blue balls (8 total). You draw two without replacement.
P(1st red) = 5/8 = 0.625. Given 1st was red, 4 red remain from 7 balls: P(2nd red | 1st red) = 4/7 = 0.5714
P(both red) = 0.625 × 0.5714 = 0.3571 (35.71%)

How to Identify Independent vs Dependent Events

This is the most critical step. Getting it wrong leads to an incorrect formula and wrong answer.

FeatureIndependentDependent
Does A affect B?NoYes
Key ruleP(B|A) = P(B)P(B|A) ≠ P(B)
FormulaP(A) × P(B)P(A) × P(B|A)
ExamplesCoin flips, dice rolls, cards WITH replacementCards WITHOUT replacement, chained events
Key indicatorEvents occur in completely separate trials"Without replacement" or sequential from same pool

At Least One Probability — Complement Rule

Finding P(at least one of A or B occurs) is easiest with the complement rule. Instead of adding up all the ways at least one can happen, you subtract the probability that neither happens from 1.

P(at least one) = 1 − P(neither) = 1 − (1−P(A)) × (1−P(B))
Example: P(it rains Monday) = 0.40, P(it rains Tuesday) = 0.30. Independent.
P(no rain Monday) = 0.60    P(no rain Tuesday) = 0.70
P(no rain either day) = 0.60 × 0.70 = 0.42
P(rain at least one day) = 1 − 0.42 = 0.58 (58%)

Why is this easier? For 3+ events, the complement approach avoids complex inclusion-exclusion: P(at least one in A,B,C) = 1 − (1-P(A)) × (1-P(B)) × (1-P(C)).

Testing Whether Two Events Are Independent

Two events A and B are independent if and only if P(A ∩ B) = P(A) × P(B). To test: calculate P(A) × P(B) and compare to the observed joint probability P(A ∩ B). If they are equal (within rounding tolerance), the events are independent. If they differ, the events are dependent.

💡 Common confusion: Independent does NOT mean mutually exclusive. In fact, they are nearly opposite. Mutually exclusive events (P(A and B) = 0) cannot happen simultaneously — they are maximally dependent (if A occurs, B definitely doesn't). Two events can only be both mutually exclusive AND independent if at least one has probability zero, which is trivial.

Three Events: P(A and B and C)

For three mutually independent events, multiply all three probabilities: P(A and B and C) = P(A) × P(B) × P(C). This is often used for repeated trials like multiple coin flips or multiple independent tests. For dependent events, the general form is P(A) × P(B|A) × P(C|A and B), but each conditional probability must be known or calculated from context.

Real-World Applications of AND Probability

Frequently Asked Questions
For independent events: P(A and B) = P(A) × P(B). For dependent events: P(A and B) = P(A) × P(B|A). The choice depends on whether knowing A occurred changes the probability of B. If it doesn't, use the simpler independent formula. If it does, you need P(B|A) and the general multiplication rule.
Independent: P(B|A) = P(B). Knowing A occurred tells you nothing about B. Examples: coin flips, dice rolls, sampling with replacement. Dependent: P(B|A) ≠ P(B). Knowing A occurred changes the probability of B. Examples: drawing without replacement, weather on consecutive days, chained processes. Key: if events share the same pool of outcomes and one depletes it, they are dependent.
Use P(A and B) = P(A) × P(B|A). Example: deck of 52 cards. P(ace on 1st draw) = 4/52. Given ace on 1st draw (removed), P(ace on 2nd) = 3/51. P(both aces) = (4/52) × (3/51) = 12/2652 = 1/221 ≈ 0.00452 (0.452%). Without replacement always creates dependence — the denominator and favorable counts both change.
P(at least one) = 1 − P(none) = 1 − (1−P(A)) × (1−P(B)) for independent events. Example: P(A) = 0.3, P(B) = 0.4. P(neither) = 0.7 × 0.6 = 0.42. P(at least one) = 1 − 0.42 = 0.58. The complement rule is the standard approach because it avoids listing all ways "at least one" can occur, especially useful with 3+ events.
Check if P(A and B) = P(A) × P(B). Calculate P(A) × P(B) and compare to the known or observed P(A and B). If equal (within rounding), independent. If not equal, dependent. Equivalently: check P(A|B) = P(A). If knowing B doesn't change the probability of A, they're independent. Independence means mutual — if A is independent of B, then B is also independent of A.
Joint probability P(A and B) or P(A ∩ B) is the probability both events happen at the same time. It always satisfies 0 ≤ P(A and B) ≤ min(P(A), P(B)). If P(A and B) = 0, events are mutually exclusive. For independent events P(A and B) = P(A) × P(B). Joint probability is the "intersection" in a Venn diagram — the overlap region.
P(A and B) = probability both occur. P(A or B) = probability at least one occurs. Relationship: P(A or B) = P(A) + P(B) − P(A and B). Example: P(A)=0.3, P(B)=0.4, independent, P(A and B)=0.12. P(A or B) = 0.3+0.4−0.12 = 0.58. Note: P(at least one) = P(A or B). The AND probability is always ≤ the OR probability.
For three independent events: P(A and B and C) = P(A) × P(B) × P(C). Example: three fair coin flips, P(all heads) = 0.5 × 0.5 × 0.5 = 0.125 = 12.5%. For dependent three events: P(A) × P(B|A) × P(C|A and B) using the chain rule. Each probability must be known given all preceding events have occurred.
Yes, if both P(A) > 0 and P(B) > 0 and they are mutually exclusive, they are always dependent. Proof: Mutually exclusive means P(A and B) = 0. But P(A) × P(B) > 0. So P(A and B) ≠ P(A) × P(B), meaning they are dependent. Knowing A occurred tells you with certainty that B did not. This is the maximum possible dependence. Independent and mutually exclusive are essentially opposite properties for events with positive probability.
P(B|A) = P(A and B) / P(A), assuming P(A) > 0. It is the probability of B given that A has already occurred. From this formula: P(A and B) = P(A) × P(B|A) (multiplication rule). For independent events P(B|A) = P(B) because knowing A occurred changes nothing about B. Conditional probability "narrows" the sample space to only outcomes where A occurred.
Independent: P(two machines both work today) if their failure modes are unrelated. P(heads AND tails in two separate coin flips of different coins). P(both test A and test B come back positive) when tests are independent. Dependent: P(draw two aces in two draws from a deck without replacement). P(both parts in a batch are defective) if they come from the same production run with correlated defects. P(getting hired given passing the interview) where events are causally linked.
The Naive Bayes classifier assumes all features are independent given the class label. It computes the joint probability of all features as P(feature_1 and feature_2 and ... and feature_n | class) = ∏ P(feature_i | class). This is the multiplication rule applied repeatedly. Despite the "naive" independence assumption often being violated in practice, Naive Bayes works surprisingly well for text classification and spam filtering.
Related Statistics Calculators
Popular Calculators
🧮

Missing a Statistics Calculator?

Can’t find the statistical tool you need? Tell us — we build new calculators every week.