# Why the factorial of 0 is 1

The factorial of a number is the total number of ways in which a set of that many objects can be arranged. See, wasn’t that simple? Let’s try and understand what exactly it’s supposed to mean with the help of mathematics.

First, we’ll have to set some rules (guidelines for how we’re to go about it) because keeping it vague allows a lot of room for misinterpretation. Besides, the beauty of mathematics lies in its precision.