Simplify Your Workflow: Search MiniWebtool.
Add Extension
Home Page > Math > Advanced Math Operations > Permutation Calculator

Permutation Calculator

Calculate permutations P(n,r) with step-by-step solutions, visual explanations, formula breakdown, and practical examples. Find how many ways to arrange r items from n total items where order matters.

Permutation Calculator
🎯

Permutation: Order Matters!

Calculate how many ways to arrange r items from n total items, where the order of selection is important.

Embed Permutation Calculator Widget

About Permutation Calculator

Welcome to the Permutation Calculator, a comprehensive tool for calculating permutations P(n,r) with step-by-step solutions, visual examples, and educational explanations. Whether you are studying combinatorics, solving probability problems, or working on real-world arrangement problems, this calculator provides instant results with detailed formula breakdowns.

What is a Permutation?

A permutation is an arrangement of objects in a specific order. Unlike combinations (where order does not matter), permutations consider the sequence or order of items as important. The number of permutations tells us how many different ways we can arrange r items selected from a set of n distinct items.

For example, if you have 3 books (A, B, C) and want to arrange 2 of them on a shelf, the permutations are: AB, BA, AC, CA, BC, CB. That is 6 different arrangements, because AB and BA are considered different (order matters).

Permutation Formula

Permutation Formula
$$P(n, r) = \frac{n!}{(n-r)!}$$

Where:

Simplified Permutation Formula

The formula can also be written as a product of r consecutive integers:

Alternative Form
$$P(n, r) = n \times (n-1) \times (n-2) \times \cdots \times (n-r+1)$$

Permutation vs Combination

The key difference between permutations and combinations is whether order matters:

AspectPermutation P(n,r)Combination C(n,r)
OrderOrder mattersOrder does not matter
Formulan!/(n-r)!n!/[r!(n-r)!]
ResultLarger (more arrangements)Smaller (fewer selections)
ExampleRanking, passwords, seatingCommittee selection, lottery
RelationshipP(n,r) = C(n,r) × r!

How to Use This Calculator

  1. Enter n (total items): Input the total number of distinct items you have available.
  2. Enter r (items to arrange): Input how many items you want to select and arrange. This must be less than or equal to n.
  3. Click Calculate: Press the button to compute P(n,r) with step-by-step solutions.
  4. Review results: See the total permutations, comparison with combinations, visual examples, and detailed calculation steps.

Real-World Permutation Examples

Ranking and Competitions

In a race with 10 runners, how many ways can 1st, 2nd, and 3rd place be awarded?

P(10, 3) = 10 × 9 × 8 = 720 different podium arrangements

Password Creation

How many 4-letter passwords can be made from 26 letters (no repeats)?

P(26, 4) = 26 × 25 × 24 × 23 = 358,800 unique passwords

Seating Arrangements

How many ways can 5 people sit in 5 chairs?

P(5, 5) = 5! = 120 different seating arrangements

Task Scheduling

If you have 8 tasks and need to schedule 4 of them in sequence, how many schedules are possible?

P(8, 4) = 8 × 7 × 6 × 5 = 1,680 different schedules

Special Cases of Permutations

P(n, n) = n!

When r equals n, you are arranging all items. P(n, n) = n!/(n-n)! = n!/0! = n!/1 = n!

P(n, 0) = 1

There is exactly one way to arrange zero items: do nothing.

P(n, 1) = n

Selecting and arranging 1 item from n gives n possibilities.

Common Permutation Values

P(n,r)ValueContext
P(4,2)12Arranging 2 items from 4
P(5,3)60Awarding 3 prizes to 5 people
P(10,3)720Top 3 from 10 contestants
P(26,4)358,8004-letter codes from alphabet
P(52,5)311,875,200Dealing 5 cards in order

Permutations with Repetition

This calculator handles permutations without repetition (each item can only be used once). For permutations with repetition (where items can be reused), the formula is simply nr.

Frequently Asked Questions

What is a permutation?

A permutation is an arrangement of objects in a specific order. Unlike combinations, permutations consider the order of items important. For example, arranging 3 books on a shelf where order matters is a permutation problem. The formula is P(n,r) = n!/(n-r)!, where n is total items and r is items to arrange.

What is the difference between permutation and combination?

The key difference is that permutations consider order while combinations do not. P(n,r) = n!/(n-r)! counts ordered arrangements, while C(n,r) = n!/[r!(n-r)!] counts unordered selections. For example, selecting a president, VP, and secretary from 10 people is a permutation (order matters), while selecting 3 committee members is a combination (order does not matter).

