Try it with your numbers
Show every step
The most common wrong guess is 0, because multiplying by zero feels like it should wipe everything out. Nothing is being multiplied by zero here. The factorial of a whole number is the product of every whole number from down to 1, and for that list is empty. The sections below give five independent reasons the answer is 1, show where the rule stops working, and put it to use in real problems.
Why does zero factorial equal 1?

Every factorial is built from the one before it:
For example, . Rearranged, the rule lets you step down by dividing: . Start at and keep going:
The last line is the one that matters. Put in the original rule and you get . Since , the only possible value is . Any other choice would break a rule that holds for every other number.
The countdown stops there. The next step would be , and dividing by zero is undefined (see dividing integers). That is why negative whole numbers have no factorial, a point that returns in the section on traps.
Quick check
Answer:
Zero factorial as an empty product
A factorial is a product, and is a product with no factors at all. The convention for an empty product is 1, in the same way that the sum of no numbers is 0. An arithmetic series with zero terms adds up to 0 for that reason: a running total starts at 0 and a running product starts at 1, because those are the values that change nothing.
Here is a way to see it without trusting any convention. Suppose five numbers multiply to a total , and you split them between two people, A and B. The total must equal A’s product times B’s product. Give all five numbers to A and none to B, and the equation reads . That works only if B’s empty product is 1. If it were 0, the equation would claim for every list of numbers.
This is the identity property of multiplication at work: 1 is the number multiplication leaves alone. The same idea explains why , since zero copies of multiplied together is again the empty product.
A product built one factor at a time has to start at 1, because multiplying by 1 changes nothing. Starting at 0 would turn every factorial into 0.
How many ways can you arrange zero objects?
Factorials count orderings. Three different objects can be lined up in ways, two in ways, and one in way. With zero objects there is exactly one arrangement: the empty one, where nothing is placed. Having no objects is not the same as having no outcome. “Zero ways” would mean arranging nothing is impossible, but you can always do it by doing nothing.
The counts 6, 2, 1, 1 for 3, 2, 1, 0 objects match the countdown from the first section, so the counting argument and the algebra agree. The same logic gives subset counts. From any collection there is one way to choose nothing and one way to choose everything, and the next section turns that into a formula.
Try this: Write out all the orders of the letters A, B, C (there are 6). Then list the orders for A and B, for A alone, and for no letters at all. Count each list and check that you get 6, 2, 1, 1.
Zero factorial in the combination formula
The number of ways to choose items from is
and appears in the denominator at both ends. Choosing none () leaves in the slot, and choosing everything () leaves in the slot.
Example 1. Find and .
Both match common sense: one way to pick nobody from five people, one way to pick all five. If were 0, both would be divisions by zero, and the formula would fail in its two simplest cases.
Example 2. Check that the choices from a 4-element set add up to all its subsets, .
For instance, . The two 1s at the ends are the empty subset and the full set, and they exist only because .
Quick check
Answer:
Zero factorial and the gamma function
For whole numbers a factorial is a product, but a smooth function called the gamma function fills in the gaps between them:
Put in and the integral can be computed directly:
No convention is involved here. The value comes out of a calculation, and the gamma function obeys , the continuous twin of .
A second place where the value is forced is the series for the exponential function:
At every term except the first vanishes, and , so the first term must equal 1. That requires .
Gamma also assigns factorials to fractions, for example . This is a reminder that once the input leaves the whole numbers, the output can be an irrational number.
Is 0! equal to 0? Traps and limits of the rule
The trap is reading as “zero times something.” The exclamation mark does not mean multiplication by the number in front of it. Keep these facts straight:
- , not 0, because no multiplication by zero ever happens.
- counts arrangements (one), not objects (zero).
- , so two different inputs give the same output.
- Factorials are defined for whole numbers, so and every negative integer factorial do not exist.
The third point catches people when solving equations. If , there are two solutions, and , and writing only loses a point. The fourth point connects to how numbers are organized: factorials need whole numbers, and stepping below zero leaves that set.
Both equal 1. When a problem hands you , treat it exactly like and carry on.
How to simplify expressions with 0!
Factorial acts only on the number directly before the exclamation mark, and it is done before addition and multiplication, following the order of operations. Evaluate each factorial on its own, then combine.
Example 3. Compare with .
The two results differ, so factorial does not distribute over addition.
Example 4. Evaluate .
Divide top and bottom by 2 when simplifying the fraction:
One more case is worth knowing. The cancellation also holds at , where it reads . It works there only because , which is why general factorial formulas can be used at the edges without special cases.
Where does zero factorial show up in real life?
Probability is the most common use. For independent trials with success chance , the chance of exactly successes is . The chance of no heads in 3 fair coin flips uses :
Without the very first factor would be undefined, and the “none” outcome would drop out of every probability table.
Programming relies on it too. A recursive factorial function uses 0 as its base case and returns 1, and a loop that multiplies a running product starts that product at 1. Calculators agree and display 1 for . They also show how quickly factorials grow: , which is where scientific notation becomes the natural way to write the answer.
Quick check
Answer:
How can you check that 0! equals 1 yourself?
When a result feels like a trick, test it from several directions. Four quick tests all land on 1:
- Run the countdown by dividing by 4, 3, 2, 1 in turn.
- Count the ways to arrange 2, 1 and 0 objects, and see 2, 1, 1.
- Evaluate and confirm it must be 1 for the formula to work.
- Test at .
Agreement across counting, algebra and calculus is what makes this more than a convention. When you evaluate mixed expressions that contain factorials, finish the factorials first and then apply the usual order. For more practice in sequencing steps correctly, try these order of operations practice problems.
Practice problems
0 of 5 solved
- Evaluate .
Answer:
Both values equal 1: and . So . - Evaluate .
Answer:
Use with , . Then . - Evaluate .
Answer:
Compute each factorial separately: and . For the last term, . So . - Find the whole number that solves .
Answer:
Since , the equation becomes . Check and . So . - Evaluate .
Answer:
Replace each factorial: . With denominator 24: . The sum is .
Common questions
What is zero factorial?
Zero factorial is written and equals 1. It is the product of no numbers, and 1 is the value that keeps the factorial rule true all the way down.
Why is 0! not equal to 0?
Nothing is being multiplied by zero. A factorial multiplies the whole numbers from down to 1, and for that list is empty, so the result is the empty product, 1. If were 0, formulas like would require dividing by zero.
Is zero factorial a definition or a proof?
It is a definition, but a forced one. Any value other than 1 would contradict the recurrence , the counting rule for arrangements, and the gamma function, which gives directly from an integral.
What is the factorial of a negative number?
Negative integers have no factorial. Stepping down from would require , which is division by zero. The gamma function also has no value at for the same reason.
Is 0! the same as 1!?
Yes, both equal 1. This means has two solutions, and , which is an easy point to miss on a test.
Does a calculator give 1 for 0!?
Yes. Scientific calculators and programming languages return 1 for , because the product starts at 1 and no factors are applied. Recursive code uses 0 as the base case that returns 1.