I-Calculator ye-Factorial
Bala i-factorial n! yenombolo ephelele, ngokucacile — ngisho nama-values amakhulu kakhulu.
Iziphetho zivuselelwa uma ubhala.
Malunga nale khadi
The factorial of n (written n!) is the product of every whole number from 1 up to n. This calculator returns the exact value using arbitrary-precision integers, the number of digits in that value, and an approximate mantissa × power-of-ten form for readability.
The calculation is a running product: 5! = 5 × 4 × 3 × 2 × 1 = 120. Factorials grow extremely fast — 10! = 3,628,800 and 100! already has 158 digits — which is why the tool shows both the full exact integer and its digit count. By definition 0! = 1 and 1! = 1, since there is exactly one way to arrange an empty or single-item set. It accepts n from 0 up to 2000.
Factorials count the number of ways to order n distinct items and are the foundation of permutations and combinations, the binomial theorem, and probability. Whenever you count arrangements or divide out orderings, a factorial is doing the work underneath.
Imibuzo ebuzwa kaningi
Yini i-factorial esetshenziswa?
I-factorial ibala izilungiselelo: n! yinani lezinto ezihlukile zezinto n. Yisakhiwo se-block se-permutations ne-combinations.
Yini i-0! (i-zero factorial)?
Ngomqondo 0! = 1. Kukhona indlela eyodwa kuphela yokuhlela isiqephu esingenalutho, ngakho-ke inzuzo engenalutho yi 1.
Yini i-5 factorial?
Kuyi 5 × 4 × 3 × 2 × 1 = 120, isibonelo esijwayelekile lesi sinqumo sibonisa.
Ingabe ikhulu kangakanani i-factorial ingabala?
Kuze ku-2000! ngokucacile, usebenzisa inani eliphelele elifanele, ngakho akukho kuphikiswa okulahlekile nakuba inani likhulu.
Kungani ibonisa inani lezinhlamvu?
Ama-factorials akhula ngokushesha kakhulu ukuthi inani eligcwele linzima ukuliphatha — 100! linezinhlamvu ezingu-158 — ngakho-ke ukubala kwezinhlamvu kukunika ukuqonda okusheshayo kobukhulu bayo.
Yini ixabiso elilinganiselwe?
Ibonisa i-factorial njenge-mantissa izikhathi ezingu-10, ukulinganiselwa okulula ukufunda okuboniswa eduze kwenani eliphelele elifanele.
API — sebenzisa le calculator kusuka kukhodi
Nquma le calculator njenge JSON evulekile yendawo yokuqeda - akukho isithonjana esidingekayo. Thumela amaxabiso endawo ngezansi njengezilungiselelo zombuzo noma i-JSON. Noma yini ongayishiya isebenzisa iphutha elifanayo elifakwe ngaphambili lekhasi; ipharamitha engaziwa yi-400, ayikho i-zero emnyama. Funda i-API egcwele →
Ingxenye yendawo
GET https://calculator.free/api/v1/factorial/
curl
curl "https://calculator.free/api/v1/factorial/?n=5"
JavaScript fetch()
const r = await fetch(
"https://calculator.free/api/v1/factorial/?" + new URLSearchParams({
"n": "5"
}));
const data = await r.json();
console.log(data.results);
Izibalo ziyisilinganiso esisetshenziswa ukuqondisa kuphela, hhayi ukucebisa ngezimali, ukwelashwa noma ukukhokha.