Combination Calculator | nCr Formula Solver

Count selections and compare the result with an ordered arrangement of the same objects.

Quick Answer

Use combinations when selecting a group whose order does not matter. For a three-person group from seven people, 7 choose 3 is 35. Use permutations instead if the chosen people fill distinguishable positions.

Coloured tiles selected in groups of three
Combinatorics Tool

Combination Calculator

Use this Combination Calculator to find how many ways you can choose \(r\) items from \(n\) items when order does not matter. Calculate \(nCr\), combinations with repetition, factorial values, complementary combinations, and step-by-step combinatorics formulas.

Calculate Combinations

Enter the total number of items and the number chosen. Choose standard combinations when items cannot repeat, or combinations with repetition when the same item can be selected more than once.

Core rule: combinations count selections where order does not matter. Choosing A, B, C is the same combination as C, B, A.

What Is a Combination Calculator?

A Combination Calculator is a counting tool that finds how many ways you can choose a smaller group of items from a larger set when the order of selection does not matter. The most common notation is \(nCr\), \(C(n,r)\), or \(\binom{n}{r}\). Each notation means choose \(r\) items from \(n\) total items.

For example, suppose you have 10 students and need to choose 3 for a team. If the team has no ranking, then choosing A, B, C is the same as choosing C, B, A. That is a combination problem because order does not matter. The number of possible teams is \(\binom{10}{3}=120\).

Combinations appear in probability, statistics, algebra, discrete math, lottery calculations, card games, committees, scheduling, experimental design, genetics, computer science, sampling, and everyday selection problems. They are also used inside formulas such as the binomial distribution, where \(\binom{n}{x}\) counts how many ways \(x\) successes can occur in \(n\) trials.

This calculator supports two major types: standard combinations without repetition and combinations with repetition. Standard combinations assume each item can be selected only once. Combinations with repetition allow the same type of item to be selected again, such as choosing scoops of ice cream where flavors may repeat.

How to Use the Combination Calculator

Enter the total number of items in the \(n\) field. This is the size of the full set. Then enter the number of items chosen in the \(r\) field. For standard combinations, \(r\) cannot be larger than \(n\), because you cannot choose more unique items than exist in the set.

Choose Without repetition for normal \(nCr\) problems. Use this for teams, committees, card hands, lottery selections without repeated numbers, and choosing unique items. Choose With repetition when repeated selections are allowed, such as selecting several items from categories where the same category can be chosen multiple times.

Click Calculate Combination. The calculator returns the number of combinations, the formula used, factorial values, complementary combination, and step-by-step work. The related-value chips show nearby combination values to help users see how the count changes as \(r\) changes.

Combination Calculator Formulas

The standard combination formula is:

Combination without repetition
\[\binom{n}{r}=\frac{n!}{r!(n-r)!}\]

In this formula, \(n\) is the total number of items, \(r\) is the number of items chosen, and the exclamation mark means factorial. A factorial multiplies all positive whole numbers down to 1:

Factorial definition
\[n!=n(n-1)(n-2)\cdots3\cdot2\cdot1\]

The special value \(0!\) is defined as 1:

Zero factorial
\[0!=1\]

For combinations with repetition, the formula is:

Combination with repetition
\[\binom{n+r-1}{r}=\frac{(n+r-1)!}{r!(n-1)!}\]

The complement identity is useful because choosing \(r\) items to include is equivalent to choosing \(n-r\) items to leave out:

Combination symmetry
\[\binom{n}{r}=\binom{n}{n-r}\]

Combination vs Permutation

The difference between combinations and permutations is order. In combinations, order does not matter. In permutations, order matters. If you choose three students for an unranked committee, that is a combination. If you choose a president, vice president, and secretary, that is a permutation because each role is different.

For the same \(n\) and \(r\), permutations usually produce a larger number than combinations because every ordering is counted separately. The permutation formula is \(P(n,r)=\frac{n!}{(n-r)!}\). The combination formula divides by \(r!\) because the \(r!\) internal orderings of the chosen group should not be counted separately.

Example: choosing 3 people from 10 gives \(\binom{10}{3}=120\) combinations. Arranging 3 people from 10 into first, second, and third roles gives \(P(10,3)=720\) permutations. The permutation count is 6 times larger because 3 selected people can be arranged in \(3!=6\) orders.

Combinations With Repetition

