Help
RSS
API
Feed
Maltego
Contact
Domain > 42u.pl
×
More information on this domain is in
AlienVault OTX
Is this malicious?
Yes
No
DNS Resolutions
Date
IP Address
2026-01-04
46.242.246.215
(
ClassC
)
Port 80
HTTP/1.1 200 OKDate: Sun, 04 Jan 2026 09:08:17 GMTContent-Type: text/htmlContent-Length: 41442Connection: keep-aliveServer: ApacheLast-Modified: Thu, 10 Jul 2025 19:37:23 GMTETag: a1e2-63998528c42c0Accept-Ranges: bytes !DOCTYPE html>html langen dirltr>head>script async srchttps://www.googletagmanager.com/gtag/js?idG-DCP0TH0VWC>/script>script>window.dataLayer window.dataLayer || ;function gtag(){dataLayer.push(arguments);}gtag(js, new Date());gtag(config, G-DCP0TH0VWC);function ev(a) { gtag(event,a);}setInterval(function() { ev(4_minutes);}, 240000);document.addEventListener(visibilitychange,e>document.visibilityState!visible?ev(lost_focus):0);window.addEventListener(appinstalled,e>ev(installed));/script>meta charsetutf-8>meta nameviewport contentwidthdevice-width, initial-scale1>title>Factorial Calculator | Large Numbers | n!/title>meta namedescription contentTo get the factorial of a number, multiply all whole numbers starting from one up to that number.>meta propertyog:title contentFactorial Calculator>meta propertyog:type contentwebsite>meta propertyog:url contenthttps://minesweeper.us/factorial-calculator/>meta propertyog:image contenthttps://minesweeper.us/factorial-calculator/factorial-calculator-1210-715.png>link relmanifest hreftool.webmanifest>link relshortcut icon hreffavicon.ico>link relicon typeimage/png hreficon-32.png sizes32x32>link relicon typeimage/png hreficon-120.png sizes120x120>link relicon typeimage/svg+xml hreficon.svg>link relapple-touch-icon hrefapple-touch-icon.png sizes180x180>link relcanonical hrefhttps://minesweeper.us/factorial-calculator/>style>img,svg{display:block}#input div,#l1,#l2{grid-column:2}button,label{cursor:pointer}#input div,#mm,#o_head,id^m_{display:flex}#author,id^m_{overflow:hidden;box-sizing:border-box}#author,.meta{border-bottom:1px solid #000}h1,li,p{line-height:1.5em}#addr svg,header>a img{width:100%}.contents h3,footer,h1{text-align:center}#l1,#o_head,footer{margin-top:20px}*{padding:0;margin:0}html{scroll-behavior:smooth}body{font-size:24px;font-family:Georgia,serif}#input input,.code,button,code{font-size:inherit}#mm{padding:10px;background-color:#061d41}#mm button{border:none;background:0 0}#mm a,#mm button{padding:0 10px}button{font-family:inherit;box-sizing:content-box}#feedback textarea,#input input,#output,.cd,.code,code{font-family:Consolas,monospace}svg{width:50px;height:50px}id^b_cl svg{width:28.5px;height:28.5px}a{text-decoration:none}#b_sdl{margin-left:auto}id^m_{padding:0;height:0;flex-wrap:wrap;justify-content:center;background-color:#cdedf6;transition:.1s ease-in-out}#feedback,id^b_cl,id^m_ a{justify-content:center}id^b_cl,id^m_ a{width:20em;margin:.1em;padding:.1em;color:#000;background-color:#fff;border-radius:10px;border:1px solid #5eb1bf;text-align:center;line-height:1.2em;transition:background-color .1s ease-in-out;display:flex;align-items:center}.dark #b_author,.meta button{background-color:inherit}id^b_cl:hover,id^m_ a:hover{background-color:#f49e4c}article{padding:5px;margin:0 auto;max-width:1200px}article header{margin-bottom:20px}img{max-width:100%;height:auto}h1{margin:1em}h2,h3{margin:.7em 0}p{text-align:justify;margin:10px 0}#input{display:grid;grid-template-columns:1fr min-content 1fr}#l1{grid-row:1}#l2{grid-row:3}#input div{grid-row:2;margin-bottom:10px}#input #i_p{font-size:150%;width:7em}#input button{margin-left:10px;padding-left:20px;padding-right:20px}#input input{width:2.2em}#o_head{align-items:end}#o_head div{margin-right:auto}#o_head button{background:0 0;border:none;padding:2px}#o_head svg{width:36px;height:36px}#assets,.tick{display:none}#addr,#feedback,.list{display:flex}#output{background-color:#eee;border:1px solid #000;min-height:2em;overflow-wrap:break-word;padding:2px 5px}.meta{margin-top:30px;text-align:right}.meta button{border:none;color:#061d41;text-shadow:1px 1px #cdedf6}.contents,.list>div,td{border:1px solid #000}#author{display:block;padding:5px 0}#author>a{float:right;margin-left:5px}article a{color:#061d41;text-shadow:.1em .1em #cdedf6}.meta button:hover,article a:hover,footer a:hover{text-decoration:underline}.contents{margin:10px 0 10px 10px;background-color:#f8f8f8;float:right;padding:.5em;max-width:40%}.contents div{padding-left:1.3em}.contents h3{padding-bottom:5px;margin:0}.contents a{display:block;padding:.2em .5em}.list{flex-wrap:wrap;justify-content:center}.list>div{margin:-1px 0 0 -1px;padding:.2em 1em;white-space:pre}ol{margin-left:40px}table{border-collapse:collapse}td{padding:.2em}.tq{width:30%}.code,code{display:block;padding:10px 15px;background-color:#eee;border:2px dashed #000;white-space:pre;tab-size:4;overflow:auto}.code{white-space:initial}#feedback textarea{font-size:inherit;width:20em;height:3em;padding:2px}#feedback button{margin-left:20px;padding:0 20px}#addr{margin:10px;justify-content:center}#addr svg{max-width:180px;height:100%;margin-right:10px;position:relative;top:2px}footer{background-color:#061d41;padding:10px;color:#fff;clear:both}footer a{color:#cdedf6}circle,path{transition:fill .1s ease-in-out,stroke .1s ease-in-out}svg *{fill:none}svg g *{fill:inherit}.stroked{stroke:black}.filled{fill:black}#mm .filled{fill:white}#mm .stroked,.dark svg .stroked{stroke:white}#mm :hover .filled{fill:#F49E4C}#mm :hover .stroked{stroke:#F49E4C}#o_head path{stroke:#AAA;stroke-width:8;stroke-linejoin:round;stroke-linecap:round;fill:none}#o_head :hover svg *{stroke:#444}#o_head .tick *{stroke:#AAA;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.dark #mm :hover>svg .filled{fill:#5eb1bf}.dark #mm :hover>svg .stroked{stroke:#5eb1bf}.dark #o_head :hover svg *{stroke:#FFF}body.dark{background-color:#000;filter:brightness(70%);color:#fff}.dark id^m_{background-color:#061d41}.dark id^b_cl,.dark id^m_ a,.dark article button,.dark input,.dark textarea{background-color:#061d41;color:#fff}.dark #b_author,.dark article a{color:#cdedf6;text-shadow:none}.dark id^b_cl:hover,.dark id^m_ a:hover{background-color:#5eb1bf}.dark picture{filter:invert(1)}.dark article button:hover{color:#5eb1bf}.dark #output,.dark .code,.dark .contents,.dark code{background-color:#061d41;border-color:#5eb1bf}.dark #author,.dark .list>div,.dark .meta,.dark td{border-color:#5eb1bf}.dark button:disabled{filter:brightness(.5)}.dark button:disabled:hover{color:inherit}@media (max-width:1400px){article{max-width:800px}body{font-size:16px}#o_head svg{width:24px;height:24px}#author img{width:100px}id^b_cl svg{width:19px;height:19px}#addr svg{max-width:120px}}@media (max-width:800px){#mm svg{width:40px;height:40px}#mm a,#mm button{padding:0 5px}#mm{padding:5px}}@media (max-width:540px){.contents{float:none;max-width:initial;margin:10px 0}#feedback textarea{width:auto;flex:1}}@media (max-width:450px){#input div{flex-wrap:wrap;margin-bottom:5px}#input button{margin:5px 0 0;flex:1}#feedback button{margin-left:5px}}@media (max-width:360px){#mm svg{width:30px;height:30px}}/style>script typeapplication/ld+json>{ @context:https://schema.org, @type:SoftwareApplication, @id:https://minesweeper.us/factorial-calculator/#application, name:Factorial Calculator, url:https://minesweeper.us/factorial-calculator/, author: { @type:Organization, @id:https://simiade.com/#organization }, description:To get the factorial of a number, multiply all whole numbers starting from one up to that number., applicationCategory:UtilitiesApplication, operatingSystem:any, image:https://minesweeper.us/factorial-calculator/factorial-calculator-1210-715.png, screenshot: https://minesweeper.us/factorial-calculator/factorial-calculator-345-572.png, offers:{ @type:Offer, category:free, price:0, priceCurrency:USD }},{ @context:https://schema.org, @type:Article, @id:https://minesweeper.us/factorial-calculator/#article, headline:Factorial Calculator, description:To get the factorial of a number, multiply all whole numbers starting from one up to that number., author: { @type:Person, @id: https://simiade.com/people/adam-narkiewicz/#author, name: Adam Narkiewicz, image:https://simiade.com/people/adam-narkiewicz/adam-narkiewicz-413-450.png, description: Adam has a PhD in Economics, is responsible for writing technical articles and oversees development of online applications., sameAs: https://twitter.com/adamnar, https://www.linkedin.com/in/adamnarkiewicz/, https://narkiewicz.info/ , url:https://narkiewicz.info/ }, datePublished:2025-07-03T00:00:00Z, dateModified:2025-07-03T00:00:00Z, inLanguage:en, image:https://minesweeper.us/factorial-calculator/factorial-calculator-1210-715.png, thumbnailUrl:https://minesweeper.us/factorial-calculator/icon-512.png, url:https://minesweeper.us/factorial-calculator/, publisher: { @type:Organization, @id:https://simiade.com/#organization }, copyrightHolder: { @type:Organization, @id:https://simiade.com/#organization }, copyrightYear:2025},{ @context: https://schema.org, @type: BreadcrumbList, itemListElement:{ @type: ListItem, position: 1, name: Minesweeper, item: https://minesweeper.us/ },{ @type: ListItem, position: 2, name: Factorial Calculator, item: https://minesweeper.us/factorial-calculator/ }}/script>/head>body> nav idmm aria-labelMain menu> a href../ titleReturn to the Minesweeper homepage>svg viewBox0 0 100 100 focusablefalse>path dm50,26l35,30v29q0,4-4,4h-24v-24h-14v24h-24q-4,0-4-4v-29zm0-6l42,36q2,2 4,0l3-3q2-2 0-4l-14-12v-25q0-2-2-2h-10q-2,0-2 2v13l-14-12q-7-6-14,0l-42,36q-2,2 0,4l3,3q2,2 4,0z classfilled/>/svg> /a> button titleSwitch between dark and light mode idb_sdl>svg viewBox0 0 100 100 focusablefalse ids_dl0>g classstroked stylestroke-width:7;stroke-linecap:round;>circle cx50 cy50 r17/>path dM10,50h10M50,10v10M80,50h10M50,80v10M22,22l7,7M71,29l7-7M22,78l7-7M71,71l7,7/>/g>/svg>svg viewBox0 0 100 100 focusablefalse ids_dl1>g classstroked stylestroke-linecap:round;stroke-linejoin:round;>path dM45,12A38,38 0 1 0 77,77 38,38 0 0 1 45,12 stylestroke-width:6;/>g stylestroke-width:3; classfilled>path dM66,17l3,6 6,3-6,3-3,6-3-6-6-3,6-3z/>path dM83,40l3,6 6,3-6,3-3,6-3-6-6-3,6-3z/>/g>/g>/svg> /button> button titleOther tools idb_mem>svg viewBox-55 -55 110 110 focusablefalse>g stylestroke-width:1;stroke-linejoin:round; classfilled stroked>path dM0,11l35 35a7.8 7.8 0 0 0 11-11l-35-35z/>path dM-4-19A19.4 19.4 0 1 1-19-4l12 12c4,4 19-11 15-15z/>path dM26 6A26.7 26.7 0 1 0 6 26l9 9A38.1 38.1 0 1 1 35 15z/>defs>path dM0,0h6l3,14h-18l3-14z idgear/>/defs>use href#gear y-48/>use href#gear y-48 transformrotate(180)/>use href#gear y-48 transformrotate(90)/>use href#gear y-48 transformrotate(270)/>use href#gear y-48 transformrotate(45)/>use href#gear y-48 transformrotate(225)/>use href#gear y-48 transformrotate(315)/>/g>/svg> /button> button titleSelect language idb_msl>svg viewBox0 0 100 100 focusablefalse>path dm35,32H6.5q-4,0-4,4v34q0,4 4,4h7.5v11L26,74h23.5q4,0 4-4v-4M74,56L85,67V56h8.5q4,0 4-4V18q0-4-4-4H50.5q-4,0-4,4v34q0,4 4,4z classstroked stylestroke-width:5;/>path dm62,23v4h20v-4h-8v-2h-4v2zM80,49C73,44 68,38 65,30l4-1c2,6 7,12 13,16.5zM63,44.5C71,39 74,35 76,27h4C78,37 74,42 65,48Z classstroked filled stylestroke-width:1;/>path dm25,56h6l-3-9zm-8,9l8-24h6l8,24H34L32.333,60H23.667L22,65Z classfilled/>/svg> /button> /nav> nav idm_e aria-labelTools menu> a hrefhttps://minesweeper.us/combinations-calculator/>Combinations Calculator/a> a hrefhttps://minesweeper.us/factorial-calculator/>Factorial Calculator/a> a hrefhttps://minesweeper.us/permutations-calculator/>Permutations Calculator/a> a hrefhttps://solitaires-online.com/roman-numeral-converter/>Roman Numeral Converter/a> button titleClose the Tools menu idb_cle>svg viewBox0 0 100 100 focusablefalse>g classstroked>rect x6 y6 width88 height88 ry16 stylestroke-width:12;stroke-linecap:round;/>path dM36,36 64,64M36,64 64,36 stylestroke-width:12;stroke-linecap:round;/>/g>/svg> /button> /nav> nav idm_l aria-labelLanguage menu> a hrefhttps://minesweeper.us/factorial-calculator/ langen hreflangen>Factorial Calculator (English)/a> button titleClose the language menu idb_cll>svg viewBox0 0 100 100 focusablefalse>g classstroked>rect x6 y6 width88 height88 ry16 stylestroke-width:12;stroke-linecap:round;/>path dM36,36 64,64M36,64 64,36 stylestroke-width:12;stroke-linecap:round;/>/g>/svg> /button> /nav> article> header> a hreffactorial-calculator-2422-362.png target_blank> picture> source media(max-width: 1400px) srcsetfactorial-calculator-800-120.png typeimage/png> img srcfactorial-calculator-1200-179.png width1200 height179 altFactorial Calculator loadinglazy> /picture> /a> h1 idfactorial-calculator>Factorial Calculator/h1> /header> section idcalculator> p>To calculate factorial, enter a number in the “Factorial of” field and press “Calculate.” The result will be shown in the “Result” field./p> div idinput> label fori_p idl1>Factorial of:/label> div> input typenumber idi_p min0 titleEnter a number here> button idgo titleClick to calculate factorial>Calculate/button> button iddel titleClick to enter a new number>Clear/button> /div> label idl2>Base: input typenumber value10 min2 max36 ids_b titleResult will be displayed using that base>/label> /div> div ido_head> div>Result:/div> button titleCopy result to clipboard>svg viewBox0 0 100 100 focusablefalse>path dM35,75h50v-50h-20v-20h-30zM65,5l20,20M35,25h-20v70h50v-20/>/svg>svg viewBox0 0 20 20 classtick>circle cx10 cy10 r9/>path dM4,10l4,4 7-7/>/svg>/button> button titleSave result to file>svg viewBox0 0 100 100 focusablefalse>path dM10,70v20h80v-20M50,10v60l20-20M30,50l20,20 stylestroke-width:10;/>/svg>/button> button titlePrint result>svg viewBox0 0 100 100 focusablefalse>path dM25,90h50v-30h-50zM25,75h-5q-10,0-10-10v-20q0-10,10-10h60q10,0 10,10v20q0,10-10,10h-5/>path dM25,35v-25h35v15h15v10M60,10l15,15/>/svg>/button> button titleCopy link to clipboard>svg viewBox0 0 100 100 focusablefalse>path dM46,74l-11,11q-10,10-20,0q-10-10 0-20l21-21q10-10 20,0M54,26l11-11q10-10 20,0q10,10 0,20l-21,21q-10,10-20,0 stylestroke-width:10;/>/svg>svg viewBox0 0 20 20 classtick>circle cx10 cy10 r9/>path dM4,10l4,4 7-7/>/svg>/button> button titleClear result field>svg viewBox0 0 100 100 focusablefalse>path dM5,50 l30,30h60v-60h-60zM50,35l30,30M50,65l30-30/>/svg>/button> /div> div idoutput> div idres1>/div> div idres2>/div> /div> /section> section> div classmeta>2025-07-03, by button idb_author titleShow author’s profile>Adam Narkiewicz/button>/div> div idauthor> a hrefhttps://simiade.com/people/adam-narkiewicz/adam-narkiewicz-413-450.png target_blank titleAdam Narkiewicz>img srchttps://simiade.com/people/adam-narkiewicz/adam-narkiewicz-200-240.webp width150 height180 altAdam Narkiewicz loadinglazy>/a> p>Adam has a PhD in Economics, is responsible for writing technical articles and oversees development of online applications. You can find him at:br> a hrefhttps://narkiewicz.info/ target_blank>https://narkiewicz.info//a>br> a hrefhttps://www.linkedin.com/in/adamnarkiewicz/ target_blank>https://www.linkedin.com/wbr>in/adamnarkiewicz//a> /p> /div> nav classcontents> h3>Table of contents/h3> a href#factorial-calculator>Factorial Calculator/a> a href#what-is-a-factorial>What is a factorial?/a> a href#the-factorial-formula>The factorial formula/a> a href#factorial-examples>Factorial examples/a> div> a href#question-how-many-ways-to-order-3-objects>Question: How many ways to order 3 objects?/a> a href#question-how-many-ways-to-arrange-4-numbers>Question: How many ways to arrange 4 numbers?/a> a href#question-how-many-ways-to-arrange-5-letters>Question: How many ways to arrange 5 letters?/a> a href#question-how-many-ways-to-shuffle-a-deck-of-52-cards>Question: How many ways to shuffle a deck of 52 cards?/a> /div> a href#what-is-the-factorial-of-a-number>What is the factorial of a number.../a> a href#factorial-in-python>Factorial in Python/a> a href#factorial-of-a-negative-number>Factorial of a negative number/a> a href#factorial-approximation>Factorial approximation/a> div> a href#stirling-s-approximation>Stirling’s approximation/a> a href#ramanujan-s-approximation>Ramanujan’s approximation/a> /div> a href#how-to-use-the-factorial-calculator>How to use the Factorial Calculator?/a> a href#cite-or-embed-this-content>Cite or embed this content/a> a href#references>References/a> a href#contact-us>Contact us/a> /nav> /section> section idwhat-is-a-factorial> h2>What is a factorial?/h2> p>To get the factorial of a number, multiply all whole numbers starting from one up to that number. To write a factorial, use an exclamation mark. For example,/p> math displayblock>mn>4/mn>mo>!/mo>mo>/mo>mn>1/mn>mo>×/mo>mn>2/mn>mo>×/mo>mn>3/mn>mo>×/mo>mn>4/mn>mo>/mo>mn>24/mn>mtext>,/mtext>/math> p>which we can read as “four factorial equals 24” or “the factorial of four is 24.”/p> p>Factorials can be used only with non-negative integers (whole numbers equal or greater than 0). For convenience, mathematicians decided that math displayinline>mn>0/mn>mo>!/mo>mo>/mo>mn>1/mn>/math>, that is, the factorial of zero equals one./p> /section> section idthe-factorial-formula> h2>The factorial formula/h2> p>The factorial of a given number i>n/i> can be described using any of the following formulas:/p> ol> li>math displayinline>mi>n/mi>mo>!/mo>mo>/mo>mn>1/mn>mo>×/mo>mn>2/mn>mo>×/mo>mo>⋯/mo>mo>×/mo>mo>(/mo>mrow>mi>n/mi>mo>−/mo>mn>1/mn>/mrow>mo>)/mo>mo>×/mo>mi>n/mi>/math>/li> li>math displayinline>mi>n/mi>mo>!/mo>mo>/mo>mrow>munderover>mo>∏/mo>mrow>mi>k/mi>mo>/mo>mn>1/mn>/mrow>mi>n/mi>/munderover>mi>k/mi>/mrow>/math>/li> li>math displayinline>mi>n/mi>mo>!/mo>mo>/mo>mi>n/mi>mo>×/mo>mo>(/mo>mrow>mi>n/mi>mo>−/mo>mn>1/mn>/mrow>mo>)/mo>mo>!/mo>/math>/li> /ol> p>All these formulas give the same result. Formula (a) follows from the definition (multiply all whole numbers starting from one up to i>n/i>). Formula (b) is a shorter version of formula (a), written using the a hrefhttps://en.wikipedia.org/wiki/Multiplication#Capital_pi_notation target_blank>product operator/a>. Formula (c) is a a hrefhttps://en.wikipedia.org/wiki/Recursion target_blank>recursive/a> formula that we can read as “n factorial equals n times the factorial of n minus one.”/p> /section> section idfactorial-examples> h2>Factorial examples/h2> p>Factorials have many uses. For example, they are popular in a hrefhttps://en.wikipedia.org/wiki/Combinatorics target_blank>combinatorics/a> and a hrefhttps://en.wikipedia.org/wiki/Probability_theory target_blank>probability theory/a> because they tell us in how many ways we can arrange a collection of different objects. Specifically, factorials are used in the formulas for a hrefhttps://en.wikipedia.org/wiki/Permutation target_blank>permutations/a> and a hrefhttps://en.wikipedia.org/wiki/Combination target_blank>combinations/a>. They are also used in many other branches of mathematics./p> section idquestion-how-many-ways-to-order-3-objects> h3>Question: How many ways to order 3 objects?/h3> p>Let’s say we have three objects: an apple, a banana, and a coconut. We have to decide in what order to eat them. We have three options for what to eat first. Once we have eaten the first fruit, we have two options for what to eat next. When only one fruit is left, we have no further choice – we have to eat whatever is left. Therefore, we can order the fruits in math displayinline>mn>3/mn>mo>!/mo>mo>/mo>mn>3/mn>mo>×/mo>mn>2/mn>mo>×/mo>mn>1/mn>mo>/mo>mn>6/mn>/math> ways:/p> div classlist> div>Apple, Banana, Coconut/div> div>Apple, Coconut, Banana/div> div>Banana, Apple, Coconut/div> div>Banana, Coconut, Apple/div> div>Coconut, Apple, Banana/div> div>Coconut, Banana, Apple/div> /div> /section> section idquestion-how-many-ways-to-arrange-4-numbers> h3>Question: How many ways to arrange 4 numbers?/h3> p>Let’s say we have four numbers, ranging from 1 to 4. In how many ways can we arrange them? The answer is math displayinline>mn>4/mn>mo>!/mo>mo>/mo>mn>1/mn>mo>×/mo>mn>2/mn>mo>×/mo>mn>3/mn>mo>×/mo>mn>4/mn>mo>/mo>mn>24/mn>/math>. Here are all 24 possibilities:/p> div classlist> div>1234/div>div>1243/div>div>1324/div>div>1342/div> div>1423/div>div>1432/div>div>2134/div>div>2143/div> div>2314/div>div>2341/div>div>2413/div>div>2431/div> div>3124/div>div>3142/div>div>3214/div>div>3241/div> div>3412/div>div>3421/div>div>4123/div>div>4132/div> div>4213/div>div>4231/div>div>4312/div>div>4321/div> /div> p>This only works if we have four different digits. If some of the digits repeat, for example, we have 3, 5, 5, and 7, then we can no longer simply use a factorial – the formula becomes more complicated. This is explained in more detail in the following example./p> /section> section idquestion-how-many-ways-to-arrange-5-letters> h3>Question: How many ways to arrange 5 letters?/h3> p>How many ways are there to arrange letters in the word “FRUIT”? The answer is math displayinline>mn>5/mn>mo>!/mo>mo>/mo>mn>120/mn>/math>. There are a lot of possibilities!/p> p>This simple formula works only if there are no repeated letters in a word. If you have a word with repeating letters, you need to take the factorial of the word’s length and, for each letter, divide it by the factorial of its repetitions. For example, the word “MISSISSIPPI” has 11 letters, but the letters S and I both appear four times, while P occurs twice. Therefore, the letters in this word can be arranged in 34,650 ways:/p> math displayblock>mfrac>mrow>mn>1/mn>mo>!/mo>/mrow>mrow>mn>4/mn>mo>!/mo>mo>×/mo>mn>4/mn>mo>!/mo>mo>×/mo>mn>2/mn>mo>!/mo>/mrow>/mfrac>mo>/mo>mn>34650/mn>mtext>./mtext>/math> p>Why do we need to put these factorials in the denominator? For example, if two of the four letters S swap places, the word will not change. Because there are four letters S, there are 4! ways to rearrange them. We want to eliminate all these rearrangements because they result in identical words. We do it by dividing the main factorial by 4!./p> /section> section idquestion-how-many-ways-to-shuffle-a-deck-of-52-cards> h3>Question: How many ways to shuffle a deck of 52 cards?/h3> p>In this final example, we will find out how many ways there are to arrange a deck of 52 cards. This, of course, is the a href?n52 target_blank>factorial of 52/a>, which is a very large number: 52! 80,wbr>658,wbr>175,wbr>170,wbr>943,wbr>878,wbr>571,wbr>660,wbr>636,wbr>856,wbr>403,wbr>766,wbr>975,wbr>289,wbr>505,wbr>440,wbr>883,wbr>277,wbr>824,wbr>000,wbr>000,wbr>000,wbr>000 or approximately math displayinline>mn>52/mn>mo>!/mo>mo>≈/mo>mn>8.066/mn>mo>×/mo>msup>mn>10/mn>mn>67/mn>/msup>/math>./p> p>This means that if you shuffle the cards well, there is practically no chance to encounter the same arrangement twice, ever./p> /section> /section> section idwhat-is-the-factorial-of-a-number> h2>What is the factorial of a number.../h2> p>Here are some popular factorials:/p> table> tr>th classtq>Question/th>th>Answer/th>/tr> tr>td>What is a href?n0 target_blank>0 factorial/a>?/td>td>The a href?n0 target_blank>factorial of 0/a> is 1./td>/tr> tr>td>What is a href?n1 target_blank>1 factorial/a>?/td>td>The a href?n1 target_blank>factorial of 1/a> is 1./td>/tr> tr>td>What is a href?n2 target_blank>2 factorial/a>?/td>td>The a href?n2 target_blank>factorial of 2/a> is 2./td>/tr> tr>td>What is a href?n3 target_blank>3 factorial/a>?/td>td>The a href?n3 target_blank>factorial of 3/a> is 6./td>/tr> tr>td>What is a href?n4 target_blank>4 factorial/a>?/td>td>The a href?n4 target_blank>factorial of 4/a> is 24./td>/tr> tr>td>What is a href?n5 target_blank>5 factorial/a>?/td>td>The a href?n5 target_blank>factorial of 5/a> is 120./td>/tr> tr>td>What is a href?n6 target_blank>6 factorial/a>?/td>td>The a href?n6 target_blank>factorial of 6/a> is 720./td>/tr> tr>td>What is a href?n7 target_blank>7 factorial/a>?/td>td>The a href?n7 target_blank>factorial of 7/a> is 5,040./td>/tr> tr>td>What is a href?n8 target_blank>8 factorial/a>?/td>td>The a href?n8 target_blank>factorial of 8/a> is 40,320./td>/tr> tr>td>What is a href?n9 target_blank>9 factorial/a>?/td>td>The a href?n9 target_blank>factorial of 9/a> is 362,880./td>/tr> tr>td>What is a href?n10 target_blank>10 factorial/a>?/td>td>The a href?n10 target_blank>factorial of 10/a> is 3,628,800./td>/tr> tr>td>What is a href?n52 target_blank>52 factorial/a>?/td>td>The a href?n52 target_blank>factorial of 52/a> is 80,wbr>658,wbr>175,wbr>170,wbr>943,wbr>878,wbr>571,wbr>660,wbr>636,wbr>856,wbr>403,wbr>766,wbr>975,wbr>289,wbr>505,wbr>440,wbr>883,wbr>277,wbr>824,wbr>000,wbr>000,wbr>000,wbr>000./td>/tr> tr>td>What is a href?n100 target_blank>100 factorial/a>?/td>td>The a href?n100 target_blank>factorial of 100/a> is 93,wbr>326,wbr>215,wbr>443,wbr>944,wbr>152,wbr>681,wbr>699,wbr>238,wbr>856,wbr>266,wbr>700,wbr>490,wbr>715,wbr>968,wbr>264,wbr>381,wbr>621,wbr>468,wbr>592,wbr>963,wbr>895,wbr>217,wbr>599,wbr>993,wbr>229,wbr>915,wbr>608,wbr>941,wbr>463,wbr>976,wbr>156,wbr>518,wbr>286,wbr>253,wbr>697,wbr>920,wbr>827,wbr>223,wbr>758,wbr>251,wbr>185,wbr>210,wbr>916,wbr>864,wbr>000,wbr>000,wbr>000,wbr>000,wbr>000,wbr>000,wbr>000,wbr>000./td>/tr> /table> p>The a href?n100 target_blank>100 factorial/a> can be approximated using the scientific notation: math displayinline>mn>100/mn>mo>!/mo>mo>≈/mo>mn>9.333/mn>mo>×/mo>msup>mn>10/mn>mn>157/mn>/msup>/math>./p> /section> section idfactorial-in-python> h2>Factorial in Python/h2> p>If you are using a programming language like Python, you can use a built-in function:/p> code>import mathmath.factorial(n)/code> p>But if you want to program your own factorial function, you can do it using recursion:/p> code>def factorial(n): if n > 1: return factorial(n-1) * n else: return 1/code> p>Or you can use iterations:/p> code>def factorial(n): result 1 for k in range(2, n + 1): result * k return result/code> /section> section idfactorial-of-a-negative-number> h2>Factorial of a negative number/h2> p>Factorial is defined only for non-negative integers. There were many attempts to generalize the factorial to work for a hrefhttps://en.wikipedia.org/wiki/Real_number target_blank>real/a> and a hrefhttps://en.wikipedia.org/wiki/Complex_number target_blank>complex/a> numbers. However, the consensus is that the factorial of a negative number should remain undefined. For example, the a hrefhttps://en.wikipedia.org/wiki/Gamma_function target_blank>Gamma function/a> generalizes the factorial to all complex numbers except for... negative integers./p> /section> section idfactorial-approximation> h2>Factorial approximation/h2> p>Multiplying all integers up to i>n/i> can be time-consuming, especially when n is large, so mathematicians devised formulas that quickly approximate factorials. Two such famous formulas are listed below./p> section idstirling-s-approximation> h3>Stirling’s approximation/h3> math displayblock>mi>n/mi>mo>!/mo>mo>≈/mo>msqrt>mn>2/mn>mi>π/mi>mi>n/mi>/msqrt>msup>mrow>mo>(/mo>mfrac>mi>n/mi>mi>e/mi>/mfrac>mo>)/mo>/mrow>mi>n/mi>/msup>/math> /section> section idramanujan-s-approximation> h3>Ramanujan’s approximation/h3> math displayblock>mi>n/mi>mo>!/mo>mo>≈/mo>msqrt>mi>π/mi>/msqrt>msup>mrow>mo>(/mo>mfrac>mi>n/mi>mi>e/mi>/mfrac>mo>)/mo>/mrow>mi>n/mi>/msup>mroot>mrow>mn>8/mn>msup>mi>n/mi>mn>3/mn>/msup>mo>+/mo>mn>4/mn>msup>mi>n/mi>mn>2/mn>/msup>mo>+/mo>mi>n/mi>mo>+/mo>mfrac>mn>1/mn>mn>30/mn>/mfrac>/mrow>mn>6/mn>/mroot>/math> /section> /section> section idhow-to-use-the-factorial-calculator> h2>How to use the Factorial Calculator?/h2> p>To use this calculator, enter a number in the field “Factorial of” and press the “Calculate” button. The result will be displayed below. If the result is a large number, it is displayed in two ways: the shorter, approximate result in scientific notation is shown above, and the exact solution is shown below./p> p>The calculator works only with whole numbers, starting from 0. There is no preprogrammed upper limit – if your device and web browser permit, you can enter an arbitrarily large number. On desktop computers, some versions of Chrome can easily calculate the a href?n10000000 target_blank>factorial of 10,000,000/a>, whereas Firefox and Safari may struggle to handle numbers higher than 60,000./p> p>For large numbers, it may take several seconds to calculate the result and even longer to display it on your screen. If the number you entered is too large, an error message will be displayed. Sometimes, instead of showing the message, the page crashes and needs to be reloaded./p> p>There is an option to display the result using a base different than 10. You can specify any number between 2 and 36. For example, if you want to get a result in a hrefhttps://en.wikipedia.org/wiki/Hexadecimal target_blank>hexadecimal/a> form, enter 16. It is important to remember that the result displayed in a hrefhttps://en.wikipedia.org/wiki/Scientific_notation target_blank>scientific notation/a> uses a selected base both in the mantissa and the exponent. The input, on the other hand, is always read and displayed using base 10./p> /section> section idcite-or-embed-this-content> h2>Cite or embed this content/h2> p>You can use this website free of charge, including for commercial purposes, as long as you cite this website as a source. If you are citing it in a scientific text, you can use the following citation:/p> div classcode>Narkiewicz A., Factorial Calculator, https://minesweeper.us/wbr>factorial-calculator/, accessed time idcurdate>2025-06-30/time>./div> p>To cite this website on the Internet, you can link to it using its main URL (a hrefhttps://minesweeper.us/factorial-calculator/ target_blank>https://minesweeper.us/wbr>factorial-calculator//a>) or, if you want to link to a particular result, use the “Copy link to clipboard” button./p> p>You can also embed this page on your website using an span classcd>iframe/span> element. If you want the page to display only the calculator and hide all the remaining content (menus, article, etc.), you can use the following URL in your span classcd>src/span> attribute: a hrefhttps://minesweeper.us/factorial-calculator/?iframe1 target_blank>https://minesweeper.us/factorial-calculator/?iframe1/a>./p> p>Please credit this page on your website by citing it with a navigable link. You may also want to let us know that you have embedded our app on your website by emailing us at a hrefmailto:contact@simiade.com target_blank>contact@simiade.com/a>. Then, we will be able to inform you if we make any changes to our app that might require webmasters to update how their websites display it./p> /section> section idreferences> h2>References/h2> p>a hrefhttps://www.sciencedirect.com/science/article/abs/pii/S0096300310008295 target_blank>Mortici, Cristinel, Ramanujan formula for the generalized Stirling approximation, Applied Mathematics and Computation, 217 (6)./a>/p> p>a hrefhttps://mathworld.wolfram.com/Factorial.html target_blank>Weisstein, Eric W., Factorial., MathWorld—A Wolfram Resource./a>/p> p>a hrefhttps://mathworld.wolfram.com/StirlingsApproximation.html target_blank>Weisstein, Eric W., Stirlings Approximation, MathWorld—A Wolfram Resource./a>/p> /section> section idcontact-us> h2>Contact us/h2> p>If you have any questions, comments, or suggestions, you can leave your feedback here:/p> div idfeedback> textarea>Enter your feedback here./textarea> button>Submit/button> /div> p>Or you can contact us by mail:/p>div idaddr>svg viewBox0 13 100 74 focusablefalse>rect x2 y15 width96 height70 ry8 classstroked stylestroke-width:4;>/rect>path dM5,18L46,54A6,6 0 0 0 54,54L95,18M5,82L40,49M60,49L95,82 classstroked stylestroke-width:4;>/path>/svg>address>Simiadebr>Adam Narkiewiczbr>Plac Bankowy 2br>00-095 Warszawabr>Polandbr>a hreftel:+48728235409>+48 728235409/a>br>a hrefmailto:contact@simiade.com>contact@simiade.com/a>br>a hrefhttps://simiade.com/ target_blank>https://simiade.com//a>/address>/div> /section> /article> footer>Contact us at a hrefmailto:contact@simiade.com>contact@simiade.com/a>. Copyright © time idcopyr>2025/time> a hrefhttps://simiade.com/ target_blank>simiade.com/a>. All rights reserved./footer> div idassets>p>i>/i> factorial/p>p>, base i>/i>/p>p>Factorial Calculator | Large Numbers | i>/i>!/p>p>You must enter a whole number. Do not use separators. Only digits are allowed./p>p>Base must be an integer between 2 and 36./p>p>Calculating i>/i>! Please wait.../p>p>Showing results.../p>p> (Base i>/i>)/p>p>There was an error: i>/i>/p>p>Your feedback has been sent. Thank you!/p>script typetext/plain>GV0IGZhY3RvcmlhbD10PT57aWYodDw1KXJldHVyblsxLDEsMiw2LDI0XVt0XTtsZXQgZT10JTIsYT0odC1lKS8yLHI9QXJyYXkoYSkscz0odCtlKS8yKzEsbz0odCsyLWUpLzIsZz1hLTEsbD1nO2V8fChyWzBdPUJpZ0ludCh0LzIrMSkpO2ZvcihsZXQgdD0xLWU7dDxhO3QrKylyW3RdPUJpZ0ludChzK3QpKkJpZ0ludChvLXQpO2ZvcihsZXQgdD0wO3Q8Zzt0KyspcltsXT1yW2xdKnJbdF0sZGVsZXRlIHJbdF0sbC0tLGw8PXQrMSYmKGw9Zyk7cmV0dXJuIHJbZ119O29ubWVzc2FnZT1vPT57dHJ5e2xldCB0PW8uZGF0YSxlPXRbMF0sYT10WzFdLHI9ZmFjdG9yaWFsKGUpLHM7cG9zdE1lc3NhZ2UoWzAsMF0pLHM9ci50b1N0cmluZyhhKSxwb3N0TWVzc2FnZShbMSxzXSl9Y2F0Y2godCl7cG9zdE1lc3NhZ2UoWzIsdF0pfX07/script>script typetext/plain>G1lZGlhIHByaW50eyNjYWxjdWxhdG9yICNpbnB1dCwjY2FsY3VsYXRvciAjb19oZWFkLGZvb3RlcixoZWFkZXIsbmF2I21fZSxuYXYjbV9sLG5hdiNtbSxwLHNlY3Rpb257ZGlzcGxheTpub25lfSNjYWxjdWxhdG9ye2Rpc3BsYXk6YmxvY2t9I2NhbGN1bGF0b3IgI291dHB1dHtkaXNwbGF5OmJsb2NrO2JhY2tncm91bmQtY29sb3I6aW5pdGlhbDtjb2xvcjppbml0aWFsO2JvcmRlcjpub25lO2ZvbnQtc2l6ZToxMnB4fX0/script>script typetext/plain>21tLCBoZWFkZXIsIHNlY3Rpb24geyBkaXNwbGF5OiBub25lOyB9CiNjYWxjdWxhdG9yIHsgZGlzcGxheTogYmxvY2s7IH0KI2NhbGN1bGF0b3IgPiBwIHsgZGlzcGxheTogbm9uZTsgfQpmb290ZXIgeyBkaXNwbGF5OiBub25lOyB9/script>script typetext/plain>WluZXN3ZWVwZXIudXM/script> /div>script>{let a,c,bdocument,db.querySelector.bind(b),eb.querySelectorAll.bind(b),fe(id^b_m),ge(id^m_),je(id^b_cl),i0,k0,la>{(0a||1a)&&(ka),d(#author).style.displayk?block:none},mlocalStorage,na>{(0a||1a)&&(ia),b.body.classListi?add:remove(dark),d(#s_dl+i).style.displaynone,d(#s_dl+(1-i)).style.displayblock,mfc_dmi},oa>a.length,qlocation,rNumber,sr.isInteger,t1,ua>a||w?atob(b,Q,I,ba+e(#assets script)a.textContent):,v(b,...a)>{let ce(#assets p)b;for(let d0;do(a);d++)c.childrend.textContentad;return c.innerText},w0o(q.host.replace(u(3),)),pd(#go),xd(#del),yd(#i_p),zd(#s_b),Ad(#res1),Bd(#res2),Ce(#o_head button),Dd(textarea),Ed(#feedback button),Fr(1.1).toLocaleString().substring(1,2),Ga>{A.textContenta,B.textContent},H(a,b)>{for(let c0;2>c;c++)Ca.childrenc.style.displaycb?block:none},Inew Blob(u(0),{type:text/javascript}),JURL.createObjectURL(I),K0,L1,Ma>{let b0|Math.ceil(52/Math.log2(c));return o(a)b?a,0:a.slice(0,1)+F+a.slice(1,b),(o(a)-1).toString(c)},N()>{let anew URL(q),ca.searchParams,dc.get(n),er(d),fr(c.get(b)),gr(c.get(iframe));if(z.value2f&&36>f&&s(f)?f:10,null!d&&s(e)&&0e?(y.valued,setTimeout(()>{K1,p.click()},0)):(y.value,G(),y.focus()),L&&1g){let ab.styleSheets0,cu(2).trim().split(\n);for(let b0;bo(c);b++)a.insertRule(cb,o(a.cssRules));L0}},Oa>{let ba.value,cb.indexOf(.),db.indexOf(,);return 0c||0d};p.onclick()>{y.value&&(y.value0);let br(y.value),dr(z.value);if(isNaN(b)||0>b||!s(b)||O(y))return G(v(3)),y.focus(),void y.select();if(!(2d&&36>d&&s(d)))return G(v(4)),z.focus(),void z.select();G(v(5,b)),p.disabled1;let fnew Worker(J);f.onmessageg>{let eg.data,ie0,je1;if(0i&&G(v(6)),1i){a,cb,d;let eM(j);if(A.innerHTMLa+!+(10c?:v(7,10))+ +e0+(e1? \xD7 10sup>+e1+/sup>:)+(10c?:v(7,c))+(e1? :),e1&&(B.innerHTMLj),f.terminate(),f0,p.disabled0,K)K0;else{let bnew URL(q),db.searchParams;d.set(n,a),10c?d.delete(b):d.set(b,c),history.pushState({},0,b)}document.titlev(2,a)}2i&&(G(v(8,j.message)),f.terminate(),f0,p.disabled!1,setTimeout(()>{fetch(err_rep.php,{method:POST,body:JSON.stringify(b,d)+\t+j.message})},0))},f.postMessage(b,d)},x.onclick()>{y.value,y.focus()},y.onkeyupa>{Entera.key&&p.click(),Escapea.key&&x.click()},z.onkeyupa>{Entera.key&&p.click(),Escapea.key&&(z.value10)},C0.onclick()>{noneC0.children0.style.display||(navigator.clipboard.writeText(A.innerHTML.replace(sup>,^).replace(/sup>,)+\n+B.textContent),H(0,1),setTimeout(()>H(0,0),500))},C1.onclick()>{if(!o(A.innerHTML))return;let db.createElement(a),ev(0,a);10!c&&(e+v(1,c)),d.downloade+.txt,d.hrefdata:text/plain;charsetutf-8,+encodeURIComponent(A.innerHTML.replace(sup>,^).replace(/sup>,)+\n+B.textContent),d.style.displaynone,b.body.appendChild(d),d.click(),b.body.removeChild(d)},C2.onclick()>{let ab.styleSheets0,ca.insertRule(u(1),o(a.cssRules));setTimeout(()>{window.print(),a.deleteRule(c)},100)},C3.onclick()>{if(none!C3.children0.style.display){let anew URL(q);a.hash,navigator.clipboard.writeText(a.href),H(3,1),setTimeout(()>H(3,0),500)}},C4.onclick()>{A.innerHTML,B.innerHTML},D.onfocus()>{t&&(t0,D.value)},E.onclick()>{if(t||D.value)return void D.focus();let aD.value;D.valuev(9),t1,E.disabled!0,65536>o(D.value)&&setTimeout(()>{fetch(feedback.php,{method:POST,body:a})},0),setTimeout(()>E.disabled!1,1e4)},onpopstate()>{N()},N();for(let a0;2>a;a++){let cfa,bga,db.style;c.onclick()>{d.height&&0!d.height0?(hb.getBoundingClientRect().height,d.heighth+px,d.paddingTop0,d.paddingBottom0,setTimeout(()>d.height0,20)):(d.heightauto,h10+b.getBoundingClientRect().height+px,d.height0px,d.paddingTop5px,d.paddingBottom5px,setTimeout(()>d.heighth,20),setTimeout(()>d.heightauto,200))},ja.onclick()>c.click()}b_sdl.onclick()>n(1-i),d(#b_author).onclick()>l(1-k),matchMedia((prefers-color-scheme: dark)).matches&&(i1),m.fc_dm!void 0&&(ir(m.fc_dm)),n(),l(),d(#curdate).innerHTMLnew Date().toLocaleDateString(),serviceWorkerin navigator&&navigator.serviceWorker.register(sw.js)}/script>/body>/html>
Subdomains
Date
Domain
IP
speedradio.42u.pl
2025-12-31
46.242.246.215
View on OTX
|
View on ThreatMiner
Please enable JavaScript to view the
comments powered by Disqus.
Data with thanks to
AlienVault OTX
,
VirusTotal
,
Malwr
and
others
. [
Sitemap
]