QuickToolbox

Combination Calculator

Count the ways to choose r items from n when order does not matter, with or without repeats.

These tools are for study and quick checking. A result is only as good as the numbers you enter and the simplifying assumptions in the formula. For published, regulated or safety-critical work, check it against a trusted source or an instrument.

How it works

The formula

nCr = n! / (r! (n - r)!); with repeats (n + r - 1)! / (r! (n - 1)!)

Frequently asked questions

When do I use combinations?

When only the group matters, such as a lottery draw or a committee.

Why is nCr symmetric?

Choosing r to take is the same as choosing n - r to leave.

Is what I enter sent anywhere?

No. The calculation is done in your browser, so your numbers are not sent to a server or saved.

Related tools