Factor Calculator

Factors of 18

The factors of 18 are 1, 2, 3, 6, 9, and 18. In total, 18 has 6 factors. Its prime factorization is 2 × 3², and the sum of all its factors is 39.

All factors of 18

Here are all 6 factors of 18, listed from smallest to largest.

1236918

Factor pairs of 18

These 3 pairs of whole numbers each multiply to give 18.

1 × 18 = 18
2 × 9 = 18
3 × 6 = 18

Prime factorization of 18

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

18 ÷ 2 = 9
9 ÷ 3 = 3
3 ÷ 3 = 1
Result: 18 = 2 × 3 × 3 = 2 × 3²

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

Factor tree of 18

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

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

Properties of 18

Number of factors6
Sum of factors39
Sum of proper factors21
Prime factorization2 × 3²
Prime or composite?Composite
Even or odd?Even
Perfect square?No
Perfect cube?No
ClassificationAbundant

What makes 18 interesting

  • 18 is a composite number, meaning it has more than two factors. It can be written as a product of smaller whole numbers in 3 different ways.
  • 18 is an abundant number: its proper factors sum to 21, which is 3 more than 18 itself.

How to find the factors of 18 yourself

Divide 18 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 √184.24, because every factor above that pairs with one below it.

18 ÷ 1 = 18
18 ÷ 2 = 9
18 ÷ 3 = 6

Reading both columns gives every factor: 1, 2, 3, 6, 9, 18. The factor calculator does this automatically for any number.

Frequently asked questions about 18

What are the factors of 18?

The factors of 18 are 1, 2, 3, 6, 9, and 18. That is 6 factors in total, counting both 1 and 18.

Is 18 a prime number?

No, 18 is not prime — it is a composite number with 6 factors. A prime number has exactly two factors, but 18 is also divisible by 2.

What is the prime factorization of 18?

The prime factorization of 18 is 2 × 3². Written out in full: 2 × 3 × 3 = 18. Its distinct prime factors are 2, 3.

What two numbers multiply to give 18?

There are 3 pairs of whole numbers that multiply to 18: 1 × 18, 2 × 9, 3 × 6.

What is the sum of the factors of 18?

Adding all the factors of 18 together gives 39. Excluding 18 itself, the proper factors sum to 21.

Is 18 a perfect square?

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

What is the largest factor of 18 other than itself?

The largest factor of 18 apart from 18 itself is 9, since 18 ÷ 9 = 2.

How many factors does 18 have?

18 has 6 factors: 1, 2, 3, 6, 9, and 18. You can verify this from the prime factorization 2 × 3²: add 1 to each exponent and multiply, giving 2 × 3 = 6.

Explore more

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