Factor Calculator

Factors of 21

The factors of 21 are 1, 3, 7, and 21. In total, 21 has 4 factors. Its prime factorization is 3 × 7, and the sum of all its factors is 32.

All factors of 21

Here are all 4 factors of 21, listed from smallest to largest.

13721

Factor pairs of 21

These 2 pairs of whole numbers each multiply to give 21.

1 × 21 = 21
3 × 7 = 21

Prime factorization of 21

Dividing 21 by the smallest prime at each step gives its prime factorization:

21 ÷ 3 = 7
7 ÷ 7 = 1
Result: 21 = 3 × 7 = 3 × 7

The distinct prime factors of 21 are 3, 7. To factorize any other number, use the prime factorization calculator.

Factor tree of 21

A factor tree shows the same prime factorization visually. Each composite branch splits until every endpoint is a prime number.

Factor tree of 212137
Prime factors are shown in solid indigo. Composite numbers split into their smallest prime and the quotient.

Properties of 21

Number of factors4
Sum of factors32
Sum of proper factors11
Prime factorization3 × 7
Prime or composite?Composite
Even or odd?Odd
Perfect square?No
Perfect cube?No
ClassificationDeficient

What makes 21 interesting

  • 21 is a composite number, meaning it has more than two factors. It can be written as a product of smaller whole numbers in 2 different ways.
  • 21 is a deficient number: its proper factors sum to 11, which is 10 less than 21 itself.
  • 21 appears in the Fibonacci sequence, where each number is the sum of the two before it.
  • 21 is a triangular number — it is the sum of the first 6 whole numbers (1 + 2 + … + 6 = 21).

How to find the factors of 21 yourself

Divide 21 by each whole number starting from 1. Whenever the division leaves no remainder, both the divisor and the quotient are factors. You only need to test up to √214.58, because every factor above that pairs with one below it.

21 ÷ 1 = 21
21 ÷ 3 = 7

Reading both columns gives every factor: 1, 3, 7, 21. The factor calculator does this automatically for any number.

Frequently asked questions about 21

What are the factors of 21?

The factors of 21 are 1, 3, 7, and 21. That is 4 factors in total, counting both 1 and 21.

Is 21 a prime number?

No, 21 is not prime — it is a composite number with 4 factors. A prime number has exactly two factors, but 21 is also divisible by 3.

What is the prime factorization of 21?

The prime factorization of 21 is 3 × 7. Written out in full: 3 × 7 = 21. Its distinct prime factors are 3, 7.

What two numbers multiply to give 21?

There are 2 pairs of whole numbers that multiply to 21: 1 × 21, 3 × 7.

What is the sum of the factors of 21?

Adding all the factors of 21 together gives 32. Excluding 21 itself, the proper factors sum to 11.

Is 21 a perfect square?

No, 21 is not a perfect square. There is no whole number that multiplies by itself to give 21. The nearest perfect squares are 16 and 25.

What is the largest factor of 21 other than itself?

The largest factor of 21 apart from 21 itself is 7, since 21 ÷ 7 = 3.

How many factors does 21 have?

21 has 4 factors: 1, 3, 7, and 21. You can verify this from the prime factorization 3 × 7: add 1 to each exponent and multiply, giving 2 × 2 = 4.

Explore more

Try another number in the factor calculator, break 21 down further with the prime factorization calculator, or compare 21 with another number using the GCF calculator and LCM calculator. For divisor counts and sums, see the divisor calculator.