Combinations with repetition are used when each selected item can be chosen more than once and order still does not matter. For example, if an ice cream shop has 5 flavors and you choose 3 scoops, you might choose chocolate, chocolate, vanilla. Since repeated flavors are allowed and order of scoops does not matter, this is a combination with repetition problem.

The formula is \(\binom{n+r-1}{r}\). This formula comes from a counting technique often called stars and bars. The selected items are represented by stars, and separators divide them among categories. While the derivation can feel abstract, the calculator handles the arithmetic directly and shows the substitution.

For example, choosing 3 scoops from 5 flavors with repetition gives \(\binom{5+3-1}{3}=\binom{7}{3}=35\). That means there are 35 unordered scoop combinations when repeated flavors are allowed.

Common Applications of Combinations

Combinations are used in lottery probability, card games, team selection, committee formation, survey sampling, quality control, experimental design, genetics, and probability distributions. In card games, a 5-card hand from a 52-card deck is a combination because the order in which the cards are dealt does not change the final hand. Use the event probability calculator to compare the formulas for different types of events.

In statistics, combinations appear in the binomial distribution. The term \(\binom{n}{x}\) counts how many ways \(x\) successes can happen among \(n\) trials. In research, combinations can count how many possible samples or groups can be formed. In business, combinations can count bundles, packages, or possible feature selections when order is irrelevant.

Combinations also help students develop counting logic. Instead of listing every possible group manually, the formula gives a systematic method for counting large selection problems.

Combination Calculator Worked Examples

Example 1: Choose 3 items from 10 items.

Example 1
\[\binom{10}{3}=\frac{10!}{3!(10-3)!}=\frac{10!}{3!7!}=120\]

Example 2: Choose 5 cards from a 52-card deck.

Example 2
\[\binom{52}{5}=\frac{52!}{5!47!}=2,598,960\]

Example 3: Choose 6 lottery numbers from 49 numbers.

Example 3
\[\binom{49}{6}=13,983,816\]

Example 4: Choose 3 scoops from 5 flavors with repetition allowed.

Example 4
\[\binom{5+3-1}{3}=\binom{7}{3}=35\]
SituationOrder Matters?Repetition?Method
Choose 3 students for a committeeNoNoCombination
Choose president, vice president, secretaryYesNoPermutation
Choose lottery numbersNoUsually noCombination
Choose ice cream scoops by flavorNoYesCombination with repetition

Common Combination Mistakes

The first common mistake is using combinations when order actually matters. If positions, rankings, passwords, arrangements, or ordered outcomes are involved, the problem may require permutations instead.

The second mistake is allowing \(r\) to be larger than \(n\) in standard combinations. Without repetition, you cannot choose more unique objects than the number available. With repetition, \(r\) can be larger than \(n\) because repeated choices are allowed.

The third mistake is forgetting that \(0!=1\). This matters when \(r=0\) or \(r=n\). In both cases, there is exactly one way to choose: choose nothing or choose everything.

The fourth mistake is not simplifying the factorial expression. Large factorials become enormous quickly, but many terms cancel. For example, \(\binom{10}{3}=\frac{10\times9\times8}{3\times2\times1}\), not a calculation that requires fully expanding all of \(10!\) and \(7!\).

Combination Calculator FAQs

What does a combination calculator do?

It calculates how many ways you can choose \(r\) items from \(n\) total items when order does not matter.

What is the nCr formula?

The formula is \(\binom{n}{r}=\frac{n!}{r!(n-r)!}\).

What is the difference between combination and permutation?

In combinations, order does not matter. In permutations, order matters.

Can r be greater than n?

For standard combinations without repetition, no. For combinations with repetition, yes, because items can be selected more than once.

What is 10 choose 3?

\(\binom{10}{3}=120\).

Why is 0 factorial equal to 1?

It is defined that way so counting formulas work consistently. There is exactly one way to choose nothing from a set.

Important Note

This Combination Calculator is for educational math, probability, statistics, and general counting problems. For high-stakes lottery, cryptography, engineering, or research applications, verify assumptions carefully, especially whether order matters and whether repetition is allowed. Use the probability worksheets with answers to practise recognizing which probability model applies.

Advertisement

Count a committee without counting it twice

Six students volunteer and three committee members are needed. Selecting a first, second and third student would give six times five times four, or 120 arrangements. Each committee occurs in six orders, one for every way to arrange its three members. Dividing 120 by six gives twenty distinct committees. A chair, secretary and treasurer would be a different question because swapping two people would then change the outcome. Decide what counts as a distinct outcome before choosing the calculator mode.

