Toolsyantra
Explore tools ↗
MATH AND EDUCATION CALCULATORS

Permutation and Combination Calculator

Calculate permutations (nPr) and combinations (nCr) instantly. Enter values for n and r to get accurate results, formulas, and step-by-step explanations.

FREE ONLINE TOOL
Runs in your browser where supported
Loading tool…
GET STARTED

How to Use This Tool

  1. Select Permutation (nPr) or Combination (nCr).
  2. Enter the total number of available items (n).
  3. Enter the number of items to select or arrange (r).
  4. Click Calculate or change the values to update the result.
  5. Review the answer, formula, and calculation steps.
  6. Use Copy Result to copy the answer.
  7. Click Reset to clear the values and start a new calculation.
OVERVIEW

What Is Permutation and Combination Calculator?

The Toolsyantra Permutation and Combination Calculator is a free online math tool that helps you calculate permutations (nPr) and combinations (nCr) quickly and accurately. Enter the total number of items and the number of items to select to find your result instantly.

Use this permutation calculator to solve arrangement problems, or use the combination calculator to count selections where order does not matter. The tool displays the result, formula, and a simple explanation of the calculation.

Whether you are studying mathematics, preparing for exams, solving probability questions, or learning combinatorics, this online nPr and nCr calculator makes calculations easier. It works directly in your browser and does not require an API key.

WHY USE IT

Features & Benefits

Features:

Use Cases:

DETAILED GUIDE

Permutation and Combination Calculator: Complete Guide

Permutation and Combination Calculator – Solve nPr and nCr Online

The **Permutation and Combination Calculator** by Toolsyantra is a free online tool for solving mathematical counting problems. It calculates permutations (nPr) and combinations (nCr) using the values of n and r. Enter your numbers to get an instant result, the formula, and a step-by-step explanation.

Permutations and combinations are important topics in mathematics, probability, statistics, and combinatorics. They help determine how many different ways items can be arranged or selected from a group.

This online nPr and nCr calculator is useful for students, teachers, exam candidates, and anyone who needs to solve arrangement or selection problems quickly.

What Are Permutations?

A permutation is an arrangement of objects in which the order of the selected items matters.

For example, choosing three letters from A, B, and C and arranging them creates different permutations:

ABC, ACB, BAC, BCA, CAB, and CBA.

Although these arrangements contain the same letters, their order is different. Therefore, they are counted as separate permutations.

Permutations are commonly used in questions involving:

The permutation formula is used when the problem requires an arrangement or sequence.

What Are Combinations?

A combination is a selection of objects in which the order does not matter.

For example, selecting two letters from A, B, and C gives:

AB, AC, and BC.

The selection AB is the same as BA because the same two letters have been selected. The order is not important.

Combinations are useful for:

Use the combination calculator when you need to count selections rather than arrangements.

Difference Between Permutation and Combination

The main difference between permutation and combination is whether order matters.

A permutation counts different arrangements of the same selected items separately. A combination counts the selected group only once.

For example, if you select two students from a group of five:

Remember this simple rule:

**Permutation = Order matters**

**Combination = Order does not matter**

This distinction helps you choose the correct calculation method.

Permutation Formula – nPr

The permutation formula calculates the number of ways to arrange r items selected from n distinct items.

The formula is:

nPr = n! / (n − r)!

Where:

For example, calculate 5P2:

5P2 = 5! / (5 − 2)!

5P2 = 5! / 3!

5P2 = (5 × 4 × 3 × 2 × 1) / (3 × 2 × 1)

5P2 = 20

There are 20 different ways to arrange two items selected from five distinct items.

Combination Formula – nCr

The combination formula calculates the number of ways to select r items from n distinct items when order does not matter.

The formula is:

nCr = n! / [r! × (n − r)!]

For example, calculate 5C2:

5C2 = 5! / [2! × 3!]

5C2 = 120 / (2 × 6)

5C2 = 10

There are 10 different ways to select two items from five distinct items.

What Is Factorial?

Factorial is a mathematical operation represented by an exclamation mark (!).

The factorial of a positive integer is the product of all positive integers from that number down to 1.

Examples:

The factorial of zero is defined as:

0! = 1

Factorials are used in permutation and combination formulas to count arrangements and selections.

How to Use the Permutation and Combination Calculator

Using the Toolsyantra nPr and nCr calculator is simple.

1. Choose the Permutation or Combination calculation mode.

2. Enter the total number of items, represented by n.

3. Enter the number of items to select, represented by r.

4. Calculate the result.

5. Review the answer and mathematical formula.

6. Check the calculation steps if you want to understand how the result was obtained.

7. Copy the result for your notes or homework.

The calculator validates the values before calculating. For standard calculations, n and r must be non-negative integers, and r cannot be greater than n.

Example: Permutation and Combination of 6 Items

Suppose you have six different objects and want to select three.

For a permutation:

6P3 = 6! / (6 − 3)!

6P3 = 6! / 3!

6P3 = 6 × 5 × 4

6P3 = 120

For a combination:

6C3 = 6! / [3! × (6 − 3)!]

6C3 = 6! / (3! × 3!)

6C3 = 20

The permutation result is 120 because different arrangements are counted. The combination result is 20 because only unique selections are counted.

Important Rules of nPr and nCr

Several useful rules can make permutation and combination problems easier.

When r = 0

Selecting zero items from a group has exactly one possible selection: the empty selection.

Therefore:

nC0 = 1

Also:

nP0 = 1

When r = n

Selecting or arranging all available items gives:

nCn = 1

nPn = n!

When r = 1

Selecting one item from n items gives:

nC1 = n

Arranging one item from n items also gives:

nP1 = n

Combination Symmetry

The combination formula has a useful symmetry property:

nCr = nC(n − r)

For example:

8C2 = 8C6

Both expressions produce the same result because selecting two items to include is equivalent to selecting six items to leave out.

Applications of Permutations and Combinations

Permutation and combination calculations are used in many practical and academic situations.

Probability

Combinations help count possible groups and outcomes in probability problems. They are especially useful when the order of selected items does not matter.

Passwords and Codes

Permutations can help count possible arrangements of characters when order matters. Actual password calculations may also need to consider repetition, character restrictions, and other rules.

Team and Committee Selection

Combinations are useful when selecting members for a team, committee, or group without assigning different positions.

Seating and Rankings

Permutations are useful for calculating arrangements of people, objects, or rankings where each position is different.

Mathematics and Competitive Exams

Permutation and combination questions appear in combinatorics, probability, algebra, and many entrance or competitive examinations.

COMMON QUESTIONS

Frequently Asked Questions

What is a permutation?

A permutation is an arrangement of selected items where order matters.

What is a combination?

A combination is a selection of items where order does not matter.

What is the nPr formula?

nPr = n! / (n-r)!.

What is the nCr formula?

nCr = n! / [r! × (n-r)!].

What is the difference between permutation and combination?

Permutation counts arrangements, while combination counts unique selections.

Can r be greater than n?

No. In standard calculations, r must be less than or equal to n.

What is 0 factorial?

0! equals 1.

Can I calculate large nPr and nCr values?

The calculator uses precise integer arithmetic for supported non-negative integer inputs.

Is the calculator free?

Yes, this online calculator is free and requires no API key.

Does this tool work on mobile?

The page is responsive and designed for modern mobile and desktop browsers.