Factorial Calculator
Factorial calculator computes n! for any non-negative integer. 5! = 120, 10! = 3,628,800, 20! = 2.43 x 10^18. Used in permutations, combinations, probability, and statistics problems.
Enter Values
Result
Enter values above and click Calculate to see your result.
AI Assistant
Ask about this calculator
I can help you understand the factorial calculator formula, interpret your results, and answer follow-up questions.
Try asking
Formula
How it works: Factorial multiplies all positive integers from 1 to n. By convention, 0! = 1.
Worked Example
What is Factorial and When Do You Use It?
Factorial (n!) is the product of all positive integers from 1 to n. It answers the question: how many ways can n objects be arranged?
- n! = n x (n-1) x (n-2) x ... x 2 x 1. For example, 5! = 5 x 4 x 3 x 2 x 1 = 120
- 0! = 1 by mathematical convention. This ensures formulas for combinations and permutations work correctly when choosing 0 or all items
- Factorial growth is extremely fast: 10! = 3.6 million, 15! = 1.3 trillion, 20! = 2.4 quintillion
- Key applications: permutations (n! arrangements), combinations (n choose r = n! / (r!(n-r)!)), and probability distributions
Factorials are fundamental to combinatorics, probability, and statistics. They appear in the binomial theorem, Taylor series, and almost any counting problem.
You can also calculate changes using our Scientific Calculator, Circumference Calculator or Circle Geometry Theorem Solver.
Frequently Asked Questions
What is 10 factorial?
10! = 10 x 9 x 8 x 7 x 6 x 5 x 4 x 3 x 2 x 1 = 3,628,800. This means there are 3,628,800 different ways to arrange 10 distinct objects in a line.
Why does 0 factorial equal 1?
0! = 1 by mathematical convention based on the empty product principle. It also ensures that formulas work correctly: for example, the number of ways to choose 0 items from n is n!/(0! x n!) = 1, which requires 0! = 1. Without this convention, many combinatorics formulas would need special cases.
How do I use factorials for combinations?
The combination formula is C(n, r) = n! / (r! x (n-r)!). To choose 3 people from a group of 10: C(10, 3) = 10! / (3! x 7!) = 3,628,800 / (6 x 5,040) = 120 different groups. Unlike permutations, combinations do not care about order.
Why does factorial grow so fast?
Each new factor multiplies by an increasingly large number. 10! is 3.6 million, but 20! is 2.4 quintillion (2.4 x 10^18). By 100!, the result has 158 digits. This rapid growth is called "super-exponential" and is why factorial is used in computational complexity theory.
What is the difference between permutations and combinations?
Permutations (order matters) use P(n,r) = n!/(n-r)!. Combinations (order does not matter) use C(n,r) = n!/(r!(n-r)!). Example: arranging 3 books from 5 has P(5,3) = 60 permutations, but choosing 3 books from 5 has C(5,3) = 10 combinations.
How do I add this Factorial Calculator to my site?
Absolutely. Use the "Embed" option above to tailor the dimensions, color scheme, and styling to match your site. Copy the generated iframe snippet and drop it into your HTML, WordPress editor, or any CMS. There is no cost and no account required. See calculory.com/services/embed-calculators for a step-by-step walkthrough.
AI Assistant
Ask about this calculator
I can help you understand the factorial calculator formula, interpret your results, and answer follow-up questions.
Try asking
Related Calculators
More Maths Calculators
View allRelated Articles
All articles
Types of Calculators in 2026: A Complete Guide to Choosing the Right One
Every type of calculator explained: basic, desk, scientific, graphing, printing, financial, construction (Sonic Cal style), online, app, and voice. Pick the right one in under a minute.
Read article
Best Voice Calculators in 2026: Online Tools and Mobile Apps Compared
The best voice calculators of 2026 compared: web tools, iPhone and Android apps, talking calculators, and PC options. Find the right voice activated calculator.
Read article
Best Math Training Apps in 2026: 12 Picks for Students, Adults, and Speed Enthusiasts
We tested 12 math training apps across four categories: academic support, logical reasoning, mental math speed, and gamified learning. See which apps actually improve your skills in 2026.
Read article
Guide to Interactive Math Games for Kids and Classrooms 2026
Interactive math games in 2026 blend adaptive online platforms with low-prep classroom activities. Use this guide to pick the best game format by age, goal, and time.
Read articleModern Tools for Every Need
Accurate and Reliable
All calculations run locally. Step-by-step solutions you can trust.
Verified Precision
Precise Mathematical Calculations Powered by Calculory AI