Calcolatore di permutazioni e combinazioni (nPr, nCr)
Calcola con precisione permutazioni nPr e combinazioni nCr, con o senza ripetizione, per n fino a 1.000.
Dati
Suggerimento: premi Ctrl + Enter per eseguire
Impostazioni salvate
Per ora la guida dettagliata qui sotto è disponibile solo in inglese.
Informazioni su questo strumento
How many ways can a committee be chosen, a password be formed or a lottery ticket be filled? Permutations count arrangements where order matters; combinations count selections where it does not. This calculator gives both for n items taken r at a time, with or without repetition, using exact big-integer arithmetic so even huge counts are precise.
Come si usa
- Enter n, the number of items to choose from.
- Enter r, the number chosen.
- Choose whether repetition is allowed.
- Run it and use permutations if order matters, combinations if it does not.
Come funziona il calcolo
Without repetition: nPr = n! ÷ (n − r)! and nCr = n! ÷ (r! (n − r)!). With repetition: permutations = n^r and combinations = (n + r − 1)! ÷ (r! (n − 1)!). All values are computed with exact integers.
nPr = n! ÷ (n − r)!; nCr = n! ÷ (r! (n − r)!)Esempio pratico
A 6/49 lottery picks 6 numbers from 49 without repetition and order does not matter: there are 13,983,816 combinations, so one ticket has about a 1 in 14 million chance. If order mattered there would be 10,068,347,520 permutations. A 4-digit PIN (digits can repeat) has 10,000 permutations.
Esempio di input e risultato
Elementi totali (n): 10 Elementi scelti (r): 3 Ripetizione consentita: No → Permutazioni (l’ordine conta): 720 → Combinazioni (l’ordine non conta): 120
Limiti
- n and r up to 1,000.
- No restrictions such as "at least one of each type".
- Results are counts, not lists of arrangements.
Ultimo aggiornamento:
Domande frequenti
When does order matter?
For rankings, seats, passwords and race results, order matters (permutations). For teams, hands of cards and lottery tickets, it does not (combinations).
What if r is larger than n?
Without repetition there are no ways to choose, so the result is 0; with repetition it is allowed.
Why are some results so large?
Factorials grow very fast; the calculator keeps every digit.
Risoluzione dei problemi
The answer is 0.
r is greater than n without repetition.
My probability looks wrong.
Probability of one outcome = 1 ÷ the number of equally likely outcomes; check you used combinations vs permutations correctly.
A textbook gets a different count for repetition.
Check whether the problem allows repetition and whether order matters.
Privacy & Gratuito
I miei dati vengono salvati?
I tuoi dati restano in questa scheda. Non riceviamo i tuoi file, i testi incollati né i valori dei calcoli.
Questo strumento è gratuito?
Sì. Non servono registrazione né pagamento.
Vedi anche
Passi successivi utili
Calcolatrice scientifica
Calcola aritmetica, potenze e funzioni trigonometriche in radianti senza eval.
Matematica e istruzioneCalcolatrice di frazioni
Somma, sottrai, moltiplica o dividi numeri razionali in modo esatto.
Matematica e istruzioneRisolutore di equazioni
Risolvi equazioni reali lineari e quadratiche ax² + bx + c = 0.
Matematica e istruzione