Rewriting the factorial as the Gamma function and Stirling's approximation we get what I think is the closest possible approximation that you could do by hand:

Where $e = 2.71828\dots$. Unfortunately, this might not be quicker than multiplying all the numbers together by hand, but it's certainly the only shortcut I can think of that could be done by hand.

Answer from naslundx on Stack Exchange
🌐
Indeed
indeed.com › career guide › career development › factorials: what are they, how to calculate them and examples
Factorials: What Are They, How To Calculate Them and Examples | Indeed.com
October 23, 2023 - In simpler words, the factorial function says to multiply all the whole numbers from the chosen number down to one. In more mathematical terms, the factorial of a number (n!) is equal to n(n-1). For example, if you want to calculate the factorial ...
Top answer
1 of 3
15

Rewriting the factorial as the Gamma function and Stirling's approximation we get what I think is the closest possible approximation that you could do by hand:

Where $e = 2.71828\dots$. Unfortunately, this might not be quicker than multiplying all the numbers together by hand, but it's certainly the only shortcut I can think of that could be done by hand.

2 of 3
9

I see that this is an old question and the conversation thread is most likely completely dead. However, there is a partial shortcut to calculating fairly length factorials. Being that multiplication is commutative, the order in which multiplication is done can be rearranged...

Take, for example, 10! which equals 1*2*3*4*5*6*7*8*9*10, this can be rearranged as (10*1)*(9*2)*(8*3)*(7*4)*(6*5) → 10*18*24*28*30

One thing that you will (or should) notice about the delta between the product of each pairing is that it always decreases by a value of 2, and always begins with a value of n-2. For n!, where n=10, the delta between the first two products will be n-2, or 8. The delta between the products of successive pairs will always decrease by 2. In other words, when the pairing is done as illustrated above (pairing the highest value number with the lowest, second highest with the second lowest, etc), then the product of each pairing will increase by a value that decreases by an amount of 2 for each successive pairing. This makes calculating the products of a long list of number pairs relatively easy.

For n!, where n=10, we know that 1*10=10, we also know that the next pairing will result in 10+8, or 18... the next paring will result in a product of 18+6=24, followed by 24+4=28, and finally by 28+2=30.

Without having to calculate each product, we can quickly predict what they will be.

This works for factorials of odd numbers as well, except that there will be one number at the end that will not have a pairing. 7!, for example, could be written as (1*7)*(2*6)*(3*5)*4 → 7*12*15*4. The initial product is 7, and the product of the next pairing is 7+(n-2) or 7+5, which of course equals 12. The next product is 12+3, or 15. So the solution to 7! would be 7*12*15*4.

As a generalized rule, it can be said that the initial delta between the products of the first and second pairings will be n-2, this delta will always decrease by a value of 2 for each successive pairing, and the final delta will always be either 2 or 3 (depending on whether we are dealing with the factorial of an even number or an odd number [2 or greater]).

Again, this is only a partial shortcut. It essentially reduces the number of calculations you need to perform by half... but if you absolutely need to do calculate 100! by hand, performing approximately half of the necessary steps would make a significant difference. :)

Discussions

An easier method to calculate factorials? - Mathematics Stack Exchange
To find the factorial of a number, $n$, you need to multiply $n$ by every number that comes before it. For example, if $n = 4$, then $n! = 24$ since $4 \cdot 3 \cdot 2 \cdot 1 = 24$. However, this ... More on math.stackexchange.com
🌐 math.stackexchange.com
June 4, 2021
ELI5: What is a factorial and how does it work
To calculate the factorial of a number, multiply it by all whole numbers below it.  For example, 5! = 5x4x3x2x1 = 120. One use of factorials is to find the number of permutations (orders).  For example, if 5 people run in a race, any of the 5 people can finish first, any of the 4 remaining people can finish second, any of the remaining 3 people can finish third, any of the 2 remaining people can finish fourth, and the last remaining person finishes last.  So there are 5! = 5x4x3x2x1 = 120 different possible race results. More on reddit.com
🌐 r/explainlikeimfive
19
0
December 31, 2024
How to calculate the factorial of a decimal?
Well, you can compute such expressions via the gamma function , though not by hand. For example, 4.2! is approximately 32.58 . More on reddit.com
🌐 r/learnmath
4
15
April 22, 2019
How to calculate factorial using while loop?
Figuring out a factorial with a while loop is rather trivial. Part of your problem comes from your use of addition rather than multiplication. You could use addition in another loop to calculate factorial, but easier to multiply. Start with a number and a total. Multiple that number by one and store as the total. Lower the number by one. Multiple that new number by the prior calculated total. Repeat until the number equals one. The total is the factorial of the original number. . starting_number = int(input('Number? ')) number = starting_number total = 1 while number > 1: total *= number # multiple the total by the number (5, then 4, then 3...) number -= 1 # reduce the number by one print('{}! equals {}'.format(starting_number, total)) Yields: $ python3 factorial_sorta.py Number? 5 5! equals 120 More on reddit.com
🌐 r/learnpython
9
3
March 18, 2020
People also ask