How do you calculate P(n,r)?

To calculate P(n,r): 1) Identify n (total items) and r (items to arrange). 2) Use the formula P(n,r) = n!/(n-r)!. 3) This simplifies to n × (n-1) × (n-2) × ... × (n-r+1), which is the product of r consecutive numbers starting from n. For example, P(5,3) = 5 × 4 × 3 = 60.

What does P(n,n) equal?

P(n,n) = n!, which is the number of ways to arrange all n items. When r equals n, the formula P(n,r) = n!/(n-r)! becomes n!/0! = n!/1 = n!. For example, P(4,4) = 4! = 24, meaning there are 24 ways to arrange 4 distinct items.

What are real-world examples of permutations?

Common permutation examples include: arranging books on a shelf, determining race finish orders, creating passwords or PIN codes, scheduling tasks in a specific order, seating arrangements at a dinner table, ranking contestants in a competition, and phone number combinations. Any scenario where the order or arrangement of items matters uses permutations.

Why does the permutation formula use factorials?

Factorials appear in permutation formulas because they count all possible arrangements. For n items: position 1 has n choices, position 2 has (n-1) choices, and so on. The product n × (n-1) × (n-2) × ... × 1 = n!. When selecting only r positions, we divide by (n-r)! to remove the arrangements of positions we are not using.

Additional Resources

Reference this content, page, or tool as:

"Permutation Calculator" at https://MiniWebtool.com/permutation-calculator/ from MiniWebtool, https://MiniWebtool.com/

by miniwebtool team. Updated: Jan 29, 2026

You can also try our AI Math Solver GPT to solve your math problems through natural language question and answer.

Related MiniWebtools:

Advanced Math Operations:

Top & Updated:

