Permutation & Combination Calculator

Calculate permutations (nPr) and combinations (nCr) from a set of objects.

Preview widget ↗
Table of Contents▼

What is the Permutation & Combination Calculator?

In mathematics (specifically combinatorics and probability), permutations and combinations are two ways to calculate the number of possible outcomes when selecting a subset of items from a larger set.

About the Permutation & Combination Calculator

Permutations (nPr): The number of ways to choose r items from a set of n items where the order DOES matter (e.g., selecting a 1st, 2nd, and 3rd place winner). Combinations (nCr): The number of ways to choose r items from a set of n items where the order DOES NOT matter (e.g., choosing a 3-person committee from a group of 10 people).

Formula

Permutation (nPr) = n! / (n - r)!
Combination (nCr) = n! / (r! × (n - r)!)

How to Use

  1. Total Objects (n): Enter the total number of items available in the entire set.
  2. Objects Selected (r): Enter the number of items you want to choose from the set. r must be less than or equal to n.
  3. Click the Calculate button.
  4. The calculator will immediately output both the Permutations (nPr) and Combinations (nCr).

Why Use This Calculator

  • ✓Determine the number of ways to arrange objects (e.g., books on a shelf).
  • ✓Calculate the odds of winning the lottery or drawing specific cards in a game.
  • ✓Solve complex probability problems.

Examples

Permutation (Order Matters)
Imagine a race with 8 runners. How many ways can the gold, silver, and bronze medals be awarded? n=8, r=3. nPr = 8! / (8 - 3)! = 8! / 5! = 8 × 7 × 6 = 336.
Combination (Order Doesn't Matter)
You want to choose 3 toppings for a pizza from a menu of 8 possible toppings. n=8, r=3. nCr = 8! / (3! × (8 - 3)!) = 336 / 6 = 56.

Frequently Asked Questions

How do I know whether to use a Permutation or Combination?+
Ask yourself: 'Does the order matter?' If you are picking a President and Vice President, order matters (Permutation). If you are picking two co-chairs, order doesn't matter (Combination).
Why is nCr always smaller than nPr?+
Because combinations ignore the order of selection, they group many permutations into a single combination. For example, selecting {A, B, C} is 6 different permutations (ABC, ACB, BAC, BCA, CAB, CBA) but only 1 combination.
What if n equals r?+
If n = r (you are choosing all the items): nPr = n!. There are n! ways to arrange all the items. nCr = 1. There is only 1 way to select all the items (you just take them all).
How helpful was this calculator?
Average rating: 4.6 / 5 (161 votes)

CalculatorCalc.com's sole focus is to provide fast, lightweight, comprehensive, convenient, 100% free online calculators in multiple categories that helps you with your day to day calculations with ease. Currently, we have around 100+ calculators to help you "do the math" quickly in areas such as finance, conversions, fitness, health, math, date & time, and others, and we are still developing more calculators which would be keep on adding over a period of time.

Our goal is to become the one-stop solution, go-to site for users who are our part of family who need to make quick calculations. Additionally, we believe the internet should be a source of free information and that's why we built this website and products what we offer absolutely for free. Therefore, all of our tools and services are completely 100% free all time, any time, with no registration required.

Our team comes from the background of software engineers and software developers, we specifically hard coded and developed each of the calculators individually in detail and put each one through strict, comprehensive testing. These calculators and tools are developed with precise fields that are exactly needed for calculations with right set of rules and right set of formulas making them unique in the internet.

But this doesn't mean that we are perfect and everything is up to the mark as sometimes there could be bugs when you develop any software. So, we are always open for feedback, anytime. Please inform us if you notice even the slightest error – your input is extremely valuable to us. You can reach out to us at contact@calculatorcalc.com While most calculators on CalculatorCalc.com are designed to be universally applicable for worldwide usage, some are for specific countries only. For example, the Income Tax Calculator is for United States residents only, and some could be for other regions.