Factorial Calculator

Work out a factorial with this free factorial calculator.

Runs in your browser — nothing is uploaded

Choose the units or currencies below, then convert. The maths runs on your device.

    Your result will appear here.

    Free, no account, no sign-up. Nothing is uploaded. Everything runs on your device.

    Work out a factorial with this free factorial calculator. Type a whole number and it returns n factorial — the product of every whole number from 1 up to n. Five factorial is 120, ten factorial is 3,628,800, and zero factorial is 1 by definition, which is the convention that makes the counting formulas work. The answer is computed exactly with whole-number arithmetic, so even 20 factorial comes back as the exact 2,432,902,008,176,640,000 rather than a rounded estimate. Factorials are defined only for whole numbers of zero or more, so negatives and decimals are refused with a clear error. Numbers above 170 are also refused, because 171 factorial is larger than the biggest number this kind of calculation can display. Within that range the result is exact, however large. Use it for permutations, combinations, and probability, where factorials are the building blocks: the number of ways to arrange a set, or the number of ways to choose from one. Your number never leaves the page — the maths runs entirely in your browser, free, with nothing to install.

    How to use Factorial Calculator

    1. Enter a value type a number into the box above.
    2. Fill in the options set the units, currencies or values the tool asks for below the box.
    3. Click Convert the maths runs entirely in your browser — nothing is uploaded.
    4. Read your result it appears below the tool.
    5. Convert another change the value or the options — no sign-up, no limits.

    Format facts

    InputA number, plus the options below the box (units, currencies or values).
    EngineBuilt-in browser engine
    CategoryCalculators

    Frequently asked questions

    What is 5 factorial?

    120. Five factorial is 5 × 4 × 3 × 2 × 1.

    What is 0 factorial?

    1, by definition. It is the convention that makes the counting formulas work.

    How large a factorial can I calculate?

    Up to 170 factorial. Larger factorials are refused honestly, because the result is bigger than the largest number this kind of calculation can display.

    Why is the answer exact for 20 factorial?

    Because the calculator uses whole-number arithmetic, so 20 factorial comes back as the exact 2,432,902,008,176,640,000 rather than a rounded estimate.

    Is the factorial calculator free?

    Yes — free to use, with no account, no sign-up, and no limits on how often you use it.