Factorial Calculator
Get the exact value of n! for any whole number up to 20,000, with its digit count, trailing zeros and scientific notation.
Runs in your browser. Nothing leaves this device.
How to use Factorial Calculator
- 1Type a whole number n, like 25.
- 2Read n! in full, with how many digits it has and how many zeros it ends with.
- 3Copy the full number or its scientific notation.
Questions
What is a factorial?
n! is every whole number from 1 to n multiplied together. 5! = 5 × 4 × 3 × 2 × 1 = 120, and 0! is 1 by definition.
Is the answer exact?
Yes. It is worked out with whole-number arithmetic that has no size limit, so every digit is correct, even for 20,000! with 77,338 digits.
How are the trailing zeros counted?
Each zero comes from a 2 × 5 pair. There are always more 2s than 5s, so the count is n/5 + n/25 + n/125 and so on, rounding each down.
Is my number sent anywhere?
No. Everything is worked out in your browser.
Is it free?
Yes. No account, no watermark and no daily limit.
Related tools
- StudyScientific CalculatorA scientific calculator with sin, cos, tan, logs, roots, powers, factorials and brackets, in degrees or radians, with a history you can reuse.
- StudyAttendance CalculatorFind your attendance percentage, how many classes you can still miss and stay at 75%, or how many you must attend in a row to get back to it.
- StudyCGPA & GPA CalculatorWork out your SGPA and CGPA on the Indian 10-point scale, or your GPA on the US 4.0 scale, weighted by credits.
- StudyCGPA to Percentage ConverterConvert a CGPA to a percentage, or a percentage to a CGPA, with the CBSE, AICTE, Mumbai University or plain formula.
- StudyCitation Generator (APA, MLA, IEEE, Harvard, Chicago)Make references in APA 7, MLA 9, IEEE, Harvard and Chicago for books, articles, chapters and web pages, and keep a bibliography.
- StudyClass Timetable MakerMake a weekly class timetable with your own days, periods and breaks. Subjects get colour tags. Save it as a PNG or print it.