Skip to tool

Factorial Calculator

The Factorial Calculator computes the factorial of a non-negative integer.

Configuration for this calculator is missing.

How to Use This Tool

  1. Fill in n. Each control is labeled; you do not need to paste a JSON blob.
  2. Click "Run" to run the tool in your browser.
  3. Read the result below the form and copy it if you need it in another app.

Learn More About Factorial Calculator

Understanding Factorials

The factorial of a non-negative integer n, denoted by n!, is the product of all positive integers less than or equal to n.

Factorial Formula

n! = n × (n-1) × (n-2) × ... × 3 × 2 × 1

Example

5! = 5 × 4 × 3 × 2 × 1 = 120

About

The Factorial Calculator computes the factorial of a non-negative integer. The factorial of a number 'n' is the product of all positive integers less than or equal to 'n'.

Examples

Factorial Calculator: quick try

Input
Input
5
Output
120

Load sample

Use the Load sample button or Sample menu to paste a valid example.
Input
10
Output
3628800

Use Cases

  • Calculating permutations and combinations in mathematics.
  • Solving problems in probability and statistics.
  • Used in various algorithms and mathematical formulas.
  • Determining the number of ways to arrange items in a sequence.

Frequently Asked Questions