Home › Calculators › Permutations Generator

Permutations Generator

Type letters or a list of items to see every possible order they can be arranged in. Choose k to arrange only some of them, or allow repeats to build codes like 000 to 444, then copy the list or download it as CSV.

Last updated:

Type a word to arrange its letters, or separate items with commas, spaces or new lines

Leave empty to arrange all items

Up to 20,000 rows; the count is always exact

Enter your values to see the result.
Advertisement
Advertisement

How to use the Permutations Generator

  1. Type a word or a list. A single word is split into letters; commas, spaces or new lines separate whole items.
  2. Leave k empty to arrange all items, or enter a number to arrange only k of them.
  3. Tick Allow repetition if every position may use any item again, as with digits in a code.
  4. Press Generate to see the exact count, the formula and the list of permutations.
  5. Copy or export the list with Copy results (one per line) or Download CSV.

Permutation formulas

SituationFormulaExampleCount
Arrange all n different itemsn!ABCD4! = 24
Arrange k of n different itemsn! ÷ (n − k)!3 of 5 runners on a podium5 × 4 × 3 = 60
Items may repeat in every positionnk3-digit codes from 0–45³ = 125
All items, some identicaln! ÷ (a! × b! × …)BANANA (A×3, N×2)720 ÷ 12 = 60
k items, some identicalcoefficient of xk/k! in ∏(1 + x + … + xc/c!)3 letters of BANANA19

The factorial n! = n × (n − 1) × … × 2 × 1 counts the orders because the first position has n choices, the second n − 1, and so on. Stopping after k positions gives n! ÷ (n − k)!.

How quickly n! grows

ItemsPermutationsListed by this tool
36all
5120all
75,040all (raise the maximum)
840,320first 20,000
103,628,800first 20,000
151,307,674,368,000first 20,000

Tips

  • Word games: use "Each character" splitting so a word is treated as letters, then compare the list with a dictionary or an anagram solver.
  • Schedules and seating: put one name per line and choose "A, B, C" output to read each arrangement clearly.
  • Too many results? Lower k, remove items, or fix the first position yourself and generate the rest.
  • Order does not matter? Then you want combinations, which are far fewer: use the Combinations Generator.

Frequently asked questions

How many permutations does a word have?

If all letters are different, a word with n letters has n! permutations: ABCD has 4! = 24. If some letters repeat, divide by the factorial of each repeat count. BOOK has 4! ÷ 2! = 12 distinct arrangements and BANANA has 6! ÷ (3! × 2!) = 60.

What is a k-permutation?

It is an ordered arrangement of k items chosen from n, such as the gold, silver and bronze finishers among 5 runners. The count is P(n, k) = n! ÷ (n − k)!, so 5 runners give 5 × 4 × 3 = 60 possible podiums.

What are permutations with repetition?

Each position can use any of the n items again, so there are n^k arrangements. Three-digit codes from the digits 0 to 4 give 5³ = 125 possibilities, from 000 to 444.

Why is the list limited to 20,000 rows?

Permutations grow faster than almost anything: 10 items have 3,628,800 orders and 13 items have over 6 billion. The generator always shows the exact count, but lists at most 20,000 so your browser stays responsive. Use k or fewer items for a full list.

What order are permutations listed in?

In lexicographic order of the positions you typed the items in. For ABC that is ABC, ACB, BAC, BCA, CAB, CBA, which is alphabetical when the input is alphabetical.

Is a permutations generator the same as an anagram solver?

Not quite. This tool lists every arrangement of the letters, whether or not it is a real word. An anagram solver filters those arrangements against a dictionary to show only real words.

Is my input uploaded?

No. The permutations are generated in your browser with JavaScript, and nothing you type leaves your device.

Are all the tools on FreeToolCabin tested for quality and accuracy?

Yes! Every tool on our site undergoes automated Q/A testing in real browser environments to ensure high precision, correct output, and zero errors. If you happen to spot a bug or have a suggestion, please contact us at [email protected] and our team will review it right away.

Related tools