Random PickerRandom Name PickerRelative Standard Deviation CalculatorLine CounterSort NumbersMAC Address GeneratorFPS ConverterBatting Average CalculatorMAC Address LookupERA CalculatorSum CalculatorWord to Phone Number ConverterFeet and Inches to Cm ConverterRemove SpacesPercent Off CalculatorFacebook User ID LookupRandom Truth or Dare GeneratorInstagram User ID LookupBitwise CalculatorRandom Quote GeneratorLog Base 10 CalculatorRandom IMEI GeneratorSHA256 Hash GeneratorOutlier CalculatorNumber of Digits CalculatorCm to Feet and Inches ConverterSalary Conversion CalculatorOn Base Percentage CalculatorFirst n Digits of PiSquare Root (√) CalculatorAI ParaphraserRoman Numerals ConverterMP3 LooperVideo to Image ExtractorQuotient and Remainder CalculatorText FormatterPhone Number ExtractorStandard Error CalculatorLeap Years ListBinary to Gray Code ConverterSlugging Percentage CalculatorSaturn Return CalculatorDecimal to BCD ConverterCompound Growth CalculatorSun, Moon & Rising Sign Calculator 🌞🌙✨One Rep Max (1RM) CalculatorNumber to Word ConverterMedian CalculatorRemove Lines Containing...Day of Year CalendarRandom Birthday GeneratorRemove AccentBCD to Decimal ConverterAI Punctuation AdderOPS CalculatorSHA512 Hash GeneratorAudio SplitterModulo CalculatorBonus CalculatorMerge VideosPercent Growth Rate CalculatorPER CalculatorCM to Inches ConverterRandom Superpower GeneratorReverse VideoTime Duration CalculatorExponential Decay CalculatorDay of the Year Calculator - What Day of the Year Is It Today?Compare Two StringsRemove Audio from VideoNumber ExtractorGray Code to Binary ConverterLove Compatibility CalculatorRandom Group GeneratorRandom Time GeneratorRatio to Percentage CalculatorScientific Notation to Decimal ConverterBinary to BCD ConverterMaster Number CalculatorLog Base 2 CalculatorCrossword Puzzle MakerFirst n Digits of eAverage Deviation CalculatorInvisible Text GeneratorList of Prime NumbersConvolution CalculatorIP Address to Hex ConverterURL ExtractorRandom Activity GeneratorRandom Movie PickerWhat is my Lucky Number?Random Meal GeneratorVideo CompressorProportion CalculatorAntilog CalculatorNatural Log CalculatorRandom Credit Card GeneratorSort Text By LengthVideo CropperRandom Poker Hand GeneratorOctal CalculatorEmail ExtractorAdd Prefix and Suffix to TextWHIP CalculatorSort Lines AlphabeticallyHex to BCD ConverterBCD to Binary ConverterLottery Number GeneratorBCD to Hex ConverterList RandomizerBreak Line by CharactersAverage CalculatorPVIFA CalculatorWAR CalculatorHypotenuse CalculatorActual Cash Value CalculatorAngel Number CalculatorRoot Mean Square CalculatorSum of Positive Integers CalculatorSHA3-256 Hash GeneratorAI Sentence Expander📅 Date CalculatorLbs to Kg ConverterHex to Decimal ConverterMAC Address AnalyzerRandom String GeneratorRemove Leading Trailing SpacesAmortization CalculatorMarkup CalculatorPVIF CalculatorName Number CalculatorDecimal to Hex ConverterDaily Time Savings CalculatorLorem Ipsum GeneratorReadability Score CalculatorKeyword Density CheckerBionic Reading ConverterText to Speech ReaderFancy Text GeneratorZalgo Text GeneratorUpside Down Text GeneratorASCII Art GeneratorList Difference CalculatorText Column ExtractorText to SQL List ConverterInvisible Character RemoverStock Average CalculatorPosition Size CalculatorMargin Call CalculatorShort Selling Profit CalculatorFutoshiki GeneratorHashi (Bridges) Puzzle GeneratorSlitherlink Puzzle GeneratorWord Search Puzzle GeneratorCryptogram GeneratorWord Scramble GeneratorWord Ladder GeneratorBingo Card GeneratorConnect the Dots GeneratorTip CalculatorCurrency Converter401(k) CalculatorRoth IRA CalculatorRetirement CalculatorSocial Security Benefits CalculatorPension CalculatorRMD CalculatorSIP CalculatorMutual Fund CalculatorStock Profit Loss CalculatorDividend Reinvestment CalculatorDollar Cost Averaging CalculatorBusiness Loan CalculatorPersonal Loan CalculatorDebt Payoff CalculatorDebt Consolidation CalculatorNet Worth CalculatorBudget CalculatorSavings Goal CalculatorEmergency Fund CalculatorMortgage Payoff CalculatorDown Payment CalculatorFHA Loan CalculatorHELOC CalculatorBreak-Even CalculatorBusiness Valuation CalculatorEmployee Cost CalculatorCrypto Profit/Loss CalculatorBitcoin Investment CalculatorIncome Tax CalculatorTax Bracket CalculatorTax Refund EstimatorCapital Gains Tax CalculatorSelf-Employment Tax Calculator1099 Tax CalculatorW-4 Withholding CalculatorProperty Tax CalculatorEstate Tax CalculatorChild Support CalculatorAlimony CalculatorTax-Equivalent Yield CalculatorRent vs Buy CalculatorRental Property CalculatorClosing Costs CalculatorReal Estate Commission CalculatorHouse Flipping Profit CalculatorHome Equity CalculatorIdeal Weight CalculatorBAC CalculatorProtein Intake CalculatorKeto CalculatorIntermittent Fasting CalculatorWeight Loss CalculatorGFR CalculatorCreatinine Clearance CalculatorBlood Pressure InterpreterHeight Percentile CalculatorLife Expectancy CalculatorBiological Age CalculatorBlood Type CalculatorBody Type CalculatorLean Body Mass CalculatorCarbohydrate CalculatorNet Carbs CalculatorHeart Disease Risk CalculatorCycling Speed CalculatorSwimming Pace CalculatorSteps to Distance CalculatorArmy Body Fat CalculatorStrength Standards CalculatorMarathon Pace CalculatorTriathlon Pace CalculatorBowling Score CalculatorGolf Handicap CalculatorVertical Jump CalculatorPace Zone CalculatorPregnancy Weight Gain CalculatorBaby Growth Percentile CalculatorBreastfeeding Calorie CalculatorGestational Age CalculatorPregnancy Calorie CalculatorRecipe ScalerCooking Unit ConverterRecipe Nutrition CalculatorCups to Grams ConverterMeat Smoking CalculatorTurkey Cooking Time CalculatorPizza Dough CalculatorSourdough CalculatorSous Vide CalculatorAir Fryer ConverterButter to Oil ConverterFresh to Dried Herb ConverterDog Food CalculatorMultiple Fraction Calculator

}, 300); })();