Skip to main content
CalculoraCalculora

Financial & Business

Finance CalculatorsInvestment & PlanningPersonal FinanceReal Estate InvestingBusiness ToolsStartup & SaaS

Math & Technology

Math CalculatorsEngineering ToolsPhysics ToolsDeveloper ToolsSchool Tools

Health & Life

Medical ToolsSmart UtilityRandomizers

Creator & Specialty

Creator EconomyIslamic ToolsSustainabilityGames

Converters

Unit ConverterLength ConverterWeight ConverterTemperature Converter→ Unit Converters

Randomizers

Random Number GeneratorPassword Strength CheckerSpin the WheelCoin Flip SimulatorDice RollerTimezone Overlap Calculator→ Randomizers
File Converter

PDF Tools

Convert PDF to JPGConvert PDF to PNGConvert PDF to TXTConvert PDF to GIFConvert PDF to WebPConvert PDF to SVGConvert PDF to DOCXConvert PDF to XLSXConvert PDF to PPTXConvert PDF to HTMLConvert PDF to MarkdownConvert PDF to TIFF

Image Converter

Convert JPG to PNGConvert PNG to JPGConvert PNG to WebPConvert WebP to PNGConvert WebP to JPGConvert JPG to WebPConvert SVG to PNGConvert SVG to JPGConvert SVG to WebPConvert BMP to PNGConvert BMP to JPGConvert BMP to WebP

Advanced Images

Convert HEIC to JPGConvert HEIC to PNGConvert TIFF to JPGConvert TIFF to PNGConvert JPG to TIFFConvert PNG to TIFFConvert JPG to ICOConvert PNG to ICOConvert JPEG to AVIFConvert PNG to AVIF

GIF & Animation

Convert GIF to PNGConvert GIF to JPGConvert GIF to individual frames (PNG/JPEG)Convert PNG to GIFConvert JPG to GIFConvert GIF to WebP

Editing

Convert any image to watermarked imageConvert any image to cleaned imageResize images instantly in your browserCompress images online — reduce file size, keep quality
Math Speed ChallengeMental Math ChallengeWordleBint WaladSudoku2048
Currency Converter
CalculoraCalculora

Your all-in-one calculator platform. Free, fast, and accurate tools for every need.

Calculator inputs stay 100% private — all math happens in your browser and never touches our serversFree forever — no paywalls, no subscriptions, no accounts needed

Popular

  • BMI Calculator
  • Loan Calculator
  • Age Calculator
  • Mortgage Calculator
  • Percentage Calculator
  • Scientific Calculator

Math

  • Statistics Calculator
  • Equation Solver
  • Fraction Calculator
  • Prime Factorization Calculator
  • GCD & LCM Calculator
  • Logarithm Calculator

Finance

  • FIRE Calculator
  • Debt Snowball Calculator
  • Investment Calculator
  • Retirement Calculator
  • Salary Calculator
  • ROI Calculator

Legal

  • View All
  • Categories
  • Currency Converter
  • Sitemap
  • Games & Fun Tools
  • About Us
  • Contact Us
  • Privacy Policy
  • Terms of Service
  • Disclaimer

Languages

  • enEnglish
  • arالعربية
  • esEspañol
  • deDeutsch
  • frFrançais
  • hiहिन्दी
  • idBahasa Indonesia
  • itItaliano
  • ja日本語
  • ko한국어
  • ptPortuguês
  • ruРусский
  • trTürkçe
  • viTiếng Việt
  • bnবাংলা
  • zh中文
  • nlNederlands
  • plPolski
  • ukУкраїнська
  • msBahasa Melayu
  • thภาษาไทย

© 2026 Calculora. All rights reserved.

Built with — 100% free

Lightweight & fast — cookies and analytics run only with your consent

  1. Home
  2. Math Calculators
  3. Permutation & Combination Calculator

Permutation & Combination Calculator

Calculate permutations (nPr) and combinations (nCr) instantly for any n and r. Free online calculator with exact factorial-based results and step-by-step solutions, no precision loss for large numbers.

What is Permutation & Combination Calculator?

