Counting problems appear everywhere — how many ways can you choose a committee, arrange people in a line, deal a poker hand, or create a password? These questions all come down to three fundamental operations: combinations (choosing without regard to order), permutations (arranging where order matters), and factorials (counting all possible orderings). The formulas involve large factorials that grow explosively, making manual computation impractical.
Our free probability calculator computes combinations (nCr), permutations (nPr), and factorials (n!) instantly. It doesn't just give you the answer — it shows the formula being used and the step-by-step expansion so you can follow the mathematics and understand why the result is what it is.
Select the type of calculation — combination, permutation, or factorial. Enter the required values (n and r for combinations and permutations, just n for factorials). The calculator displays the formula, substitutes your values, expands the factorials, cancels common factors, and shows the final result.
Seeing the step-by-step expansion is valuable because it shows how factorial cancellation works — for example, in C(10,3), the 10! in the numerator and 7! in the denominator cancel to leave just 10 × 9 × 8, which is much easier to compute.
Input: n = 10, r = 3
Operation: Combination
Output: C(10, 3) = 10! / (3! × 7!) = (10 × 9 × 8) / (3 × 2 × 1) = 720 / 6 = 120
There are 120 ways to choose 3 items from 10 when order doesn't matter.
Combinations count selections where order doesn't matter — choosing {A, B, C} is the same as choosing {C, A, B}. Permutations count arrangements where order matters — the arrangement ABC is different from CAB. Permutations always give a larger (or equal) result because they count more distinct outcomes.
The calculator can handle values of n up to several hundred for combinations and permutations. For factorials, it can compute n! for large values of n accurately. Extremely large results are displayed in scientific notation when they exceed standard number formatting.
A factorial (written n!) is the product of all positive integers from 1 to n. So 5! = 5 × 4 × 3 × 2 × 1 = 120. By convention, 0! = 1. Factorials count the number of ways to arrange n distinct items in a complete sequence.
Ask yourself: does the order of selection matter? If you're choosing a committee (order doesn't matter), use combinations. If you're assigning ranked positions like 1st, 2nd, 3rd (order matters), use permutations. A helpful test: would rearranging the selected items create a "different" outcome? If yes, use permutations; if no, use combinations.
The calculator uses JavaScript's number precision, which handles integers exactly up to 2⁵³ (about 9 quadrillion). For larger intermediate values, the calculator uses factorial cancellation to keep numbers manageable. Results that exceed standard precision are displayed in scientific notation.
Yes, the calculator is completely free with no usage limits. Compute as many combinations, permutations, and factorials as you need for probability coursework, statistics, or any counting problem.
Let ChatGPT, Claude, or Perplexity do the thinking for you. Click a button and see what your favorite AI says about Formula Bot.
Calculate tips and split bills with ease.
Calculate your grade point average instantly.
Calculate area for any shape and convert between units.
Find square roots with step-by-step solutions.
Find out what you need on your final exam.
Solve quadratic equations step by step.
Find the missing side of a right triangle.
Calculate annuity payments and values.
Calculate dividend yield and income projections.
Solve long division with detailed steps.
Calculate your exact age in years, months, and days.
Find the slope and equation of a line.
Calculate how your investments grow over time.
Calculate sale prices and savings instantly.
Convert and calculate with scientific notation.
Calculate logarithms with any base.
Round numbers to any decimal place.
Calculate markup percentage and profit margins.
Add, subtract, multiply, and divide mixed numbers.
Calculate powers and exponents step by step.
Count and round significant figures.
Find the midpoint between two coordinate points.
Calculate percent error for experiments and data.
Find the GCF and LCM of any numbers.
Convert decimals to fractions in lowest terms.
Sign up for free and unlock unlimited calculations, saved history, and more.
Get Started Free