What Is a Factorial?

How a Factorial Works

A factorial is derived by multiplication. Given any whole number (not a fraction), the factorial can be found by multiplying all the whole numbers together from the given down to one. Here are two quick examples:

  1. If three is the given whole number, then three factorial is 3 x 2 x 1 or 6.
  2. If six is the given whole number, then six factorial is 6 x 5 x 4 x 3 x 2 x 1 or 720.

Factorial Illustrated

A factorial is designated by an exclamation point (!), so a three factorial would be designated 3!. Factorials can be used to find the number of different ways a set of objects can be arranged. Here is an example with explanation:

Given a set of letters (H,U,B,P,A,G,E,S), how many ways can it be rearranged?

  1. Find the number of individual objects in the set. In this case there are 8 objects.
  2. Look at the illustration below. Each box is a placeholder representing one position an object could occupy.
  3. Start at the box furthest to the left. How many different choices are available to occupy that box? The answer is eight. The given set has eight objects. There are eight possibilities so far.
  4. Moving one box to the right, how many different choices are available to occupy that box? The answer is seven. The given set has eight objects, but 1 has been used in the first box (8-1=7). There are now 8 x 7 or 56 possibilities.
  5. Moving one more box to the right, how many different choices are available to occupy that box? The answer is six. The given set has eight objects, but two of them have been used to populate the first two boxes (8-2=6). There are now 8 x 7 x 6 or 336 possibilities.
  6. Following the same sequence of logic, when the furthest box to the right is filled, there will be only one choice left from the original set. The given set has eight objects, but seven of them have been used to populate the first seven boxes (8-7=1). There are now 8 x 7 x 6 x 5 x 4 x 3 x 2 x 1 or 40,320 possibilites. That is 8!

Comments or Questions?

I hope this was informative, and you have a better understandig of factorials. If you have a calculator, check for the factorial designation on one of the keys. It is usually shown as X!. Now you know what it is used for.

If you have any comments or questions, please let me know.

More by this Author


Comments 6 comments

Tamarii2 profile image

Tamarii2 7 years ago from NEW YORK

WOOOW. YOU DID THAT SO FAST MY MATH HEAD IS STILL WARPED.YOU GOT BRAINNNNNNNNNS.GREAT ANSWER.I GUESS I CANN'T CHALLENGE YOU.YOU DID THAT FASTER THAN THE SPEED OF LIGHT.STILL DAZED. THANKS FOR THE ANSWER .ENJOYING THE JOURNEY PEACE.


puppascott profile image

puppascott 7 years ago from Michigan (As far as you know...) Author

Shook a lot of cobwebs loose for that one. I didn't know this was a challenge, I thought it was curiosity.

Thnaks for the comments.


\Brenda Scully 7 years ago

hi enjoyed the hub.......


puppascott profile image

puppascott 7 years ago from Michigan (As far as you know...) Author

Thanks. That's always nice to hear.


Rob 6 years ago

Woohoo! Thanks a bunch!


hi 6 years ago

WOW, I never heard of factorial and tried different websites that explained what factorial is but this explanation is so easy to understand, now I understand.

Thanks, for explaining. :

    Sign in or sign up and post using a HubPages Network account.

    0 of 8192 characters used
    Post Comment

    No HTML is allowed in comments, but URLs will be hyperlinked. Comments are not for promoting your articles or other sites.


    Click to Rate This Article
    working