Permutations and combinations are the two fundamental ways of counting how many ways you can select or arrange items from a larger set — a cornerstone of probability, statistics, and combinatorics.

A permutation, written P(n,r) or nPr, counts the number of ways to arrange r items chosen from n, where the order of selection matters. A combination, written C(n,r) or nCr, counts the number of ways to choose r items from n, where order doesn't matter. This calculator computes both using exact arbitrary-precision arithmetic, so results stay perfectly accurate even for large factorials.

Formula

Permutation: P(n,r) = n! / (n-r)!
Combination: C(n,r) = n! / (r!(n-r)!)
 
Where n! (n factorial) = n × (n-1) × (n-2) × ... × 2 × 1

How to Calculate

  1. Enter n, the total number of items in the set.
  2. Enter r, the number of items you're selecting.
  3. The calculator computes both P(n,r) and C(n,r) using the factorial formulas.
  4. Review the full step-by-step breakdown of each formula.

Example

For n=10, r=3: P(10,3) = 10!/(10-3)! = 10 × 9 × 8 = 720 ways to arrange 3 items from 10 in order. C(10,3) = 10!/(3!×7!) = 720/6 = 120 ways to choose 3 items from 10 without regard to order.

Key Benefits

  • Computes both permutations and combinations in one place
  • Exact results using arbitrary-precision arithmetic — no rounding errors on large numbers
  • Full step-by-step breakdown of the factorial formulas
  • Clear explanation of when to use each formula

Common Mistakes to Avoid

  • Using the permutation formula when order doesn't actually matter in the problem (or vice versa)
  • Forgetting that r cannot exceed n
  • Miscounting when a problem allows repetition — these formulas assume items are chosen without repetition
  • Confusing nPr and nCr notation when reading a textbook or exam question

Pro Tips

  • Ask yourself "does the order matter?" first — that single question determines whether to use permutations or combinations
  • For large n and small r, it's faster to compute C(n,r) as n×(n-1)×...×(n-r+1) / r! rather than using full factorials
  • Committee, team, or group selection problems are almost always combinations
  • Ranking, arranging, or ordering problems (like race results or seating) are almost always permutations

Key Terms Explained

Factorial (n!)
The product of all positive integers up to n
Permutation
An ordered arrangement of a subset of items
Combination
An unordered selection of a subset of items
Binomial Coefficient
Another name for C(n,r), written as (n choose r)

Common Use Cases

  • Calculating lottery or raffle odds
  • Solving probability and combinatorics homework
  • Counting possible passwords, PINs, or arrangements
  • Determining the number of possible committees, teams, or groupings

Frequently Asked Questions

What's the difference between a permutation and a combination?
In a permutation, order matters — arranging A, B, C differently counts as different outcomes. In a combination, order doesn't matter — choosing the same set of items in any order counts as one outcome. Permutations always give a result greater than or equal to combinations for the same n and r.
What does P(n,r) mean?
P(n,r), also written nPr, is the number of ways to arrange r items selected from a set of n items, where the order of selection matters. It's calculated as n! / (n-r)!.
What does C(n,r) mean?
C(n,r), also written nCr or "n choose r," is the number of ways to select r items from a set of n items where order doesn't matter. It's calculated as n! / (r!(n-r)!).
Why is 0! equal to 1?
By mathematical convention, 0! = 1. This isn't arbitrary — it makes the permutation and combination formulas produce correct results (like C(n,0) = 1, meaning there's exactly one way to choose nothing) and is consistent with the recursive definition n! = n × (n-1)!.

Related Tools

Percentage Calculator
Scientific Calculator
Fraction Calculator
Exponents Calculator
Matrix Calculator
Equation Solver
Permutations P(n,r)
720
Combinations C(n,r)
120
n!
3,628,800
Step-by-Step Solution
1

Given

2

Permutation formula

✓

Permutations P(n,r)

4

Combination formula

✓

Combinations C(n,r)

Permutations vs. Combinations

• Permutation: Order matters. Arranging 3 people in 1st, 2nd, and 3rd place counts "A, B, C" and "B, A, C" as different outcomes.

• Combination: Order doesn't matter. Choosing 3 people for a committee counts "A, B, C" and "B, A, C" as the same outcome.