Skip to main content

Permutation and Combination Calculator

Permutations count arrangements where order matters; combinations count selections where order does not.

Calculated Result
120

C(n,r)

Combinations C(n,r)

120

Permutations P(n,r)

720

Combinations C(n,r)

120

n!

3,628,800

120 — combination

Calculation Breakdown

  1. Permutations (order matters)P(n,r) = n! / (n−r)! = 720
  2. Combinations (order ignored)C(n,r) = n! / (r!(n−r)!) = 120

C(10, r) for r = 1 to 5

Interactive visualization based on your current inputs

Calculated Value
0.063126189252C(10,1) = 10C(10,2) = 45C(10,3) = 120C(10,4) = 210C(10,5) = 252

What Is the Permutation and Combination Calculator?

Permutations and combinations measure how many ways items can be selected from a group.

How Does the Permutation and Combination Calculator Work?

Permutations: n × (n-1) × … × (n-r+1). Combinations: divide permutations by r! to remove order.

Permutation and Combination Calculator Formula & Variables

The core mathematical equation utilized by this calculator is expressed as:

P(n,r)=n!(n−r)!C(n,r)=n!r!(n−r)!P(n,r) = \dfrac{n!}{(n-r)!} \quad C(n,r) = \dfrac{n!}{r!(n-r)!}

Permutations count ordered arrangements; combinations count unordered subsets.

How to Use the Permutation and Combination Calculator

  1. Enter n (total) and r (chosen), select which to highlight, and read both results.

Step-by-Step Example Calculation

Choose 3 from 10

Input Values:

n:10
r:3
mode:combination
Worked Steps: C(10,3) = 120 combinations; P(10,3) = 720 permutations.

Understanding Your Result

P(n,r) > C(n,r) since each combination corresponds to r! permutations.

Factors That Affect the Result

  • When r = 1, P = C = n. When r = n, P = n! and C = 1.

When Should You Use This Calculator?

  • Lottery odds, tournament schedules, password counting, genetics.

Assumptions & Limitations

  • n must be ≤ 170 (JavaScript number precision limit for factorials).

Frequently Asked Questions

Calculation Accuracy & Reference Note

Uses exact double-precision floating-point factorial for n ≤ 170.

\n

Explore more tools and calculators in Math Calculators