Calculate C(n,r) instantly: the number of ways to choose r items from a set of n items when order does not matter. Enter any whole numbers for n and r and the result updates immediately with full step-by-step working.
A combination is a selection of items from a larger set where order does not matter. If you are choosing a 3-person committee from 10 candidates, it does not matter whether you pick Alice first or last -- the committee is the same. C(10,3) = 120 tells you there are 120 distinct committees possible.
Combinations are written as C(n,r), nCr, or nCr. The notation "n choose r" is also standard. In Pascal's Triangle, C(n,r) appears as the (r+1)th element of the (n+1)th row.
The combination formula is:
C(n,r) = n! / (r! x (n-r)!)
Where n! ("n factorial") means n x (n-1) x (n-2) x ... x 1. For example, 5! = 5 x 4 x 3 x 2 x 1 = 120.
A practical shortcut: instead of computing full factorials, write out only r terms in the numerator starting from n, then divide by r!. For C(10,3):
(10 x 9 x 8) / (3 x 2 x 1) = 720 / 6 = 120
With n = 10 and r = 3:
There are 120 ways to choose any 3 items from a set of 10 when the order of selection does not matter.
| Concept | Formula | C(10,3) example | When to use |
|---|---|---|---|
| Combination (nCr) | n! / (r! x (n-r)!) | 120 | Order does not matter (teams, committees, hands) |
| Permutation (nPr) | n! / (n-r)! | 720 | Order matters (rankings, arrangements, sequences) |
| Relationship | nCr = nPr / r! | 720 / 6 = 120 | Divide permutations by the number of orderings of r items |
Method: Standard combinatorics formula C(n,r) = n! / (r! x (n-r)!). Factorials are computed iteratively using JavaScript BigInt for exact integer arithmetic at any practical value of n. The calculator handles values up to n = 170 before results exceed JavaScript's safe integer range; for larger values BigInt is used throughout.
This calculator computes exact integer results using the standard combination formula. Results are exact for all inputs shown. For very large n (above a few hundred), the number of digits in the result grows rapidly.
If you've found a bug, or would like to contact us, or learn more about James Graham and Calculate.co.nz.
Calculate.co.nz is partnered with Interest.co.nz for New Zealand's highest quality calculators and financial analysis.
Calculate.co.nz is the sister site of CalculatorHub.com, the world's largest calculator website by tool count.
All calculators and tools are provided for educational and indicative purposes only and do not constitute financial advice.
Calculate.co.nz is proudly part of the Realtor.co.nz group, New Zealand's leading property transaction literacy platform, helping Kiwis understand the home buying and selling process from start to finish. Whether you're a first home buyer navigating your first property purchase, an investor evaluating your next acquisition, or a homeowner planning to sell, Realtor.co.nz provides clear, independent, and trustworthy guidance on every step of the New Zealand property transaction journey.
Calculate.co.nz is also partnered with Health Based Building and Premium Homes to promote informed choices that lead to better long-term outcomes for Kiwi households.
Calculate.co.nz is hosted in Auckland via SiteHost new Zealand.
All content on this website, including calculators, tools, source code, and design, is protected under the Copyright Act 1994 (New Zealand). No part of this site may be reproduced, copied, distributed, stored, or used in any form without prior written permission from the owner.
About & trust: Why Calculate is NZ's most comprehensive · By the Numbers · How we compare · Editorial standards · How we keep data current · NZ finance glossary · Research & data · Financial literacy NZ · About · Privacy policy · Terms of use
Reviewed and maintained. Last reviewed 2026-07-02 and checked on a twice-monthly cycle against IRD, RBNZ and Stats NZ. How we keep data current.
© 2026 Calculate.co.nz. All rights reserved. Building free NZ calculators since 2011.