Combinations GeneratorList every k-combination of your items, with or without repetition, and copy or export them.Permutation and Combination CalculatorCalculate nPr and nCr, with or without repetition, as exact big numbers.Factorial CalculatorExact n! up to 5000! with digit count, trailing zeros and double factorial.Weighted Average CalculatorCalculate a weighted mean from values and weights, step by step.Average CalculatorMean, weighted average, median, sum, min and max of any list.Standard Deviation CalculatorStandard deviation, variance, mean, median, mode and quartiles.A/B Test Significance CalculatorCheck if your A/B test result is statistically significant.Z-Score CalculatorZ-score from a value, mean and SD, plus percentile and p-value; or the value from z.Probability CalculatorFind and, or, not, conditional and at-least-once probabilities from P(A) and P(B).Mean Median Mode CalculatorFind the mean, median, mode, range, min, max, sum and count of a list of numbers.Confidence Interval CalculatorConfidence interval and margin of error for a mean or a proportion, with steps.Sample Size CalculatorHow many survey responses you need for a given confidence level and margin of error.Percentile CalculatorValue at any percentile, percentile rank of a score, quartiles, IQR and outliers.Correlation Coefficient CalculatorPearson r and Spearman rank correlation with significance and interpretation.Average Order Value CalculatorAverage order value from revenue and orders, plus the revenue impact of raising AOV.Binomial Distribution CalculatorBinomial probabilities P(X = k), at most, at least or between, with mean, variance and chart.Normal Distribution CalculatorNormal probabilities P(X < x), between two values and inverse percentiles, on a shaded bell curve.Poisson Distribution CalculatorPoisson probabilities for a rate λ: exactly k, at most, at least or between, with a chart.T-Test CalculatorOne-sample, two-sample (Welch/pooled) and paired t-tests with p-value and CI.Chi-Square CalculatorChi-square goodness-of-fit and independence tests with p-value and expected counts.P-Value CalculatorOne- or two-tailed p-values from z, t, chi-square or F statistics, with critical values.Variance CalculatorSample and population variance and standard deviation with a step-by-step deviations table.Five Number Summary CalculatorMin, Q1, median, Q3, max, IQR and fences of a data set, with a box plot.Outlier CalculatorFind outliers with 1.5×/3× IQR fences, z-scores or modified z-scores; get the cleaned data.Geometric Mean CalculatorGeometric, harmonic, arithmetic and quadratic means compared, or average growth from % changes.Expected Value CalculatorExpected value, variance and standard deviation from outcomes and their probabilities.One-Way ANOVA CalculatorOne-way ANOVA for 2-10 groups: SS, df, MS, F statistic, p-value, effect size and full table.Bayes Theorem CalculatorPosterior P(A|B) from P(A), P(B|A) and P(B|not A), with a probability tree and table.Box Plot MakerPaste data to draw box-and-whisker plots with quartiles, IQR and outliers. Download PNG or SVG.Coefficient of Variation CalculatorCV % from a dataset (sample or population) with mean, SD and a two-dataset comparison.Critical Value CalculatorCritical values of z, t, chi-square and F for any alpha, tails and degrees of freedom.Dice Probability CalculatorOdds of rolling a sum (exactly, at least, at most) with any dice, plus the full distribution.Effect Size Calculator (Cohen's d)Cohen's d, Hedges' g and Glass's delta from two means, SDs and sample sizes, with CI.Frequency Table GeneratorMake a frequency, relative and cumulative frequency table from numbers or categories.Histogram MakerPaste numbers, choose bins and get a histogram, frequency table and PNG download.Margin of Error CalculatorSurvey margin of error from sample size, confidence and proportion, with population correction.Moving Average CalculatorSimple, exponential and weighted moving averages of a data series, with table and line chart.Odds Ratio and Relative Risk CalculatorOdds ratio, relative risk, risk difference, 95% CIs and p-values from a 2x2 table.Inverse Normal Distribution CalculatorinvNorm: find the x or z value for a left, right, central or two-tail area, with a shaded curve.Statistical Power CalculatorPower or required sample size for t-tests, proportions and correlations, with a power curve.T Distribution CalculatorStudent's t probabilities and critical values for any df, with the area shaded on the curve.T-Table (Student's t Distribution)Interactive t-table: critical t-values for any df and α, p-values, and a printable full table.Z-Test CalculatorOne-sample, two-sample and proportion z-tests with z, p-value, decision and shaded curve.Shannon Entropy CalculatorEntropy of text, data or probabilities in bits, nats or hartleys with a frequency table.Standard Error CalculatorStandard error of the mean from data or SD and n, plus SE of a proportion, with CIs.Descriptive Statistics CalculatorPaste data and get mean, median, mode, quartiles, SD, skewness, kurtosis and a histogram.Empirical Rule Calculator68-95-99.7 rule ranges from a mean and standard deviation, with a shaded bell curve.Z-Table (Standard Normal Table)Interactive z-table: find the area for any z-score, or the z-score for a probability.Average Rate of Change CalculatorAverage rate of change of f(x), two points or a data table over [a, b], with the secant line.Binomial Expansion CalculatorExpand (a + b)^n with the binomial theorem: every term, Pascal coefficients and any specific term.Covariance CalculatorSample and population covariance of paired X and Y data, with a step table and scatter plot.Grouped Data CalculatorMean, median, mode, variance and standard deviation from class intervals and frequencies.
See all 52 Statistics & Probability Calculators →