Permutation and Combination Calculator

nPr, nCr, with and without repetition.

nPr, nCr, with and without repetition.

How to use this calculator

Every field updates the result as you type — there is no submit step. The inputs below are pre-filled with a realistic example so you can see how the tool behaves before entering your own figures.

FieldUnitWhat it means
n — total itemsEnter a numeric value.
r — items chosenEnter a numeric value.

Worked example

Using the default values loaded into the calculator above, the result is:

InputValue
n — total items10
r — items chosen3
OutputValue
Combinations — C(10,3)120
Permutations — P(10,3)720
Permutations with repetition — n^r1,000
Combinations with repetition220
n!3,628,800
r!6
(n−r)!5,040

Precision and rounding

Calculations run in IEEE 754 double precision, giving about 15–17 significant decimal digits. Displayed values are rounded for readability while the full precision is retained internally, so intermediate rounding never accumulates into the final answer.

Very large or very small magnitudes switch automatically to scientific notation.

Sharing and saving a calculation

The "Copy link" button encodes every value you have entered into the page URL. Opening that link restores the calculation exactly, which makes it easy to bookmark a scenario, send it to someone else, or keep several variations side by side in separate tabs.

Frequently asked questions

What does the Permutation and Combination Calculator do?

nPr, nCr, with and without repetition.

What result do the default values produce?

With the values pre-loaded in the calculator, combinations — c(10,3) comes to 120.

Is this calculator free to use?

Yes. It is free, requires no account, and runs entirely in your browser — nothing you enter is transmitted or stored on a server.

Can I save or share a calculation?

Yes. The "Copy link" button builds a URL containing all your entered values. Anyone opening that link sees the same calculation.

How accurate is the result?

Calculations use double-precision floating point, accurate to roughly 15 significant digits. Displayed values are rounded for readability only.