A and B, A or B, at least one, exactly k of n tries, nCr and nPr, as exact fractions
Runs in your browser. Nothing you type is sent anywhere. Checked against sources on 22 Nov 2026.Probability is a chance from 0 to 1. P(A or B) = P(A) + P(B) − P(A and B), and for independent events P(A and B) = P(A) × P(B). At least one success in n tries is 1 − (1 − p)ⁿ: at least one six in 4 rolls is 671/1296, about 0.518. The calculator shows exact fractions.
Checked against the tool’s code on 18 November 2026. Figures read from their sources on 22 November 2026. What we collect
| Question | Worked as | Answer |
|---|---|---|
| A fair coin tossed 10 times: exactly 5 heads | C(10, 5) × (1/2)¹⁰ | 63/256 ≈ 0.2461 |
| A die rolled 4 times: at least one six | 1 − (5/6)⁴ | 671/1,296 ≈ 0.5177 |
| A die rolled 10 times: exactly two sixes | C(10, 2) × (1/6)² × (5/6)⁸ | 1,953,125/6,718,464 ≈ 0.2907 |
| P(A) = 1/2, P(B) = 1/3, independent: A or B | P(A) + P(B) − P(A)P(B) | 2/3 ≈ 0.6667 |
| P(A) = 0.42, P(B) = 0.48, P(A and B) = 0.16: A given B | P(A ∩ B) / P(B) | 1/3 ≈ 0.3333 |
| A committee of 3 from 10 people | C(10, 3) | 120 |
| A 6-of-49 lottery ticket wins the jackpot | 1 / C(49, 6) | 1/13,983,816 ≈ 7.151 × 10⁻⁸ |
Nothing is uploaded: this runs in your browser.
Pick the kind: Two events (A and B), Repeated tries (exactly k of n) or Counting (nCr and nPr).
Type probabilities as a decimal (0.25), a fraction (1/4) or a percentage (25%); for two events, say whether they are independent, cannot happen together, or give P(A and B).
Read the answer as an exact fraction with its decimal and percentage, and every related probability below it.
Follow the working line by line, and press Copy or Share to keep it.
For any two events, P(A or B) = P(A) + P(B) − P(A and B); the overlap is taken away once because it was counted twice. If A and B are independent (one does not change the chance of the other), P(A and B) = P(A) × P(B). If they cannot happen together (mutually exclusive), P(A and B) = 0 and P(A or B) = P(A) + P(B). The conditional probability of A given B is P(A | B) = P(A and B) / P(B), the rule of the NCERT Class 12 chapter on probability. The calculator refuses numbers that cannot happen, such as P(A and B) above the smaller of P(A) and P(B).
When the same try is repeated n times, independently, with a chance p of success each time, the chance of exactly k successes is C(n, k) × pᵏ × (1 − p)ⁿ⁻ᵏ: the binomial distribution. "At most k" adds the cases 0 to k, "at least k" is 1 minus "at most k − 1", and "at least one" is 1 − (1 − p)ⁿ. For 10 tosses of a fair coin, exactly 5 heads has a chance of 252/1024 = 63/256, about 0.246. The calculator works with up to 1,000 tries and keeps every answer as an exact fraction.
A combination is a choice where order does not matter: nCr = n! / (r!(n − r)!). A permutation is an arrangement where order matters: nPr = n! / (n − r)!. Choosing 3 of 10 people for a committee is C(10, 3) = 120; giving 3 of them three different posts is P(10, 3) = 720. With repeats allowed, order mattering, the count is nʳ: a 4-digit PIN has 10⁴ = 10,000. A 6-of-49 lottery has C(49, 6) = 13,983,816 combinations, so one ticket's chance is 1 in 13,983,816.
Type 1/6 and the answer stays a fraction: 1/2 and 1/3 for independent events give P(A or B) = 2/3, not 0.6666667. Decimals such as 0.42 are read exactly as 42/100. Very long fractions are shown as decimals.
The calculator runs in this page. The numbers you type stay in your browser and are not sent to our server.
Add the two probabilities and take away the chance of both: P(A or B) = P(A) + P(B) − P(A and B). For independent events with P(A) = 1/2 and P(B) = 1/3, P(A and B) = 1/6, so P(A or B) = 1/2 + 1/3 − 1/6 = 2/3.
Take 1 minus the chance of no success at all: 1 − (1 − p)ⁿ. For at least one six in 4 rolls of a die, 1 − (5/6)⁴ = 1 − 625/1296 = 671/1296, about 0.518.
In a combination the order does not matter (choosing 3 people for a team: C(10, 3) = 120); in a permutation it does (giving the 3 people three different posts: P(10, 3) = 720). Each combination of 3 can be arranged in 3! = 6 ways, so P = C × 6.
Two events are independent when one happening does not change the chance of the other, so P(A and B) = P(A) × P(B). Two coin tosses are independent; drawing two cards without putting the first back is not.
Divide the chance of both by the chance of the condition: P(A | B) = P(A and B) / P(B). If P(A) = 0.42, P(B) = 0.48 and P(A and B) = 0.16, then P(A | B) = 0.16 / 0.48 = 1/3.
There are C(49, 6) = 13,983,816 ways to choose 6 numbers from 49, so one ticket has a chance of 1 in 13,983,816 of matching all six. Choose Counting and type 49 and 6 to see the working.
Rates and rules change; check the source before you rely on a figure.
Still stuck? Ask about Probability Calculator: Events, Binomial and nCr, Exact and anybody who knows can answer. No account needed.
On the related tools: Percentage to CGPA Calculator – Percentage back to a CGPA on a 10-point scale, with an editable divisor · CBSE Percentage Calculator (Best of Five) – Class 10 or 12 percentage over your best five subjects, with the 33% pass mark in each.
On the same topic: Standard Deviation Calculator – Sample and population standard deviation, variance, mean, median, quartiles and outliers · LCM and HCF Calculator, With Prime Factorisation Steps – LCM and HCF of 2 to 10 numbers by prime factorisation, Euclid and the division method · Fraction Calculator – Add, subtract, multiply and divide fractions and mixed numbers, simplified, with steps.