ReadyCalcs · All calculators · Compare

Factorial Calculator

Enter integer n to find n!. n! = factorial(Integer n).

INPUT & RESULT

How the result changes

-57.5M2.40e+85.36e+8012
Integer n (value)Current: 6 → 720

Only integer n changes; all other inputs stay at your current values. Each dot represents one whole-number input. This is not a forecast of real-world outcomes.

About this calculation

Factorial counts the ways to arrange every item in a set of distinct objects when order matters and each item appears once. Use this factorial calculator to find n! from integer n.

Formula

n! = factorial(Integer n)

Worked example

With Integer n: 6, n! is 720.

How to calculate n!

The rule is n! = factorial(Integer n).

In the factorial example, integer n 6 produces n! 720. Entering 7 instead produces 5,040.

Reading n!

The result is a whole-number arrangement count. The input names the set size, not the number of items selected from a larger set. With integer n 6, the calculator returns n! 720.

Practical use

Count complete orderings of distinct tasks, seats, or labels before considering restrictions on which orders are allowed. Count orderings of distinct items when every item must appear exactly once.

Limits and common mistakes

Use a nonnegative integer count. Repeated or indistinguishable objects need another counting rule because swapping identical items does not create a new arrangement. Verify integer n before interpreting n!.

Why the relationship works

Choose an item for each successive position without reuse. The number of available choices falls as positions are filled, so multiplying those choice counts gives complete arrangements of distinct items. The factorial rule uses integer n in n! = factorial(Integer n); read each symbol as the field named on this page.

Interpreting another set of values

The entered integer n sets the size of a distinct-item collection. The rule n! = factorial(Integer n) returns n! for all full-length orderings. A shorter ranked choice requires a permutation count instead.

For a second factorial check, keep the other default inputs fixed and change integer n from 6 to 8. n! changes from 720 to 40,320. The new item count changes the number of complete orderings, not the count of shorter selections.

Checks and limits

The input is a nonnegative integer. The empty arrangement has one conventional ordering, and increasing a positive set size multiplies the previous factorial by the new size. The worked 720 is a count of arrangements and has no physical unit. It grows rapidly as distinct items are added.

Inputs

  • Integer n

Related calculators

Start with your task