Combinations: When Order Doesn’t Matter

In situations in which the order of a list of objects doesn’t matter, the lists are no longer permutations. Instead, we call them combinations.

Distinguishing Between Permutations and Combinations

For each of the following situations, decide whether the chosen subset is a permutation or a combination.
  1. A social club selects 3 members to form a committee. Each of the members has an equal share of responsibility.
  2. You are prompted to reset your email password; you select a password consisting of 10 characters without repeats.
  3. At a dog show, the judge must choose first-, second-, and third-place finishers from a group of 16 dogs.
  4. At a restaurant, the special of the day comes with the customer’s choice of 3 sides taken from a list of 6 possibilities.
Solution
  1. Since there is no distinction among the responsibilities of the 3 committee members, the order isn’t important. So, this is a combination.
  2. The order of the characters in a password matter, so this is a permutation.
  3. The order of finish matters in a dog show, so this is a permutation.
  4. A plate with mashed potatoes, peas, and broccoli is functionally the same as a plate with peas, broccoli, and mashed potatoes, so this is a combination.

Counting Combinations

Permutations and combinations are certainly related, because they both involve choosing a subset of a large group. Let’s explore that connection, so that we can figure out how to use what we know about permutations to help us count combinations. We’ll take a basic example. How many ways can we select 3 letters from the group A, B, C, D, and E? If order matters, that number is 5P3=60. That’s small enough that we can list them all out in the table below.
ABC ABD ABE ACB ACD ACE
ADB ADC ADE AEB AEC AED
BAC BAD BAE BCA BCD BCE
BDA BDC BDE BEA BEC BED
CAB CAD CAE CBA CBD CBE
CDA CDB CDE CEA CEB CED
DCA DAC DAE DBA DBC DBE
DCA DCB DCE DEA DEB DEC
EAB EAC EAD EBA EBC EBD
ECA ECB ECD EDA EDB EDC
Now, let’s look back at that list and color-code it so that groupings of the same 3 letters get the same color, as shown in diagram:
A table of possible combinations. The table has 10 rows and 6 columns. The data is as follows: Row 1, ABC, ABD, ABE, ACB, ACD, ACE. Row 2, ADB, ADC, ADE, AEB, AEC, AED. Row 3, BAC, BAD, BAE, BCA, BCD, BCE. Row 4, BDA, BDC, BDE, BEA, BEC, BED. Row 5, CAB, CAD, CAE, CBA, CBD, CBE. Row 6, CDA, CDB, CDE, CEA, CEB, CED. Row 7,  DAB, DAC, DAE, DBA, DBC, DBE. Row 8, DCA, DCB, DCE, DEA, DEB, DEC. Row 9, EAB, EAC, EAD, EBA, EBC, EBD. Row 10, ECA, ECB, ECD, EDA, EDB, EDC. The combinations are color-coded as follows: Dark red, ABC, ACB, BAC, BCA, CAB, CBA. Light red, ABD, ADB, BAD, BDA, DAB, DBA. Orange, ABE, AEB, BAE, BEA, EAB, EBA. Yellow, ACD, ADC, CAD, CDA, DAC, DCA. Light green, ACE, AEC, CAE, CEA, EAC, ECA. Dark green, ADE, AED, DAE, DEA, EAD, EDA. Light blue, BCD, BDC, CBD, CDB, DBC, DCB. Dark blue, BCE, BEC, CBE, CEB, EBC, ECB. Dark purple, BDE, BED, DBE, DEB, EBD, EDB. Light purple, CDE, CED, DCE, DEC, ECD, EDC.
After color-coding, we see that the 60 cells can be seen as 10 groups (colors) of 6. That’s no coincidence! We’ve already seen how to compute the number of permutations using the formula To compute the number of combinations, let’s count them another way using the Multiplication Rule for Counting. We’ll do this in two steps:
Step 1: Choose 3 letters (paying no attention to order).
Step 2: Put those letters in order.
The number of ways to choose 3 letters from this group of 5 (A, B, C, D, E) is the number of combinations we’re looking for; let’s call that number 5C3 (read “the number of combinations of 5 objects taken 3 at a time”). We can see from our chart that this is ten (the number of colors used). We can generalize our findings this way: remember that the number of permutations of n things taken r at a time is nPr=n!(n−r)!. That number is also equal to nCr×r!, and so it must be the case that n!(n−r)!=nCr×r!. Dividing both sides of that equation by r! gives us the formula below.

