
Web Scripts & Software
DEV3 Permutation, Combination & Probability Calculator — Source Code (React + Tailwind)
from $20$29
Loading…
Everyday tool
Free, no sign-up. Runs in your browser; nothing is uploaded. Buy the source code: $29 Regular / $69 Extended
Comma separated. Used for the list below.
For reference n! = 3,628,800.
Counts are exact big integers. Probabilities use 64-bit floating point and log-gamma, reliable to about 12 significant digits. Everything runs in your browser.
Need Permutation, Combination & Probability Calculator as a full mobile or web app? We build it in about a week. Built in about a week, from $99. Send your requirements or SOW; you get a fixed quote and a delivery date.
The permutation, combination & probability calculator stays free to use online. If you want the code to run, edit and ship in your own project, get the full source from the DEV3 Marketplace. Instant download, 6 months of support.
Get the full app behind this tool. Buy once, own the source, and try each one live first.

Web Scripts & Software
from $20$29

Web Scripts & Software Mobile app
from $69$99

Enterprise SaaS Starters
from $69$99

Enterprise SaaS Starters
from $69$99

Web Scripts & Software
from $69$99

Web Scripts & Software Mobile app
from $69$99

Web Scripts & Software Mobile app
from $69$99

Web Scripts & Software Mobile app
from $69$99
This calculator answers the two questions that come up most in maths and statistics classes: how many ways can things be chosen, and how likely is an outcome.
Enter n (how many items you have) and r (how many you choose). Pick Permutation if order matters and Combination if it does not. Tick repetition when an item can be used more than once, for example digits in a PIN. The result is exact, even for 52! or 200C100, and it is also shown in scientific notation. The tool can list the actual arrangements (up to 500) from your own item names, and it handles multiset permutations such as the letters in a word.
The Events tab covers the common rules: NOT, AND for independent events, OR with or without overlap, conditional probability P(A given B), and the chance of at least one success in n tries. An expected value table takes outcomes and probabilities and gives the mean, variance and standard deviation.
Each shows a chart of the probability mass or the bell curve with the chosen area shaded, plus the formula and mean, variance and standard deviation.
Counts are exact. Probabilities use 64-bit floating point with log-gamma, so they are reliable to about 12 significant digits. Probabilities smaller than one in a trillion are shown in scientific notation.
A permutation counts ordered selections, so ABC and CBA are different. A combination counts unordered selections, so they are the same. Choosing 3 runners for gold, silver and bronze is a permutation; choosing 3 people for a committee is a combination.
nPr = n! / (n - r)! and nCr = n! / (r! (n - r)!). With repetition allowed, permutations are n^r and combinations are C(n + r - 1, r).
Use the multiset formula n! divided by the factorial of each repeat count. MISSISSIPPI has 11 letters with counts 1, 4, 4, 2, so there are 11! / (1! 4! 4! 2!) = 34,650 different arrangements.
Use it when you run a fixed number n of independent trials that each succeed with the same probability p, and you count successes. Flipping a coin 10 times and counting heads is the classic case.
The value is converted to a z-score, (x - mean) / standard deviation, and the standard normal cumulative distribution function is evaluated using an accurate error-function series, good to about 12 decimal places.
Counts use exact big-integer arithmetic for n up to 2,000, so 52! and 100C50 are shown in full, with scientific notation next to them. Distributions use log-gamma maths so large n stays stable.