What is factorial used for?
A factorial is used to find how many ways objects can be arranged in order. In a factorial, all of the objects are used and none of the objects can be used more than once. An example is arranging books on a shelf.
🌐
study.com
study.com › courses › math courses › math 101: college algebra
Factorial | Definition, Examples & Operations - Lesson | Study.com
What does the factorial sign mean?
The factorial sign is an exclamation point and it means to start with the number and multiply by each previous integer until reaching 1. For example, 5! = 5 * 4 * 3 * 2 * 1 = 120.
🌐
study.com
study.com › courses › math courses › math 101: college algebra
Factorial | Definition, Examples & Operations - Lesson | Study.com
Can negative numbers have factorials?
Negative numbers do not have factorials because a negative number of objects cannot be arranged. An exception is the gamma function in advanced mathematics where real numbers are used in factorials.
🌐
study.com
study.com › courses › math courses › math 101: college algebra
Factorial | Definition, Examples & Operations - Lesson | Study.com
🌐
CalculatorSoup
calculatorsoup.com › calculators › discretemathematics › factorials.php
Factorial Calculator n!
You may want to copy the long integer answer result and paste it into another document to view it. n! = n × (n - 1) × (n - 2) × (n - 3) × ... × 1 · Factorial of 10 10!
🌐
YouTube
youtube.com › tecmath
Factorials shortcuts - YouTube
Factorials are easy! This basic video lesson with show you the basics of factorials as well as some shortcuts in calculations involving factorials. To suppor...
Published   May 24, 2017
Views   165K
🌐
freeCodeCamp
freecodecamp.org › news › what-is-a-factorial
What is a Factorial? How to Calculate Factorials with Examples
August 3, 2022 - Let's get back to the two things to know when calculating a factorial – that is 0! = 1 and n! = (n - 1)!
🌐
Cuemath
cuemath.com › numbers › factorial
Factorial - Meaning, Formula | Factorial of Hundred & 0
Example 2: Three $50 prizes are to be distributed to a group of 10 people. In how many ways can the prizes be distributed? ... This is a combination because here the order of distribution of prizes does not matter (because all prizes are of the same worth). It can be calculated using 10C3. 10C3 = (10!) / [ 3! (10 - 3)!] = 10! / (3! 7!) = (10 × 9 × 8 × 7!) / [(3 × 2 × 1) 7!] = 120 ways. The factorial of n is denoted by n!
Find elsewhere
🌐
YouTube
youtube.com › the organic chemistry tutor
Factorials Explained! - YouTube
This precalculus video tutorial provides a basic introduction into factorials. It explains how to simplify factorial expressions as well as how to evaluate f...
Published   February 19, 2018
Views   264K
Top answer
1 of 1
3

To answer your question, there are several methods that can help calculate factorials faster, though most are either approximations or shortcuts for calculation. I will be detailing some of these methods below:

Method 1

As mentioned by Joe in the comments, Stirling's approximation is a good method to approximate the value of a large factorial, and by rewriting the factorial as a Gamma function, the following formula is obtained:

Method 2

Again, as mentioned by Math101 in the comments, we can make use of the property to quickly calculate a factorial given the value of a previous factorial.

For example, given that (or by calculating by using the same method):

This method does not work as efficiently as Method 1, especially at larger values of , but it may be useful in some ways.

Method 3

By pairing up the numbers needed to calculate a factorial, a shortcut can be used to quickly calculate the factorial by using the commutative property ().

For example:

$$8! = 8 \cdot 7 \cdot 6 \cdot 5 \cdot 4 \cdot 3 \cdot 2 \cdot 1 = (8 \cdot 1) \cdot (7 \cdot 2) \cdot (6 \cdot 3) \cdot (5 \cdot 4) = 8 \cdot 14 \cdot 18 \cdot 20 = 40320$$

