1. Home
  2. Maths
  3. Statistics & probability
  4. Permutation & Combination Calculator (nPr, nCr)

Permutation & Combination Calculator (nPr, nCr)

Number of arrangements and selections of r items from n, with the factorials shown.

MathsGrades 11–12BeginnerStep-by-step solution

Practice questions

Textbook-style questions. Press Solve in the tool to load the values and see the full solution. Underlined words are explained below.

  1. In how many ways can a president, secretary and treasurer be chosen from 10 people? In how many ways can a team of 3 be chosen?

  2. How many 5-card hands can be dealt from a 52-card deck?

Worked example

Here's the first practice question solved in full, so you can see exactly what you'll get. Try it on paper before you read the steps.

Question: In how many ways can a president, secretary and treasurer be chosen from 10 people? In how many ways can a team of 3 be chosen?

Plan: how this problem is solved
  1. Write the given values in SI units
  2. Permutations: order matters
  3. Combinations: order doesn't matter
Answer
Permutations nPrnPr = 720
Combinations nCrnCr = 120
Step-by-step solution
  1. Write the given values in SI units
    n=10
    r=3
  2. Permutations: order matters
    nPr=n!(n − r)!
    =10!(10 − 3)!
    =720
    That's 10 × 9 × 8.
  3. Combinations: order doesn't matter
    nCr=nPrr!
    =nPr3!
    =120
    3! = 6 orders of the same selection are counted once.
Key idea: Choosing a president, secretary and treasurer from 10 people is a permutation (720 ways). Choosing any 3 people for a team is a combination (120 ways).

Symbols in this solver

What each box asks for, and its unit.

SymbolWhat it meansSI unit
nTotal number of items n(no unit)
rNumber chosen r(no unit)

Formula & concept

Number of arrangements (permutations) and selections (combinations) of r items from n, with the factorials written out.

nPr = n!(n − r)!,   nCr = n!r! (n − r)!

Key idea: Choosing a president, secretary and treasurer from 10 people is a permutation (720 ways). Choosing any 3 people for a team is a combination (120 ways).

How to use this calculator

  1. Type the known values from your question and pick the unit for each one.
  2. Press Solve step by step.
  3. Read the plan first. It lists the steps the solution will follow. Want to try it yourself? Tick Practice mode and the answer stays hidden until you ask for it.
  4. Check the answer, then go through each numbered step. Where there's a second method, it's shown after the main one.
  5. Stuck on a word? The terms section explains it in simple language.

Frequently asked questions

How does the Permutation & Combination work?
You enter the values you know, pick their units and press Solve. The tool changes everything to SI units, applies the formula ^nPr = (n!)/((n − r)!), ^nCr = (n!)/(r! (n − r)!) and shows you each step: given data, formula, substitution and the final answer.
What is the key idea behind it?
Choosing a president, secretary and treasurer from 10 people is a permutation (720 ways). Choosing any 3 people for a team is a combination (120 ways).
What if my answer doesn't match my book?
First check that you've picked the right units. Then see which constants your book uses and how many figures it rounds to. You can change the number of figures under Settings in the solver. A small difference in the last digit is usually just rounding.
Can I see how to solve it without seeing the answer?
Yes. Tick Practice mode under the solver. You'll get the plan of steps only, so you can work it out on paper. One click then shows the full solution.
Is the Permutation & Combination free to use?
Yes, it's free with no sign-up. All calculations happen inside your browser and nothing you type is stored.
Which grades is it useful for?
It's made for Grades 11–12 (A-Level · AP · IB · Class 11–12 · JEE · NEET). The working follows the method used in textbooks and exams.