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

Permutations with Repetition Calculator

Calculate the number of permutations with repetition (ordered arrangements with replacement) using the formula n^r. Enter the number of items and positions to get instant results with step-by-step solutions, slot-machine visualizations, comparisons to other counting methods, and real-world examples like passwords, PIN codes, and license plates.

Permutations with Repetition Calculator
📌 Try a scenario:
Total distinct items to choose from (n ≥ 1)
Positions to fill (r ≥ 0), items may repeat

Embed Permutations with Repetition Calculator Widget

About Permutations with Repetition Calculator

The Permutations with Repetition Calculator computes the number of ordered arrangements when items can be selected more than once, using the formula nr. Enter the number of available items (n) and the number of positions to fill (r) to instantly get the total count, a step-by-step solution, an interactive slot-machine visualization, comparisons with other counting methods, growth tables, and real-world analogies. This tool supports both small and astronomically large values.

What Are Permutations with Repetition?

Permutations with repetition (also called ordered arrangements with replacement or r-tuples) count the number of ways to fill r ordered positions using n distinct items, where each item may be used any number of times. The result is nr because each of the r positions independently has n choices.

For example, creating a 4-digit PIN code from digits 0–9: each of the 4 positions can be any of 10 digits, giving 104 = 10,000 possible PINs. The code "1111" is valid (all positions use the same digit), and "1234" is different from "4321" (order matters).

The Formula: nr

The formula follows directly from the multiplication principle (also called the fundamental counting principle):

Total arrangements = n × n × n × … × n (r times) = nr

Permutations with Repetition vs. Other Counting Methods

There are four main counting formulas in combinatorics. Understanding when to use each one depends on two questions: Does order matter? and Can items repeat?

Common Real-World Applications

Why nr Grows So Fast

Exponential growth is extremely powerful. Even small increases in n or r lead to enormous results:

Special Cases

How to Use This Calculator

  1. Enter n, the total number of distinct items available to choose from (e.g., 10 for digits 0–9, 26 for letters A–Z).
  2. Enter r, the number of positions or slots to fill. Each position can use any of the n items, including items already used elsewhere.
  3. Click "Calculate Permutations" to compute the result.
  4. Review the step-by-step solution, slot visualization, comparison table, growth charts, and real-world analogies.
  5. Use the quick scenario buttons to explore common real-world examples.

Frequently Asked Questions

What are permutations with repetition?

Permutations with repetition are ordered arrangements where each item can be selected more than once. The formula is nr, where n is the number of items to choose from and r is the number of positions to fill. For example, a 4-digit PIN code using digits 0–9 has 104 = 10,000 possible arrangements.

What is the difference between permutations with and without repetition?

In permutations without repetition, once an item is used it cannot be used again, giving n!/(n−r)! arrangements (and requiring r ≤ n). With repetition, each item can be reused in any position, giving nr arrangements. Permutations with repetition always produces a larger or equal result because there are no restrictions on reuse, and r can exceed n.

When should I use permutations with repetition?

Use permutations with repetition when (1) order matters (the arrangement ABC is different from CBA) and (2) items can be reused (the same item can appear in multiple positions). Common examples include PIN codes, passwords, dice rolls, license plates, binary strings, and genetic sequences.

Can r be larger than n?

Yes. Unlike permutations without repetition (which requires r ≤ n), permutations with repetition allows r to be any non-negative integer. A 10-character password drawn from 26 letters (r = 10, n = 26) has 2610 ≈ 141 trillion possibilities.

What is the formula for permutations with repetition?

The formula is nr (n raised to the power r), where n is the number of distinct items available and r is the number of positions to fill. This follows from the multiplication principle: each of the r positions has n independent choices, so the total is n × n × … × n (r times).

Reference this content, page, or tool as:

"Permutations with Repetition Calculator" at https://MiniWebtool.com/permutations-with-repetition-calculator/ from MiniWebtool, https://MiniWebtool.com/

