AnsRioSmart tools. Clear answers.
Home / Math & statistics / Factorial
Math & statistics

Factorial

Factorial: n! = 1 × 2 × … × n; 0! = 1

Enter your values ⌁ Runs on your device

Your inputs stay in this browser and are not saved to an account.

YOUR RESULT
Ready when you are.

Enter your values, then select Calculate.

QUICK ANSWER

120

Use the inputs above for your own values. The result follows the method and assumptions shown below.

How it works

n! = 1 × 2 × … × n; 0! = 1

Input definitions

Integer (0–170)
Enter the value in the labeled unit.

A worked example

Integer (0–170)
5
120

Assumptions & limits

Uses the stated input units. Results are rounded for display; keep additional precision for subsequent calculations.

Sources & review

Maintained by AnsRio. Methods and examples are reviewed against the stated formula; this is not professional certification.

Method updated 2026-10-17. Reviewed against the stated method and example. Our verification approach.

Report an issue with this tool or suggest an improvement ↗

Common questions

Why can statistical results differ between tools?

Denominator, interpolation and boundary conventions can differ. Use the method and assumptions on this page to compare the same definition; displayed decimals may also be rounded.

How does the Factorial tool work?

n! = 1 × 2 × … × n; 0! = 1.

What are the assumptions and limits of Factorial?

Uses the stated input units. Results are rounded for display; keep additional precision for subsequent calculations.

↗
Private tools for everyday decisions.

No sign-up. Tool inputs stay on your device.

How we work