Home / Calculate / Factorial, Permutation and Combination Calculator
🎲 Factorial, Permutation and Combination Calculator
Factorial, Permutation and Combination Calculator – get instant, free results right on your device.
n! is computed as an exact integer with BigInt; the upper limit for n and r is 1000. Without repetition, r cannot be greater than n. For very large results, scientific notation and the exact value are shown together. Not an official institution.
Last updated: November 2026 · Parameter year: 2026 · Methods and sources: Methodology · Editorial policy
What is Factorial, Permutation and Combination Calculator?
Factorial, permutation and combination are the three basic tools of counting problems. n! gives the number of different orders in which n items can be arranged, P(n,r) gives the number of ordered selections, and C(n,r) gives the number of selections where order does not matter. This tool also calculates n^r, where the same options can repeat at every position, combinations with repetition C(n+r−1, r), and arrangements of identical items in the form n!/(n₁!·n₂!…).
Choose the calculation type, enter the value of n and, if needed, the value of r. For permutations with identical items, enter the number of items in each group separated by commas; their sum must equal n. The result appears together with the expansion of the operation and comparison rows. When Combination is selected, a permutation comparison and the probability of one specific group coming up in a random draw are also given.
Calculations are done with BigInt as exact integers, so there is no rounding error for large results such as 20!. To protect the browser, n and r can be at most 1000. Very long results are shown in scientific notation, together with the number of digits and the full value. For selections without repetition, if r is greater than n, a clear error message is shown. Everything is done on your device; the values you enter are not sent anywhere.
How to use
Fill in these fields: Calculation type, n, r, Groups of identical items. Then press the button; the result appears on the same page and your data never leaves your device.
Formula
Choosing 3 of 10 items without order: C(10,3) = 120; choosing in order: P(10,3) = 720
Example
Choosing 3 of 10 items without order: C(10,3) = 120; choosing in order: P(10,3) = 720
Worked examples and tips
Example 1: If a 3-person committee is chosen from a group of 10, order does not matter and C(10,3) = 120. If the same 3 people are assigned different roles such as chair, secretary and treasurer, order matters and P(10,3) = 720; the difference is a factor of 3! = 6.
Example 2: Choosing 6 numbers from 49 (order does not matter) gives C(49,6) = 13,983,816 different outcomes. In a random draw, the probability of one specific group coming up is 1 / 13,983,816 ≈ 0.000007%. Set the calculation type to Combination and enter n = 49, r = 6.
Example 3: If the letters of the word MISSISSIPPI are rearranged, since the 11 letters are distributed as M:1, I:4, S:4, P:2, you get 11! ÷ (1! × 4! × 4! × 2!) = 34,650 different arrangements. Choose permutation with identical items and enter n = 11 and 1,4,4,2 for the groups.
Tips: First ask whether order matters; if it does, use permutation, otherwise use combination. 0! is defined as 1. Without repetition, r cannot be greater than n. The number of trailing zeros of n! depends on the number of factors of 5 in n; 100! has 24 zeros.
Frequently asked questions
Factorial, Permutation and Combination Calculator – how to use it?
Fill in the fields and press the button; the result appears instantly. Example: Choosing 3 of 10 items without order: C(10,3) = 120; choosing in order: P(10,3) = 720
Factorial, Permutation and Combination Calculator – is it free, and is my data stored?
Yes, it is free and requires no sign-up. Because processing happens in your browser, the information you enter is not sent to a server.
Related guide
- How to Calculate Factorials, Permutations and Combinations – Formulas for n!, P(n,r) and C(n,r), step-by-step examples, the 0! rule and BigInt for huge numbers. Check counting problems with a free calculator.
- Permutation or Combination? Examples and Common Mistakes – Permutation or combination? Worked everyday examples, cases with repetition, circular arrangements and the most common mistakes to avoid.
Embed this calculator on your site
Copy the code below and paste it into your website, blog or email template. The calculator is free and runs on your site.