Arithmetic on the numbers you type
Compute n!
n! is 1 × 2 × … × n, computed with integers.
n can be from 0 to 500. 0! is 1.
The work stays in this tab.
This tool runs in your browser. Turn on JavaScript to use it.
Factorial
The sample is fixed. It uses the same rule as the form.
- n
- 5
- Result
- 120
How to use it
- 1Fill in the fields.
- 2Read the result.
- 3Copy the line you need.
Good to know
- The result is exact. It is not rounded through floating point.
- This page does not upload the text.
- Text longer than one hundred thousand characters is rejected.
Questions
Does the result leave this browser?
No. The calculation finishes in the current tab.
What does this page leave out?
The result is exact. It is not rounded through floating point.
What if the input is huge?
Past one hundred thousand characters, the page stops and asks you to shorten it.
Related tools
- Find the nth Fibonacci number
F(0) is 0 and F(1) is 1. Each later number is the sum of the two before it.
- Check whether an integer is prime
The page tests divisibility up to the square root.
- Convert binary, octal, decimal, and hex
255, 0xFF, and 11111111 are one integer written three ways. This page keeps that integer exact and shows the other spellings beside the field you edit.