Using the Combination Formula

Compute the following:
  1. 8C3
  2. 12C5
  3. 15C9
Solution
  1. 8C3=8!3!(8−3)!=8×7×6×5!3×2×1×5!=8×7=56
  2. 12C5=12!5!(12−5)!=12×11×10×9×8×7!5×4×3×2×1×7!=11×9×8=792
  3. 15C9=15!9!(15−9)!=15×14×13×12×11×10×9!9!×6×5×4×3×2×1=14×13×11×104=5,005

Applying the Combination Formula

  1. In the card game Texas Hold’em (a variation of poker), players are dealt 2 cards from a standard deck to form their hands. How many different hands are possible?
  2. The board game Clue uses a deck of 21 cards. If 3 people are playing, each person gets 6 cards for their hand. How many different 6-card Clue hands are possible?
  3. Palmetto Cash 5 is a game offered by the South Carolina Education Lottery. Players choose 5 numbers from the whole numbers between 1 and 38 (inclusive); the player wins the jackpot of $100,000 if the randomizer selects those numbers in any order. How many different sets of winning numbers are possible?
Solution
  1. A standard deck has 52 cards, and a hand has 2 cards. Since the order doesn’t matter, we use the formula for counting combinations:
    52C2=52!2!(52−2)!=52×51×50!2×1×50!=52×512=1,326.
  2. Again, the order doesn’t matter, so the number of combinations is:
    21C6=21!6!(21−6)!=21×20×19×18×17×16×15!6×5×4×3×2×1×15!=21×19×17×162=54,264.
  3. There are 38 numbers to choose from, and we must pick 5. Since order doesn’t matter, the number of combinations is:
    38C5=38!5!(38−5)!=38×37×36×35×34×33!5×4×3×2×1×33!=501,492.

Combining Combinations with the Multiplication Rule for Counting

The student government at a university consists of 10 seniors, 8 juniors, 6 sophomores, and 4 first-years.
  1. How many ways are there to choose a committee of 8 people from this group?
  2. How many ways are to choose a committee of 8 people if the committee must consist of 2 people from each class?
Solution
  1. There are 28 people to choose from, and we need 8. So, the number of possible committees is 28C8=3,108,105.
  2. Break the selection of the committee members down into a 4-step process: Choose the seniors, then choose the juniors, then the sophomores, and then the first-years, as shown in the table below:
    Class Number of Ways to Choose Committee Representatives
    senior 10C2=45
    junior 8C2=28
    sophomore 6C2=15
    first-year 4C2=6
    The Multiplication Rule for Counting tells us that we can get the total number of ways to complete this task by multiplying together the number of ways to do each of the four subtasks. So, there are 45×28×15×6=113,400 possible committees with these restrictions.

Check Your Understanding

Formulas

  • The formula for counting combinations is: nCr=n!r!(n−r)!

Using Permutations to Compute Probabilities

Recall that we can use permutations to count how many ways there are to put a number of items from a list in order. If we’re looking at an experiment whose sample space looks like an ordered list, then permutations can help us to find the right probabilities.

Using Permutations to Compute Probabilities

  1. In horse racing, an exacta bet is one where the player tries to predict the top two finishers in particular race in order. If there are 9 horses in a race, and a player decided to make an exacta bet at random, what is the probability that they win?
  2. You are in a club with 10 people, 3 of whom are close friends of yours. If the officers of this club are chosen at random, what is the probability that you are named president and one of your friends is named vice president?
  3. A bag contains slips of paper with letters written on them as follows: A, A, B, B, B, C, C, D, D, D, D, E. If you draw 3 slips, what is the probability that the letters will spell out (in order) the word BAD?
Solution
  1. Since order matters for this situation, we’ll use permutations. How many different exacta bets can be made? Since there are 9 horses and we must select 2 in order, we know there are 9P2=56 possible outcomes. That’s the size of our sample space, so it will go in the denominator of the probability. Since only one of those outcomes is a winner, the numerator of the probability is 1. So, the probability of randomly selecting the winning exacta bet is 156.
  2. There are 10 people in the club, and 2 will be chosen to be officers. Since the order matters, there are 10P2=90 different ways to select officers. Next, we must figure out how many outcomes are in our event. We’ll use the Multiplication Rule for Counting to find that number. There is only 1 choice for president in our event, and there are 3 choices for vice president. So, there are 1×3=3 outcomes in the event. Thus, the probability that you will serve as president with one of your friends as vice president is 390=130.
  3. There are 12 slips of paper in the bag, and 3 will be drawn. So, there are 12P3=1320 possible outcomes. Now, we’ll compute the number of outcomes in our event. The first letter drawn must be a B, and there are 3 of those. Next must come an A (2 of those) and then a D (4 of those). Thus, there are 3×2×4=24 outcomes in our event. So, the probability that the letters drawn spell out the word BAD is 241320=155.

