Permutation and Combination Calculator

Calculate factorials, permutations, combinations, and repetition-based counting results from the total items and selected items. Permutation and Combination Calculator helps students, teachers, researchers, and analysts solve counting problems quickly and accurately.

Highlights

  • Calculate permutations and combinations quickly and accurately.
  • Find factorials for total and selected items.
  • Compare ordered and unordered selections without repetition.
  • Calculate permutations and combinations with repetition allowed.
  • Ideal for students, teachers, researchers, and analysts.

Table of Contents

  1. How Permutation and Combination Calculator Works?
  2. Practical Use Cases
  3. Accuracy and Limitations
  4. Quick Examples
  5. Frequently Asked Questions (FAQs)
  6. Cite This Calculator

How Permutation and Combination Calculator Works?

The calculator uses factorials to count arrangements and selections from n distinct total items, where r items are selected. A factorial multiplies every positive integer up to a given number.

n!=1×2×⋯×n

The calculator reports n!, r!, and (n − r)! as intermediate values. A permutation counts ordered arrangements without repetition, so changing the order creates a different result.

Pr=n!(n−r)!

A combination counts selections without considering order. Selecting A, B, and C is therefore the same combination as selecting C, B, and A.

Cr=n!r!(n−r)!

When repetition is allowed, the formulas change. Ordered selections with repetition use n choices for each of r positions, while unordered selections with repetition use the multiset combination formula.

nrand(n+r−1)!r!(n−1)!

For example, with n = 10 and r = 3, the calculator produces the following results:


OutputCalculationResult
Factorial of n10!3,628,800
Factorial of r3!6
Factorial of n − r7!5,040
Permutations10P3720
Combinations10C3120
Permutations with repetition1031,000
Combinations with repetition12C3220

The inputs are whole numbers. Total items n can range from 1 to 1,000, while selected items r can range from 0 to 1,000. For permutations and combinations without repetition, the standard interpretation requires r ≤ n.

Practical Use Cases

Students can compare permutations and combinations while solving probability, algebra, and discrete mathematics exercises. For example, the calculator can determine how many ordered podium outcomes are possible from a group of competitors and how many three-person teams can be selected from the same group.

Teachers can use the calculator to prepare worked examples and demonstrate the difference between order-sensitive and order-insensitive counting. The intermediate factorial outputs also make it easier to show how each formula is constructed.

Researchers can calculate the number of possible experimental arrangements, sample selections, or repeated-choice patterns when designing studies involving distinct options and fixed selection counts.

Analysts can evaluate possible schedules, rankings, codes, or item selections. The repetition-based outputs are useful when an option may be selected more than once, while the standard permutation and combination results apply when each item can be used only once.

Accuracy and Limitations

The calculator applies exact factorial, permutation, and combination formulas to integer inputs within the supported ranges: n from 1 to 1,000 and r from 0 to 1,000. Permutations and combinations without repetition are mathematically valid only when r ≤ n; entering a larger r does not represent a valid selection from the available items. Factorials and counting results grow extremely rapidly, so very large inputs may produce values that are difficult to display or may exceed the numeric precision supported by the calculator implementation.

Quick Examples

Example #1: Small Team Arrangements

Calculate arrangements and selections when choosing 3 people from a group of 10.

Example #2: Committee Selection

Determine the number of ways to select and arrange 5 members from 20 candidates.

Example #3: Password Character Choices

Calculate counting results for selecting 4 positions from 8 available distinct characters.

Frequently Asked Questions

A permutation considers the order of selected items, while a combination considers only which items are selected. For example, ABC and BAC are different permutations but the same combination.

Use a permutation when the arrangement or sequence matters, such as assigning people to ranked positions, creating passwords, or scheduling events.

Use a combination when order does not matter, such as choosing committee members, selecting lottery numbers, or forming a team.

Repetition is allowed when the same item can be selected more than once. For example, a code may contain repeated digits or a selection may include multiple instances of the same type.

A factorial represents the product of all positive integers up to a given number. It commonly describes the number of ways to arrange a set of distinct items.

Cite This Calculator