Factorial Calculator

Find n factorial for any integer up to 20.

How to use

  1. Enter your values in the fields above.
  2. Press Calculate to see your result instantly.
  3. Use the Share button to copy a link to your result.

About this calculator

This tool computes n! (n factorial), the product of every whole number from 1 up to n — for example 5! = 5×4×3×2×1 = 120. It is capped at 20 because 21! already exceeds what a standard double-precision number can represent exactly.

Factorials show up constantly in combinatorics: counting how many ways a deck of cards can be arranged, how many ways a race can finish, or computing permutations and combinations for probability problems. Students, and anyone writing code that needs nCr or nPr, use this to check their work by hand.

Was this helpful?

Comments (0)

  • Be the first to comment.

Popular calculators

All Calculators