← Math & statistics

nCr & nPr calculator (permutations & combinations)

Enter n and r to compute permutations, combinations, and factorial values with BigInt exact results, scientific-notation approximations, shareable URLs, and optional teaching prompts.

Keep teacher mode on to surface symmetry hints and definitions, or switch to Approx whenever the exact value would exceed the safe BigInt workload (about n = 10,000).

Other languages 日本語 | English | 简体中文 | 繁體中文 | 繁體中文(香港) | Español | Español (México) | Português (Brasil) | Português (Portugal) | Bahasa Indonesia | Tiếng Việt | 한국어 | Français | Deutsch | Svenska | Suomi | Dansk | Norsk bokmål | Italiano | Русский | हिन्दी | العربية | বাংলা | اردو | Türkçe | ไทย | Polski | Filipino | Bahasa Melayu | فارسی | Nederlands | Українська | עברית | Čeština
Mode
Precision

Results

Exact value:
Digits:
Scientific notation:

Step log

Steps are hidden. Turn on “Show steps” to view them.

    FAQ

    What is the difference between permutations and combinations?

    Permutations treat the order of selection as unique (AB ≠ BA). Combinations treat those as the same outcome, counting only distinct subsets.

    When should I switch between Exact and Approx?

    Use Exact for values within the BigInt range (up to about n = 10,000 with k ≤ 5,000). Switch to Approx when the exact integer would be too large; you will still see the digit count and an accurate scientific notation.

    What should I do first on this page?

    Start with the minimum required inputs or the first action shown near the primary button. Keep optional settings at defaults for a baseline run, then change one setting at a time so you can explain what caused each output change.

    Why does this page differ from another tool?

    Different pages often use different defaults, units, rounding rules, or assumptions. Align those settings before comparing outputs. If differences remain, compare each intermediate step rather than only the final number.

    How reliable are the displayed values?

    Values are computed in the browser and rounded for display. They are good for planning and educational checks, but for regulated or high-stakes decisions you should validate assumptions with official guidance or professional review.

    How to use nCr & nPr effectively

    Choose nCr, nPr, or factorial

    Use nCr when order does not matter, such as choosing 3 winners from 10 people. Use nPr when order matters, such as assigning 1st, 2nd, and 3rd place. Use n! when arranging all items.

    Worked examples

    Use the step log for learning

    The step log shows multiplication and division in a stable order. Teacher mode adds symmetry hints such as C(n,r)=C(n,n-r), which helps reduce work and catch impossible inputs.

    Common mistakes to avoid

    Related

    How it’s calculated

    • Uses factorial identities: nCr = n!/(r!(n−r)!) and nPr = n!/(n−r)! with big‑integer safeguards.
    • Out‑of‑range inputs are rejected; results are formatted with grouping for readability.
    • The shareable URL stores n and r so you can rerun the same case.