Those Boring Tools
Education & Math ToolsPrivate by design

Factorial Calculator

Enter a non-negative integer to calculate its factorial exactly, using big-integer arithmetic.

How to use this tool

  1. 1Enter a non-negative integer.
  2. 2See the exact factorial result.

Frequently asked questions

Why use big-integer arithmetic?+

Regular JavaScript numbers lose precision above roughly 170! — big-integer (BigInt) math keeps the result exact no matter how large n is (up to a practical limit).

Keep the boring tools boring.

If this saved you five minutes of nonsense, you can help keep the free tools running.

Buy the toolbox a coffee