Àwọn Ìṣàmúlò-ètò
Fi àwọn ìṣàmúlò-ètò àwọn àwọn àkóónú àwọn
Àwọn Àtòjọ-ẹ̀yàn àwọn ìṣàmúlò-ètò
Àkóónú ìṣàmúlò-ètò yìí
This probability calculator takes the chance of two independent events A and B and works out the key combined probabilities: both happening (A and B), at least one happening (A or B), only one of them, and neither happening. It assumes the events are independent, meaning one occurring does not change the chance of the other. Enter each probability as a percentage between 0 and 100.
The rules it applies are the standard ones for independent events: P(A and B) = P(A) × P(B); P(A or B) = P(A) + P(B) − P(A and B); P(neither) = (1 − P(A)) × (1 − P(B)); and "only A" is P(A) − P(A and B). A pie chart splits the sample space into the four mutually exclusive outcomes (both, A only, B only, neither).
Worked example: with P(A) = 50% and P(B) = 30%, both happen with probability 0.5 × 0.3 = 15%, at least one happens with probability 0.5 + 0.3 − 0.15 = 65%, and neither happens with probability 0.5 × 0.7 = 35%. These four outcomes always add up to 100%.
Àwọn Àtòjọ-ẹ̀yàn
Bawo ni mo ṣe lè rí ìgbàgbọ́ àwọn àgbègbè àwọn àgbègbè àwọn àgbègbè àwọn àgbègbè àwọn àgbègbè àwọn àgbègbè àwọn àgbègbè àwọn àgbègbè
Fún àwọn àgbègbè àìdájú, fi àwọn àgbègbè wọǹ pọ̀: P(A ati B) = P(A) · P(B). Àgbègbè 50% àti àgbègbè 30% tí wọ́n wọ̀ ní 0.5 × 0.3 = 0.15, tàbí 15%.
Kini idi ti a fi n sọ pe o ti di olori?
Independent means the outcome of one event has no effect on the other — like two separate coin flips. If the events influence each other (are dependent), these formulas do not apply and you need conditional probabilities.
Bawo ní a ṣe lè ṣé ìṣàmúlò-ètò "A tabi B"?
P(A or B) = P(A) + P(B) − P(A and B). Subtracting the overlap prevents the shared outcome from being counted twice, so the result never exceeds 100%.
Bawo ni mo ṣe lè rí ìgbàgbọ́ pé àwọn àgbègbè àwọn àgbègbè kò bá jẹ́?
Fi àwọn ìṣàfarawé àwọn ìṣàmúlò-ètò tí kò bá jẹ́: P(kó ní) = (1 − P(A)) × (1 − P(B)). Fún àwọn ìṣàmúlò-ètò 50% àti 30% ní 0.5 × 0.7 = 0.35, tàbí 35%.
Kini ìyatọ̀ laarin "A tabi B" àti "ọ̀kan ninu wọn"?
"A tabi B" nínú àwọn ààyè tí àwọn mejeeji tí wọ́n ṣẹ̀dà, nígbà tí "ọ̀kan nikan" tí fi pamọ́. "Ọ̀kan nikan" ní P(A tabi B) tí a fi kú P(A ati B), tí a bá kọ́lú àwọn à
Kini tí àwọn ìṣàmúlò-ètò mejì náà kò bá jẹ́ àìdájú?
Àwọn ìṣàmúlò-ètò yìí náà gbá ìpèwọ̀n. Tó bá jẹ́ pé àwọn ìṣàmúlò-ètò kan náà náà ló bá jẹ́ pé ò ní àwọn ìṣàmúlò-ètò àìdájú, P(A ati B) = P(A) × P(B | A), àtí káàdìí náà á fi àwọn ìṣàmúlò-ètò àti àwọn ìṣàmúlò-ètò tí a tí wa ní pàtó pọ̀ jù láti jẹ́ àwọn ìṣàmúlò-ètò àìdájú.
Ń lè fi àwọn ìṣàmúlò-ètò yìí pọ̀ jú 100%̀ lọ?
The four mutually exclusive outcomes — both, A only, B only and neither — always sum to exactly 100%. Individual figures like "A or B" can be large, but they never exceed 100% because the overlap is subtracted.
API — ló àwọn ìṣàmúlò-ètò yìí láti inú ìṣàmúlò-ètò
Fi àwọn ìṣàmúlò-ètò yìí kọ̀ǹpútà yìí láti jẹ́ ààyè-iṣẹ́ JSON tí a tí fi pamọ́ - kò ní bọ́tìnì kan tí a fẹ́. Fi àwọn fálù ààyè-iṣẹ́ sílẹ̀ sí bí àwọn àwọn ìṣàmúlò-ètò àti JSON. Anything you omit uses the same default this page is pre-filled with; an unknown parameter is a 400, never a silent zero. Ka àwọn àkọlé API kíkún →
Àwọn Ààyè Ìjánu-ìṣàmúlò-ètò
GET https://calculator.free/api/v1/probability/
curl
curl "https://calculator.free/api/v1/probability/?pa=50&pb=30"
JavaScript fetch()
const r = await fetch(
"https://calculator.free/api/v1/probability/?" + new URLSearchParams({
"pa": "50",
"pb": "30"
}));
const data = await r.json();
console.log(data.results);
Results are estimates for general guidance only, not financial, medical or tax advice.