The largest value is always paired up with the smallest value, the second-largest with the second-smallest, and so on.

Please have a read through the source for this method for more detail on how to use this method more efficiently.

Please note that there is no clear method to easily calculate large factorials; approximations can only bring you fairly close to the true value.


I hope this helps! I'm still new to MSE, so I would really appreciate any and all feedback. Thank you!

🌐
YouTube
youtube.com › lines that connect
How to Take the Factorial of Any Number - YouTube
In this video, I walk through the derivation of an extension of the factorial function that works for any number: fractional, irrational, and even complex! T...
Published   August 13, 2022
🌐
Study.com
study.com › courses › math courses › math 101: college algebra
Factorial | Definition, Examples & Operations - Lesson | Study.com
July 9, 2012 - A factorial is calculated by starting with the number and multiplying it by each previous integer until reaching 1. The factorial is represented by an exclamation point. x! = x * (x-1) * (x-2) ...1. For example, 4! = 4 * 3 * 2 * 1 =24.
🌐
GeeksforGeeks
geeksforgeeks.org › dsa › program-for-factorial-of-a-number
Factorial of a Number - GeeksforGeeks
#include <stdio.h> int factorial(int n) { // calculating factorial of a number int ans = 1, i; for (i = 2; i <= n; i++) ans *= i; return ans; } int main() { int num = 5; printf("%d\n", factorial(num)); return 0; }
Published   January 13, 2026
🌐
Reddit
reddit.com › r/explainlikeimfive › eli5: what is a factorial and how does it work
r/explainlikeimfive on Reddit: ELI5: What is a factorial and how does it work
December 31, 2024 - To calculate the factorial of a number, multiply it by all whole numbers below it. For example, 5!
🌐
Reddit
reddit.com › r/learnmath › how to calculate the factorial of a decimal?
r/learnmath on Reddit: How to calculate the factorial of a decimal?
April 22, 2019 -

When I put in the factorial of a number ending in .5 such as 1.5! Or .5! The calculator will give me an result, but when I type 4.2! Or any decimal that doesn't end with .5 the calculator will tell me an error has occurred

Why can the calculator only calculate some numbers and how can I calculate the factorial of a decimal by hand?

🌐
GeeksforGeeks
geeksforgeeks.org › mathematics › factorial-formula
Factorial Formula - GeeksforGeeks
The factorial is one of the most ... the factorial of a non-negative integer n, denoted as n!, is the product of all positive integers less than or equal to n....
Published   July 23, 2025
🌐
Uedufy
uedufy.com › home › blog › how to find a factorial: by hand, excel, r
How to Find a Factorial: By Hand, Excel, R
April 22, 2023 - A factorial, typically represented by an exclamation mark (!), is the product of all positive integers up to a given number. For instance, the factorial of 5 (denoted as 5!) is 5 x 4 x 3 x 2 x 1 = 120.
🌐
Math is Fun
mathsisfun.com › numbers › factorial.html
Factorial Function !
The factorial function (symbol: !) says to multiply all whole numbers from our chosen number down to 1. Examples:
🌐
Wikipedia
en.wikipedia.org › wiki › Factorial
Factorial - Wikipedia
1 week ago - The factorial function is a common feature in scientific calculators. It is also included in scientific programming libraries such as the Python mathematical functions module and the Boost C++ library. If efficiency is not a concern, computing factorials is trivial: just successively multiply a variable initialized to
🌐
BYJUS
byjus.com › maths › factorial
Factorial
In short, a factorial is a function that multiplies a number by every number below it till 1. For example, the factorial of 3 represents the multiplication of numbers 3, 2, 1, i.e. 3! = 3 × 2 × 1 and is equal to 6.
Published   October 6, 2021
Views   1K
🌐
BYJUS
byjus.com › maths › factorial-questions
Factorial Questions With Solutions
This can be solved by 2 methods, 1 by expanding every factorial by then multiplying and dividing. The 2nd method, is shown below ... A more complex topic on factorials can be found at exponents of a prime factorial.
Published   August 18, 2022
Views   4K
🌐
Programiz
programiz.com › c-programming › examples › factorial
C Program to Find Factorial of a Number
This program takes a positive integer from the user and computes the factorial using for loop.