Permutation Calculator
Calculate the total number of ordered permutations (nPr) of choosing r elements from a set of n items.
Input Parameters
Live Result
Details
Steps
Identify permutation formula based on repetition mode
Expand descending sequence product
Calculate final permutation count
Quick Answer & Understanding Your Result
A Permutation Calculator computes ordered arrangements (nPr), calculating how many ways you can select and order r items from a set of n distinct elements where sequence matters.
Core Combinatorial Principles
- Order Matters (Arrangements): Arranging (A, B) is distinctly different from (B, A) (nPr = n! / (n - r)!).
- Without Replacement: Each selected item cannot be chosen again (r le n).
- With Replacement (n^r): Each selection is independent and items can be reused.
Practical Probability & Cryptography Uses
- PIN Codes & Passwords: Calculating keyspace size for 4-digit PINs or alphabetical passcodes.
- Race Results & Podiums: Determining possible 1st, 2nd, and 3rd place finishes in a competition.
Enter total items (n) and sample size (r) above to calculate permutations and step-by-step factorial breakdowns instantly.
Formula & Calculation Logic
Mathematical FormulaFactorial components:
- n (Total items): The full universe of distinct available elements.
- r (Selected items): Number of items arranged in sequential positions (0 le r le n).
- ! (Factorial): Product of all positive integers less than or equal to n.
Step-by-Step Guide
Enter Total Items (n)
Input the size of the original set (e.g. 10).
Enter Sample Size (r)
Input the number of positions to arrange (e.g. 3).
View Permutations & Steps
Receive total ordered arrangements and complete factorial expansion.
Worked Examples Table
| Example | Input Values | Calculated Result | Explanation |
|---|---|---|---|
| Podium Finish: 8 Runners, Top 3 Spots (8P3) | 8! ÷ (8 - 3)! = 8! ÷ 5! = 8 × 7 × 6 = 336. | ||
| Full Permutation: 5 items (5! = 120) | Provides instant quantitative evaluation for comparative practical analysis. |
Frequently Asked Questions
Evidence-Based Methodology & Authoritative References
NIST Digital Library of Mathematical Functions - Combinatorics
Khan Academy - Permutations and Combinations
Standard: ISO / W3C / IETF Authoritative Domain Standard
Formula: nPr = n! ÷ (n - r)!
Last Reviewed: August 21, 2026
Primary Source: NIST Digital Library of Mathematical Functions - Combinatorics
Reference Document: Khan Academy - Permutations and Combinations
Computation Privacy: 100% client-side 0ms computation, zero data retention
Calculated results are modeled based on standard scientific and mathematical formulas. Please verify with domain-specific technical documentation for specialized applications.
Explore Related Tools, Methodologies & Guides
Interconnected domain knowledge, verified computational engines, and peer-reviewed research.
Companion Calculators & Tools
Explore mathematically rigorous calculators and utilities designed for high precision.
Roman Numeral Converter
Convert between Roman numerals and Arabic numbers with step-by-step arithmetic breakdown.
Percentage Decrease Calculator
Calculate percentage decrease, percent reduction, markdown discounts, and relative drop.
Percentage Change Calculator
Calculate the exact percentage change, relative growth delta, and difference between an initial and final value.
Percentage Calculator
Calculate percentage values, percentage of totals, and relative percentage comparisons.
Median Calculator
Find the median, mean, mode, quartiles Q1/Q3, IQR, and statistical outliers for any dataset.
Mode Calculator
Find the mode, frequency distribution, unimodal/bimodal status, and companion mean/median.
Compound Interest Calculator
Calculate compound interest growth, future investment value, and accumulated interest with regular contributions.
Percentage Increase Calculator
Calculate percentage increase, percent growth, and relative difference between two values.
Scientific Methodologies & Standards
In-depth mathematical frameworks, statutory criteria, and academic whitepapers.
Mathematical Mechanics of Percentage Change, Asymmetry & Basis Points
Comparative Analysis of Bank Amortization Models & Debt Cash-Flow Optimization
Algorithmic Cross-Rate Triangulation, FX Spread Mechanics & Digital Asset Parity
In-Depth Guides & Domain Research
Comprehensive tutorials, practical scenarios, and operational optimization guides.
Mastering YAML to JSON AST Parsing: Resolving Indentation, Type Coercion, and RFC 8259 Compliance
Master YAML to JSON conversion with AST tokenization rules, safe scalar typing, and RFC 8259 specs for automated cloud pipelines and API schemas.
Mastering Loan Amortization: Fixed Annuity vs Equal Principal Strategies
Deconstruct amortization mechanics, front-loaded interest drag, and prepayment velocity with data-backed models and interactive schedule simulations.
Mastering VAT Calculations: Gross vs Net Pricing, Input Tax Credits, and Commercial Compliance
Master Value-Added Tax mechanics. Learn gross-to-net reverse formulas, input tax deduction workflows, and cross-border invoicing standards.
Calculated results are modeled based on standard scientific and mathematical formulas. Please verify with domain-specific technical documentation for specialized applications.

