Free tools that run in your browser. Use any tool without an account.

Favourites Cart
Sign in
Join free

Combination Calculator

  • Free
  • Runs in your browser
  • No account needed

This calculator returns exact combinations nCr, permutations nPr, combinations with repetition, and a 1-in-X chance. For example, a 6-from-49 lottery gives 13,983,816 possible tickets by calculating C(49,6). It updates instantly as you type and copies results to your clipboard.

Combinations nCr
13,983,816
Chance of one exact pick
1 in 13,983,816
With repetition allowed
25,827,165
Permutations nPr (order matters)
10,068,347,520

Exact whole numbers of any length. n is limited to 100,000.

Runs in your browser. Your files and values are not sent to us. Report a problem
Advertisement

About the Combination Calculator

You use this tool to count combinations and permutations when order matters or not. Enter Total items (n) and Items chosen (r). The page runs in your browser and uses exact integer arithmetic to give precise results. n is limited to 100,000 and inputs must be whole numbers. The tool shows nCr, the 1-in-X chance for any exact pick, combinations with repetition, and nPr when order matters. Results update instantly as you type and you can copy a result or share a link that reopens with your numbers. Nothing you type is uploaded unless you explicitly share the generated link. This makes the calculator fast, private, and able to handle very large exact integers for homework, lottery checks, or probability checks.

How to use it

  1. 1Enter Total items (n) as a whole number up to 100,000.
  2. 2Enter Items chosen (r) as a whole number. For no repetition use 0 ≤ r ≤ n.
  3. 3Watch results update instantly; copy a result or click share to get a link that reopens with your numbers.
Advertisement

Worked example

Input: n = 49, r = 6. Results: Combinations nCr = 13,983,816; Chance of one exact pick = 1 in 13,983,816; With repetition = 25,827,165; Permutations nPr = 10,068,347,520.

The formula

nCr = n! / (r! (n - r)!): the number of ways to choose r items from n when order does not matterWith repetition allowed (like choosing scoops of ice cream) it is (n + r - 1)! / (r! (n - 1)!)For example a 6-from-49 lottery has 13,983,816 possible tickets

Source: FreeToolr Combination CalculatorPearson Combination Calculator notesWikipedia, Combination. Last checked 6 November 2026.

What it is good for

  • Returns exact integer results for very large counts.
  • Updates instantly in-browser with no calculate button.
  • Provides permutations and repetition counts alongside nCr.
  • Inputs must be whole numbers and n is capped at 100,000.
  • For very large displayed numbers you may prefer scientific notation view.
Advertisement

Questions people ask

What counts as a combination here?

A combination is the number of ways to choose r items from n when order does not matter. The tool labels this result nCr or C(n,r).

What input rules apply to n and r?

Enter non-negative whole numbers. For combinations without repetition you must use 0 ≤ r ≤ n. The tool limits n to 100,000 to keep results exact in the browser.

What does "with repetition" mean?

With repetition you may pick the same item more than once, like scoops of the same ice cream flavor. The tool computes that as C(n + r - 1, r).

How does the calculator avoid rounding errors for large numbers?

The calculator uses integer arithmetic and exact methods to avoid floating point rounding. That returns precise integers even for very large combinatorial counts.

What is the "chance of one exact pick" result?

That shows the odds of choosing one particular combination at random. It is 1 divided by nCr. For example 1 in 13,983,816 for C(49,6).

Can I save or share my inputs and results?

Yes. You can copy a result or share a link that reopens this page with your numbers. Nothing is uploaded unless you share that link.

Help keep every tool free

FreeToolr stays free because people help it grow. Share a tool you like, tell us what to build next, or support us on Ko-fi.

Advertisement
Advertisement