Combinations to Computer Probabilities

If the sample space of our experiment is one in which order doesn’t matter, then we can use combinations to find the number of outcomes in that sample space.

Using Combinations to Compute Probabilities

  1. Palmetto Cash 5 is a game offered by the South Carolina Education Lottery. Players choose 5 numbers from the whole numbers between 1 and 38 (inclusive); the player wins the jackpot of $100,000 if the randomizer selects those numbers in any order. If you buy one ticket for this game, what is the probability that you win the top prize by choosing all 5 winning numbers?
  2. There’s a second prize in the Palmetto Cash 5 game that a player wins if 4 of the player's 5 numbers are among the 5 winning numbers. What’s the probability of winning the second prize?
  3. Scrabble is a word-building board game. Players make hands of 7 letters by selecting tiles with single letters printed on them blindly from a bag (2 tiles have nothing printed on them; these blanks can stand for any letter). Players use the letters in their hands to spell out words on the board. Initially, there are 100 tiles in the bag. Of those, 44 are (or could be) vowels (9 As, 12 Es, 9 Is, 8 Os, 4 Us, and 2 blanks; we’ll treat Y as a consonant). What is the probability that your initial hand has no vowels?
Solution
  1. There are 38 numbers to choose from, and the order of the 5 we pick doesn’t matter. So, there are 38C5=501,492 outcomes in the sample space. Only one outcome is in our winning event, so the probability of winning is 1501,492.
  2. As in part 1 of this example,, there are 501,492 outcomes in the sample space. The tricky part here is figuring out how many outcomes are in our event. To qualify, the outcome must contain 4 of the 5 winning numbers, plus one losing number. There are 5C4=5 ways to choose the 4 winning numbers, and there are 38−5=33 losing numbers. So, using the Multiplication Rule for Counting, there are 5×33=165 outcomes in our event. Thus, the probability of winning the second prize is 165501,492=55167,164, which is about 0.00033.
  3. The number of possible starting hands is 100C7=16,007,560,800. There are 100−44=56 consonants in the bag, so the number of all-consonant hands is 56C7=231,917,400. Thus, the probability of drawing all consonants is 231,917,4016,007,560,800=32,1392,425,388≈0.0145.

Check Your Understanding

Using the Addition Principle

The company that sells customizable cases offers cases for tablets and smartphones. There are 3 supported tablet models and 5 supported smartphone models. The Addition Principle tells us that we can add the number of tablet options to the number of smartphone options to find the total number of options. By the Addition Principle, there are 8 total options, as we can see in diagram.
The addition of 3 iPods and 4 iPhones.

Using the Addition Principle

There are 2 vegetarian entrée options and 5 meat entrée options on a dinner menu. What is the total number of entrée options?
Solution
We can add the number of vegetarian options to the number of meat options to find the total number of entrée options.
The addition of the type of options for an entree.
There are 7 total options.

Using the Multiplication Principle

The Multiplication Principle applies when we are making more than one selection. Suppose we are choosing an appetizer, an entrée, and a dessert. If there are 2 appetizer options, 3 entrée options, and 2 dessert options on a fixed-price dinner menu, there are a total of 12 possible choices of one each as shown in the tree diagram in diagram.
A tree diagram of the different menu combinations.
The possible choices are:
  1. soup, chicken, cake
  2. soup, chicken, pudding
  3. soup, fish, cake
  4. soup, fish, pudding
  5. soup, steak, cake
  6. soup, steak, pudding
  7. salad, chicken, cake
  8. salad, chicken, pudding
  9. salad, fish, cake
  10. salad, fish, pudding
  11. salad, steak, cake
  12. salad, steak, pudding
We can also find the total number of possible dinners by multiplying.
We could also conclude that there are 12 possible dinner choices simply by applying the Multiplication Principle.
#of appetizer options × #of entree options × #of dessert options               2                  ×              3              ×               2 =12

Using the Multiplication Principle