by miniwebtool team. Updated: 2026-04-16

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 PickerBatting Average CalculatorLine CounterRelative Standard Deviation CalculatorFPS ConverterSort NumbersERA CalculatorMAC Address GeneratorRemove SpacesInstagram User ID LookupWord to Phone Number ConverterFacebook User ID LookupMAC Address LookupSum CalculatorFeet and Inches to Cm ConverterOPS CalculatorRandom Quote GeneratorRandom Truth or Dare GeneratorSHA256 Hash GeneratorPercent Off CalculatorBitwise CalculatorSquare Root (√) CalculatorVertical Jump CalculatorSalary Conversion CalculatorLog Base 10 CalculatorRoman Numerals ConverterNumber of Digits CalculatorSlope and Grade CalculatorOn Base Percentage CalculatorAudio SplitterSlugging Percentage CalculatorMP3 LooperSaturn Return CalculatorDoubling Time CalculatorPhone Number ExtractorCaffeine Overdose CalculatorJob FinderRandom IMEI GeneratorOne Rep Max (1RM) CalculatorMerge VideosClothing Size ConverterSun, Moon & Rising Sign Calculator 🌞🌙✨First n Digits of PiNumber to Word ConverterCompare Two StringsCompound Growth CalculatorAI Text HumanizerCm to Feet and Inches ConverterRandom Poker Hand GeneratorBinary to Gray Code ConverterRandom Birthday GeneratorDecimal to BCD ConverterRandom Fake Address GeneratorBCD to Decimal ConverterRandom Superpower GeneratorRandom Activity GeneratorWAR CalculatorOctal CalculatorAdd Prefix and Suffix to TextWHIP CalculatorGrade CalculatorRandom Movie PickerFile Size ConverterImage ResizerRandom Writing Prompt GeneratorVideo to Image ExtractorTime Duration CalculatorYouTube Channel StatisticsPercent Growth Rate CalculatorLove Compatibility CalculatorText FormatterQuotient and Remainder CalculatorRemove AccentDay of Year CalendarStair CalculatorCM to Inches ConverterInvisible Text GeneratorList of Prime NumbersRandom Loadout GeneratorOutlier CalculatorAdd Text to ImageArc Length CalculatorLeap Years ListRemove Leading Trailing SpacesSHA512 Hash GeneratorRandom Emoji GeneratorRandom Object GeneratorVideo CropperRandom Chess Opening GeneratorWord Ladder GeneratorGray Code to Binary ConverterConnect the Dots GeneratorRandom Number PickerNumber ExtractorImage CompressorAI ParaphraserCryptogram GeneratorRandom Group GeneratorEmail ExtractorURL ExtractorAI Punctuation AdderDay of the Year Calculator - What Day of the Year Is It Today?Video CompressorBinary to BCD ConverterIP Address to Hex ConverterSort Lines AlphabeticallyHex to BCD ConverterBCD to Binary ConverterLottery Number GeneratorBCD to Hex ConverterMedian CalculatorStandard Error CalculatorList RandomizerBreak Line by CharactersAverage CalculatorModulo CalculatorPVIFA CalculatorReverse VideoHypotenuse CalculatorRemove Audio from VideoActual Cash Value CalculatorScientific Notation to Decimal ConverterAngel Number CalculatorLog Base 2 CalculatorRoot Mean Square CalculatorSum of Positive Integers CalculatorSHA3-256 Hash GeneratorAI Sentence Expander📅 Date CalculatorLbs to Kg ConverterHex to Decimal ConverterConvolution CalculatorMAC Address AnalyzerRandom String GeneratorAmortization CalculatorMarkup CalculatorPVIF CalculatorName Number CalculatorDecimal to Hex ConverterInstagram Font GeneratorSocial Media Image Size GuideTikTok Money CalculatorTwitter/X Character CounterTwitter/X Timestamp ConverterYouTube Watch Time CalculatorTwitch Earnings CalculatorYouTube Shorts Monetization CalculatorFacebook Ad Cost CalculatorSocial Media ROI CalculatorSocial Media Post Time OptimizerSocial Media Username CheckerCTR CalculatorROAS CalculatorInfluencer ROI CalculatorForce CalculatorAcceleration CalculatorVelocity CalculatorMomentum CalculatorProjectile Motion CalculatorKinetic Energy CalculatorPotential Energy CalculatorWork and Power CalculatorDensity CalculatorPressure CalculatorIdeal Gas Law CalculatorFree Fall CalculatorTorque CalculatorHorsepower CalculatorDilution CalculatorChemical Equation BalancerStoichiometry CalculatorPercent Yield CalculatorEmpirical Formula CalculatorBoiling Point CalculatorTitration CalculatorMole/Gram/Particle ConverterIrregular Polygon Area CalculatorFrustum CalculatorTorus Calculator3D Distance CalculatorGreat Circle Distance CalculatorCircumscribed Circle (Circumcircle) CalculatorInscribed Circle (Incircle) CalculatorAngle Bisector CalculatorTangent Line to Circle CalculatorHeron's Formula CalculatorCoordinate Geometry Distance CalculatorVolume of Revolution CalculatorSurface of Revolution CalculatorParametric Curve GrapherRiemann Sum CalculatorTrapezoidal Rule CalculatorSimpson's Rule CalculatorImproper Integral CalculatorL'Hôpital's Rule CalculatorMaclaurin Series CalculatorPower Series CalculatorSeries Convergence Test CalculatorInfinite Series Sum CalculatorAverage Rate of Change CalculatorInstantaneous Rate of Change CalculatorRelated Rates SolverOptimization Calculator (Calculus)Gradient Calculator (Multivariable)Divergence CalculatorCurl CalculatorLine Integral CalculatorSurface Integral CalculatorJacobian Matrix CalculatorNewton's Method CalculatorRREF Calculator (Row Echelon Form)Matrix Inverse CalculatorMatrix Multiplication CalculatorDot Product CalculatorCross Product CalculatorVector Magnitude CalculatorUnit Vector CalculatorAngle Between Vectors CalculatorNull Space CalculatorColumn Space CalculatorCramer's Rule CalculatorMatrix Diagonalization CalculatorQR Decomposition CalculatorCholesky Decomposition CalculatorMatrix Power CalculatorCharacteristic Polynomial CalculatorBayes' Theorem CalculatorF-Test / F-Distribution CalculatorHypergeometric Distribution CalculatorNegative Binomial Distribution CalculatorGeometric Distribution CalculatorExponential Distribution CalculatorWeibull Distribution CalculatorBeta Distribution CalculatorSpearman Rank Correlation CalculatorFisher's Exact Test CalculatorContingency Table CalculatorOdds Ratio CalculatorRelative Risk CalculatorEffect Size CalculatorPermutations with Repetition CalculatorModular Exponentiation CalculatorPrimitive Root CalculatorPerfect Number CheckerAmicable Number CheckerTwin Prime FinderMersenne Prime CheckerGoldbach Conjecture VerifierMöbius Function CalculatorEgyptian Fraction CalculatorFibonacci Number CheckerDigital Root CalculatorPartition Function CalculatorBoolean Algebra SimplifierKarnaugh Map (K-Map) SolverLogic Gate SimulatorGraph Coloring CalculatorTopological Sort CalculatorAdjacency Matrix CalculatorRecurrence Relation SolverInclusion-Exclusion CalculatorLinear Programming SolverTraveling Salesman Solver (TSP)Hamiltonian Path CheckerPlanar Graph CheckerNetwork Flow Calculator (Max Flow)Stable Marriage Problem SolverFirst-Order ODE SolverSecond-Order ODE SolverDirection Field / Slope Field PlotterEuler's Method CalculatorBernoulli ODE SolverSystem of ODEs SolverGroup Theory Order CalculatorRing and Field CalculatorJordan Normal Form CalculatorMatrix Exponential CalculatorTensor Product CalculatorFast Fourier Transform (FFT) CalculatorZ-Transform CalculatorNumerical Integration CalculatorTOML to JSON ConverterJSON to CSV ConverterXML to JSON ConverterSQL to MongoDB Query ConverterCSS Flexbox PlaygroundCSS Grid GeneratorJWT GeneratorBcrypt Hash Generator / CheckerColor Code Converter (All Formats)Git Command Generator.env File GeneratorLorem Picsum / Placeholder Image GeneratorText to Binary/Hex/ASCII ConverterSyllable CounterSentence CounterParagraph CounterSpeaking Time CalculatorReading Time CalculatorWhitespace VisualizerStrikethrough Text GeneratorTorque Converter (Nm, ft-lb, kgf-cm)Data Transfer Rate ConverterFuel Efficiency ConverterAstronomical Unit ConverterRing Size ConverterPaper Size ReferenceGas Mileage CalculatorEV Range CalculatorEV Charging Time Calculator0–60 / Quarter Mile CalculatorCar Lease CalculatorVehicle Towing Capacity CalculatorExposure Triangle CalculatorCrop Factor CalculatorMegapixel to Print Size CalculatorPhoto File Size EstimatorMusic BPM TapperMusic Key TransposerVideo Bitrate CalculatorSeed Germination Rate CalculatorFertilizer Calculator (NPK)Raised Bed Soil CalculatorFrost Date CalculatorLawn Fertilizer CalculatorCompost Calculator (C:N Ratio)Solar Panel CalculatorSolar ROI CalculatorHome Energy Audit CalculatorAppliance Energy Cost CalculatorWater Usage CalculatorElectricity Generation Cost CalculatorHeat Loss CalculatorFlight Distance CalculatorTravel Budget CalculatorJet Lag CalculatorPacking List GeneratorTip Splitter (Advanced)Lease vs Buy CalculatorHourly Rate Calculator (Freelancer)Invoice Late Fee CalculatorESPP CalculatorStock Split CalculatorOptions Probability CalculatorDollar to Gold ConverterBeam Load CalculatorPipe Flow CalculatorBolt Torque CalculatorSteel Weight CalculatorGravel, Sand & Topsoil Calculator