Permutations and Combinations Calculator

Count ordered arrangements or unordered selections with explicit repetition rules and exact integer results.

On-device No sign-up Free to use

Count arrangements controls

Showing an example. Edit to see your own.

Processed in your browser. Your inputs stay on this device.

Result

Showing an example.

Choose three distinct items from five without ordering.

C(5,3) = 5! / (3! × (5−3)!) = 10.
Answer: 10

https://usefreetools.net/permutations-combinations-calculator · 20 November 2026

Was this helpful?

How to use Permutations and Combinations Calculator

  1. Enter whole n for the available distinguishable types and whole k for the number selected, both from 0 to 500.
  2. Choose Combinations if order does not matter, or Permutations if a different order counts as another arrangement.
  3. Choose whether a type may be repeated. Without repetition, k cannot exceed n.
  4. Calculate and read the formula and exact integer count. Small inputs include expanded working; larger counts keep compact formulas.

Example: Permutations and Combinations Calculator

Choose three distinct items from five without ordering.

You add
Available types (n): 5 Selections (k): 3 Count: Combinations: order does not matter Repetition: No repetition
You get
C(5,3) = 5! / (3! × (5−3)!) = 10. Answer: 10

Supported inputs and limits

  • n and k are whole numbers from 0 to 500; without repetition k cannot exceed n.
  • Counts use exact BigInt arithmetic and can be long.
  • With repetition, permutations use n^k and combinations use C(n+k−1,k), with empty-selection cases handled explicitly.
  • Items are distinguishable types; no probability or ranking is inferred.
  • Factorial expansions are shown for n and k up to 12.
More details

Larger accepted values retain exact integer counts with compact formulas.

Where your input is processed

This tool does not upload your inputs. See the limits for anything saved on your device.

Questions about Permutations and Combinations Calculator

When does order matter?

For a permutation, AB and BA are two arrangements. For a combination they are the same selection. Choose the rule that matches what you are counting; order is separate from whether a type can repeat.

What does repetition mean here?

A type may be selected more than once. Without repetition, each available type can be used at most once.

Why is selecting zero items counted as one?

There is one empty selection or arrangement. The tool treats that case explicitly instead of dividing by a missing factorial.

Page updated · Project managed by Tony Hines · Report a problem with Permutations and Combinations Calculator