Diane packed 2 skirts, 4 blouses, and a sweater for her business trip. She will need to choose a skirt and a blouse for each outfit and decide whether to wear the sweater. Use the Multiplication Principle to find the total number of possible outfits.
Solution
To find the total number of outfits, find the product of the number of skirt options, the number of blouse options, and the number of sweater options.
The multiplication of number of skirt options (2) times the number of blouse options (4) times the number of sweater options (2) which equals 16.
There are 16 possible outfits.

Finding the Number of Permutations of n Distinct Objects

The Multiplication Principle can be used to solve a variety of problem types. One type of problem involves placing objects in order. We arrange letters into words and digits into numbers, line up for photographs, decorate rooms, and more. An ordering of objects is called a permutation.

Finding the Number of Permutations of n Distinct Objects Using the Multiplication Principle

To solve permutation problems, it is often helpful to draw line segments for each option. That enables us to determine the number of each option so we can multiply. For instance, suppose we have four paintings, and we want to find the number of ways we can hang three of the paintings in order on the wall. We can draw three lines to represent the three places on the wall.
There are four options for the first place, so we write a 4 on the first line.
Four times two blanks spots.
After the first place has been filled, there are three options for the second place so we write a 3 on the second line.
Four times three times one blank spot.
After the second place has been filled, there are two options for the third place so we write a 2 on the third line. Finally, we find the product.
There are 24 possible permutations of the paintings.

Finding the Number of Permutations Using the Multiplication Principle

At a swimming competition, nine swimmers compete in a race.
  1. ⓐHow many ways can they place first, second, and third?
  2. ⓑHow many ways can they place first, second, and third if a swimmer named Ariel wins first place? (Assume there is only one contestant named Ariel.)
  3. ⓒHow many ways can all nine swimmers line up for a photo?
Solution
  1. ⓐDraw lines for each place.
    There are 9 options for first place. Once someone has won first place, there are 8 remaining options for second place. Once first and second place have been won, there are 7 remaining options for third place.
    Multiply to find that there are 504 ways for the swimmers to place.
  2. ⓑDraw lines for describing each place.
    We know Ariel must win first place, so there is only 1 option for first place. There are 8 remaining options for second place, and then 7 remaining options for third place.
    Multiply to find that there are 56 ways for the swimmers to place if Ariel wins first.
  3. ⓒ
    Draw lines for describing each place in the photo.
    There are 9 choices for the first spot, then 8 for the second, 7 for the third, 6 for the fourth, and so on until only 1 person remains for the last spot.
    There are 362,880 possible permutations for the swimmers to line up.
A family of five is having portraits taken. Use the Multiplication Principle to find the following.

Finding the Number of Permutations of n Distinct Objects Using a Formula

For some permutation problems, it is inconvenient to use the Multiplication Principle because there are so many numbers to multiply. Fortunately, we can solve these problems using a formula. Before we learn the formula, let’s look at two common notations for permutations. If we have a set of n objects and we want to choose r objects from the set in order, we write P(n,r). Another way to write this is n P r , a notation commonly seen on computers and calculators. To calculate P(n,r), we begin by finding n!, the number of ways to line up all n objects. We then divide by ( n−r )! to cancel out the ( n−r ) items that we do not wish to line up.
Let’s see how this works with a simple example. Imagine a club of six people. They need to elect a president, a vice president, and a treasurer. Six people can be elected president, any one of the five remaining people can be elected vice president, and any of the remaining four people could be elected treasurer. The number of ways this may be done is 6×5×4=120. Using factorials, we get the same result.
6! 3! = 6·5·4·3! 3! =6·5·4=120
There are 120 ways to select 3 officers in order from a club with 6 members. We refer to this as a permutation of 6 taken 3 at a time. The general formula is as follows.
P(n,r)= n! (n−r)!
Note that the formula stills works if we are choosing all n objects and placing them in order. In that case we would be dividing by ( n−n )! or 0!, which we said earlier is equal to 1. So the number of permutations of n objects taken n at a time is n! 1 or just n!.

Finding the Number of Permutations Using the Formula

A professor is creating an exam of 9 questions from a test bank of 12 questions. How many ways can she select and arrange the questions?
Solution
Substitute n=12 and r=9 into the permutation formula and simplify.
 P(n,r)= n! (n−r)! P(12,9)= 12! (12−9)! = 12! 3! =79,833,600
There are 79,833,600 possible permutations of exam questions!
A play has a cast of 7 actors preparing to make their curtain call. Use the permutation formula to find the following.