n!

Factorial Calculator & Percentage Calculator Companion

Stuck on a homework problem with a giant factorial? Drop the number into our factorial calculator and get n! up to 170 instantly — no more wrestling with calculator overflow errors halfway through your stats assignment. Whether you're knee-deep in combinations and permutations, sketching out a probability tree before tomorrow's quiz, or double-checking a binomial expansion, this tool keeps the math out of your way so you can focus on actually learning the concepts. Pair it with our percentage calculator when you're juggling probability percentages, or jump over to the fraction calculator if your textbook still likes mixed numbers. Honestly, factorials sneak into more places than you'd expect — discrete

How to use Factorial Calculator & Percentage Calculator Companion

  1. Type your number. Enter any whole number from 0 to 170 in the input field. Decimals and negatives won't fly here — factorials are defined for non-negative integers.
  2. Hit calculate. Click the button (or just press Enter). The math happens instantly in your browser, so nothing gets sent off to a server.
  3. Read the result. You'll see n! displayed in full. For bigger inputs the answer can get long — that's normal, factorials grow ridiculously fast.
  4. Copy and reuse. Click to copy the output into your homework, lab notebook, or wherever you need it. Use it as a numerator or denominator for combinations and permutations.
  5. Mind the 170 ceiling. 171! exceeds what standard floating-point math can hold without going to infinity, so we cap inputs at 170. If you need bigger, you'll want a symbolic math tool.

Frequently asked

Why does the calculator stop at 170? 171! is bigger than roughly 1.79 × 10^308, which is the maximum value an IEEE-754 double-precision float can store. Anything past 170 overflows to infinity, so we cap the input there to keep results reliable.
Can I enter a decimal or a negative number? Nope. Factorial is only defined for non-negative integers. If you need the gamma function (factorial's continuous cousin), you'll need a more advanced tool.
What's 0! and why is it 1? By convention, 0! = 1. It keeps formulas like nCr clean and matches the empty-product rule. Don't overthink it — just memorize it.
How do I use this for combinations or permutations? For nCr, compute n!, r!, and (n-r)! separately, then plug them into n! ÷ (r!(n-r)!). The same trick works for nPr = n! ÷ (n-r)!. Super useful in probability problems.
Do you have other math tools on the site? Yep — there's a standard deviation calculator for stats class, an area calculator for geometry, and a volume calculator for solids. Bookmark whichever ones match your current course load.
Is it actually free? Free, no account, no email collection. The whole calculation runs in your browser, so it works offline once the page is loaded too.
Why are large factorials shown in scientific notation? Once you pass roughly 22!, the digit count outgrows what most displays show comfortably. We switch to scientific notation so you can still read the magnitude at a glance.
More in this category

Tools you might also like

Area Calculator + Quick Percentage Calculator Crunch area and perimeter for any shape in seconds, then jump to our percentage calculator for grades. Free, fast, and made for late-night homework. Exponent Calculator (Plus a Percentage Calculator When You Need It) Free exponent calculator that solves a^b for any real numbers. Get instant answers, clear steps, and a built-in percentage calculator for homework. Percentage Calculator + Fraction Helper Free percentage calculator and fraction tool for students. Add, subtract, multiply, and divide fractions in seconds, with clear step-by-step results. GCD & LCM Calculator (Plus a Handy Percentage Calculator Companion) Find the GCD and LCM of any numbers in seconds. Free online tool for students — pairs nicely with our percentage calculator for quick math homework. Logarithm Calculator: Solve log_b(x) for Any Base Crack any logarithm in seconds. Solve log_b(x) for any base with steps. A handy percentage calculator companion for homework, exams, and study sessions. Mean, Median, Mode (and Percentage Calculator) in One Click Find mean, median, mode, and range fast. A free percentage calculator for stats homework — paste your numbers, get clean answers and steps. Percentage Calculator for Homework, Grades & Quick Math Free percentage calculator: find percent of a value, percent change, increase or decrease in seconds. Perfect for homework, test prep, and grade math. Permutation & Combination Calculator at our Percentage Calculator Hub Find P(n,r) and C(n,r) instantly. A clean permutation and combination calculator from the same percentage calculator toolkit students already love. Prime Factorization Made Simple at Our Percentage Calculator Hub Break any integer into its prime factors instantly. Free, fast, and built for homework help — paste a number, hit go, and see the full factor tree. Quadratic Equation Solver — pairs nicely with our percentage calculator Solve ax² + bx + c = 0 in seconds. Get real or complex roots plus the discriminant — free, fast, and built to make homework less painful. Ratio Calculator with Built-In Percentage Calculator Simplify any a:b ratio in seconds with our free ratio and percentage calculator. Perfect for homework, lab reports, and quick study checks. Square Root & Cube Root Solver (with Percentage Calculator) Find √x and ∛x in one click. A fast square and cube root tool paired with a handy percentage calculator built for homework, exams, and quick checks.

Have an idea for a tool?

Tell us what you’d like to see — we ship the most-requested tools every week.