Divisors of 40: All 8 Factors

Quick Answer

40 has 8 divisors (factors): 1, 2, 4, 5, 8, 10, 20, 40.

Sum: 90.

Divisors (Factors) Calculator


  Ex.: 12, 36, 100, 1024, 1728, etc.
8 divisors
1, 2, 4, 5, 8, 10, 20, 40

Use the calculator above to find all divisors (also called factors) of any positive integer up to 4,782,969. Beyond the divisor list, this tool also shows divisor pairs, the sum and count of divisors, prime factorization, and number properties (prime, perfect square, perfect number).

All Divisors of 40

The number 40 has 8 divisors:

1,  2,  4,  5,  8,  10,  20,  40

Divisor Pairs of 40

Each pair multiplies to 40:

Factor 1×Factor 2=Product
1×40=40
2×20=40
4×10=40
5×8=40

Number of Divisors

The number 40 has 8 divisors, written as τ(40) = 8 in number theory.

Sum of Divisors

σ(40) = 1 + 2 + 4 + 5 + 8 + 10 + 20 + 40 = 90

Properties of 40

  • 40 is composite.
  • 40 is not a perfect square.
  • Number of divisors: 8.
  • Sum of divisors: 90.

Common Divisors with Another Number?

Looking for the divisors that 40 shares with another number? Use our Greatest Common Factor (GCF) calculator — it finds all common divisors and the largest one.

Step-by-Step: How to Find the Divisors of 40

An efficient way to find divisors uses the complementary pair trick: check each integer i from 1 to √40 ≈ 6.32. If i divides 40, then both i and 40/i are divisors.

  1. 1 divides 40 (40 ÷ 1 = 40) → pair (1, 40)
  2. 2 divides 40 (40 ÷ 2 = 20) → pair (2, 20)
  3. 4 divides 40 (40 ÷ 4 = 10) → pair (4, 10)
  4. 5 divides 40 (40 ÷ 5 = 8) → pair (5, 8)
  5. Collect all unique values: {1, 2, 4, 5, 8, 10, 20, 40} — total 8 divisors.
  6. Sum: 1 + 2 + 4 + 5 + 8 + 10 + 20 + 40 = 90.

Nearby Examples

ndivisors countsum σ(n)
36991
4810124
30872
24860
6012168
12628
7212195
6412

Related Operations for 40

What Is a Divisor?

A divisor (also called a factor) of a positive integer n is any positive integer d such that n ÷ d has no remainder. In other words, d divides n evenly.

Every positive integer n has at least two divisors: 1 and n itself (with 1 being the trivial case of having only itself). Numbers with exactly 2 divisors are prime; numbers with 3 or more divisors are composite.

Why use this calculator? Beyond just listing divisors, this tool computes the sum σ(n), the count τ(n), prime factorization, divisor pairs (useful for visual learners and factoring problems), and detects whether n is a prime, a perfect square, or a perfect number.

Divisors Calculation Examples

Find all divisors of these numbers:

Related Calculators