Permutation and Combination Calculator
The number of permutations (order matters) and combinations (order does not matter) of r items from n.
Runs in your browser. Your files never leave your device. See how to check
…
How to do it
- 1Step 1: Open Permutation and Combination Calculator and add your input
Type your numbers or text, add your file, or pick the options you need. Nothing is uploaded: everything stays in your browser.
- 2Step 2: What Permutation and Combination Calculator does
Work out nPr, nCr and factorials.
- 3Step 3: Read the result and compare
The result appears at once. Change one value to see how the answer moves, then keep the figure that fits your case.
- 4Step 4: Copy or save it
Copy the result or download it. For an important decision, confirm it with the official source or an adviser.
About this tool
Enter n, the number of items, and r, how many you choose. You get nPr (permutations), nCr (combinations), n factorial, and the counts when repeats are allowed. Handy for probability, schedules and lottery questions.
When to use it
Work out nPr, nCr and factorials.
Tips
Order matters for permutations, not for combinations.
Privacy
Everything runs in your browser, so your data is not uploaded or stored.
Choosing the right one
Use permutations when the order matters, such as a race podium or a PIN. Use combinations when it does not, such as choosing a committee. nCr is always smaller than or equal to nPr.
Worked example
With the boxes at their starting values (n (total items): 10; r (items chosen): 3), the tool shows: n factorial (n!): 3,628,800; Permutations with repetition (nʳ): 1,000; Combinations with repetition: 220; Permutations nPr: 720; Combinations nCr: 120. Change any box to see your own numbers. The result updates as you type, and nothing leaves your browser.
Tips for best results
Check every box before you rely on a result, because one wrong digit changes the whole answer. Use the exact figures from your payslip, bill, certificate or contract, and keep a note of the date you calculated. Rates, thresholds and rules change from time to time, so for tax, fees and legal matters treat the output as an estimate and confirm with the official source named on this page. You can run as many scenarios as you like; nothing is saved or sent, and refreshing the page clears the boxes.
Quick facts
- Category: Math & Science
- Works in your browser, no sign-up, no upload.
- Your input stays on your device.
- Available in many languages.
- Content last reviewed:
Frequently asked questions
What is the difference between nPr and nCr?
nPr counts ordered arrangements. nCr counts groups where order does not matter, so it is always smaller or equal.
What are the limits?
n up to 170 and r not larger than n.
What is nCr?
The number of ways to choose r items from n without order.
What is nPr?
The number of ordered arrangements of r from n.
What is a factorial?
n! is the product of all whole numbers from 1 to n, for example 5! is 120.
