概率计算器

根据有利结果数和总结果数计算概率,或组合两个独立事件(A 且 B、A 或 B、都不发生、恰好一个)。

你想要的结果,例如 3 个红球
所有等可能的结果

结果

输入数值并点击“计算”查看结果。

公式

P(E)=favourable outcomestotal outcomesP(E) = \frac{\text{favourable outcomes}}{\text{total outcomes}}

For equally likely outcomes.

P(not E)=1−P(E)P(\text{not } E) = 1 - P(E)

The complement: the event does not happen.

P(A∩B)=P(A) P(B)P(A \cap B) = P(A)\,P(B)

Both happen, when A and B are independent.

P(A∪B)=P(A)+P(B)−P(A∩B)P(A \cup B) = P(A) + P(B) - P(A \cap B)

At least one happens.

如何使用此计算器

  1. For one event, enter how many outcomes you want and how many there are in total.
  2. For two independent events, enter each probability as a fraction (1/2) or a decimal (0.5).

例题

3 red balls in a bag of 8

P(red) = 3/8 = 0.375 = 37.5%.

P(not red) = 1 − 3/8 = 5/8.

The odds of red are 3 : 5 (3 for, 5 against).

常见问题

What does independent mean?

One event does not change the chance of the other — like two separate coin flips.

What is the difference between probability and odds?

Probability compares favourable outcomes with all outcomes (3/8); odds compare favourable with unfavourable (3 : 5).