Skip to content
Design Corner Knowledge Base ← Back to designcorner.co.ke
Knowledge Base

Software and Development

Factorial

1 min read Updated November 10, 2026

Definition A factorial, written with an exclamation mark, is the product of all whole numbers from 1 up to a given number, so 5! equals 120.

What it is

It counts the number of ways to arrange items in order. The results grow extremely fast as the number rises.

Why it matters for your business

It explains why trying every possible ordering or combination, such as in a brute-force password attack, quickly becomes impractical. It is also the maths behind many scheduling and arrangement problems.

Real-world example

Seating 8 guests in a row can be done in 40,320 ways, but 15 guests can be seated in over a trillion ways.

Design Corner tip

Use long, varied passwords, because the number of possible combinations grows explosively with each extra character.