40,320
40,320 is 8 factorial — the number of ways to arrange eight distinct objects.
- Even
- Composite
Where 40,320 fits
Why 40,320 is special
40,320 is where factorial growth becomes hard to picture. Eight objects have forty thousand orderings; nine have over three hundred thousand. It is the number of possible orders for a chess rank's eight pieces if all were distinct, and the reason exhaustive search stops being viable so quickly as problems grow.
Factors & digit properties
- Divisors (96)
- 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 12, 14, 15, 16, 18, 20, 21, 24, 28, 30, 32, 35, 36, 40, 42, 45, 48, 56, 60, 63, 64, 70, 72, 80, 84, 90, 96, 105, 112, 120, 126, 128, 140, 144, 160, 168, 180, 192, 210, 224, 240, 252, 280, 288, 315, 320, 336, 360, 384, 420, 448, 480, 504, 560, 576, 630, 640, 672, 720, 840, 896, 960, 1008, 1120, 1152, 1260, 1344, 1440, 1680, 1920, 2016, 2240, 2520, 2688, 2880, 3360, 4032, 4480, 5040, 5760, 6720, 8064, 10080, 13440, 20160, 40320
- Prime factorisation
- 2^7 × 3^2 × 5 × 7
- Digit sum
- 9
- Digital root
- 9
Representations
- Decimal
- 40320
- Binary
- 1001110110000000
- Octal
- 116600
- Hexadecimal
- 9d80
- Scientific notation
- 4.032 × 10^4
Other mathematical patterns
- Abundant number
- Factorial number
- Harshad (Niven) number
Related numbers & connections
362,880 is 9!, nine times 8!. It is also the number of ways to fill one row of a Sudoku grid with the digits 1 to 9.
View 362880 →Mathematics
Eight items have 40,320 orderings, nine have 362,880, and ten have over three and a half million. That growth is why brute-forcing arrangements is viable for tiny inputs and hopeless immediately after — the practical reason so much of computer science is about avoiding enumeration.
DocumentedMathematics
Common questions
Is 40,320 a prime number?
No, 40,320 is not prime.
What are the factors of 40,320?
The factors of 40,320 are 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 12, 14, 15, 16, 18, 20, 21, 24, 28, 30, 32, 35, 36, 40, 42, 45, 48, 56, 60, 63, 64, 70, 72, 80, 84, 90, 96, 105, 112, 120, 126, 128, 140, 144, 160, 168, 180, 192, 210, 224, 240, 252, 280, 288, 315, 320, 336, 360, 384, 420, 448, 480, 504, 560, 576, 630, 640, 672, 720, 840, 896, 960, 1008, 1120, 1152, 1260, 1344, 1440, 1680, 1920, 2016, 2240, 2520, 2688, 2880, 3360, 4032, 4480, 5040, 5760, 6720, 8064, 10080, 13440, 20160, 40320.
About this page's data
Mathematical facts:computed directly from the number's value — nothing to source or verify externally.
Contextual records: 1 reviewer-confirmed record, sourced and reviewed before publication.
Last reviewed: 3 August 2026