When both things have to happen
The joint probability of A and B is the chance that the two events occur together. It answers questions such as: what share of customers are both subscribers and under thirty, what is the chance a part comes from line two and is defective, or how likely is it that a card is an ace and a heart? If you know how likely A is within the group where B holds, and how common B is, the joint probability is the product. This page does that multiplication and returns the share of all outcomes where both events occur.
The multiplication rule
The rule is P(A and B) = P(A | B) × P(B). Read it in words: first B must happen, with probability P(B), and then A must happen within that subset, with probability P(A | B). The rule holds for any events, whether or not they are independent. It is the definition of conditional probability rearranged. If A and B are independent, P(A | B) equals P(A), and the rule becomes the familiar product of the two separate probabilities. The page does not assume that and asks for the conditional probability explicitly.
A conditional 0.4 times a marginal 0.3
The page starts with P(A | B) = 0.4 and P(B) = 0.3. Multiplying gives 0.12. So 12 percent of all outcomes have both A and B. This is the reverse of the conditional probability page, which divides 0.12 by 0.3 to return 0.4. Running both pages together is a good consistency check on a problem. The joint probability can never exceed either of its two components: 0.12 is below 0.3 and below any plausible P(A) consistent with the data.
A factory example
Say 40 percent of a plant's output comes from line two, and 3 percent of line two's parts are defective. These numbers are illustrative. The probability that a randomly chosen part is from line two and defective is 0.03 × 0.4 = 0.012, or 1.2 percent. In a medical setting, with 1 percent prevalence and a test that detects 95 percent of cases, the chance that a person has the condition and tests positive is 0.95 × 0.01 = 0.0095. Another case, with P(A | B) = 0.75 and P(B) = 0.2, gives 0.15. Each time, the joint probability is the smaller share inside the condition.
Card draws
Cards give clean examples without replacement. The chance the first card is an ace is 4/52, about 0.0769. Given an ace first, the chance the second is also an ace is 3/51, about 0.0588. The joint probability of two aces in a row is the product, 4/52 × 3/51 = 12/2,652, about 0.004525. If the first card were replaced and the deck reshuffled, the second draw would be 4/52 again, and the joint probability would be 0.0769², about 0.00592. The page handles either case once you enter the right conditional probability. Longer chains work by repeating the rule. Three aces in a row without replacement has probability 4/52 × 3/51 × 2/50, which is 24/132,600, about 0.000181. Each factor is a conditional probability given all earlier draws, and you can multiply the first two on this page and then multiply the result by the third conditional in a second pass.
Joint probability for independent events
When events are independent, the conditional probability is just the plain probability, so you can use this page by entering P(A) as the conditional. Two fair coin flips both landing heads: 0.5 × 0.5 = 0.25. Two dice both showing six: 1/6 × 1/6, about 0.0278. Independence must be a real feature of the situation, such as separate mechanisms, and not a convenience. If you assume independence and the events are linked, the joint probability can be far off, in either direction.
Getting the inputs
The conditional probability should come from a rate within the subgroup, such as the defect rate in line two, the pass rate among students who attended, or a test sensitivity. It should not be the overall rate unless independence holds. P(B) comes from the share of the population in the conditioning group. Both inputs are numbers from 0 to 1. Convert percentages by dividing by 100. If your data are counts in a table, you can skip this page and divide the count of outcomes with both events by the total, which gives the same joint probability.
Reading the answer
The result is a share of the entire population, not of a subgroup. A joint probability of 0.012 means 12 in every 1,000 outcomes have both properties. It will always be smaller than or equal to each of the two single-event probabilities. It helps to turn the figure into a natural frequency: out of 10,000 parts, about 120 are both from line two and defective. Natural frequencies are easier to communicate and reduce the base-rate confusion that plagues conditional probability questions. Researchers who study risk communication have found that people reason more accurately with counts of people than with decimals. Reporting a result as 95 of 10,000 instead of 0.0095 is clearer, and the conversion takes seconds. Keep the full decimal for further calculations, and round only the figure shown to readers so small errors do not accumulate through a multi-step analysis.
A conditional probability must be supplied
The page multiplies two numbers and requires an explicit conditional probability, not an unstated independence assumption. It does not check that the inputs are consistent with each other or with other known probabilities, and it does not estimate them from data. It handles two events. For chains of three or more, apply the rule step by step, conditioning each event on those before it, or use the independent events page when independence holds. Errors most often arise from using P(A) where P(A | B) is needed, which understates or overstates the joint probability whenever the events are related. If your two figures came from different studies or populations, the product may not describe any real group, so state where each number came from before relying on the result. Keep a note of the date and sample size behind each input as well, because a conditional rate measured last year on a small sample may not describe the group you face today.