Menu

Factors of 40

40 has 8 factors: 1, 2, 4, 5, 8, 10, 20 and 40. This page shows the pairs that multiply to make 40, its factor tree, the divisibility rules it passes, its multiples and its square root, with the working for each one.

Written by Nethanel Bar, Co-founder & CEO

All 8 factors of 40

12458102040

8 factors

Strictly, every factor also has a negative twin, because two negative numbers multiply to a positive one. School questions almost always mean the positive factors, which is what this page lists.

Factor pairs
1 × 40, 2 × 20, 4 × 10 and 5 × 8
Prime factorization
40 = 2³ × 5

Why these are the factors of 40

Two numbers form a factor pair of 40 when 40 squares can be arranged into a rectangle with those side lengths and none left over. 40 makes 4 such rectangles, and the factor list is simply their side lengths written down. Tap a pair to build it.

Factor pairs
5 × 8 = 404 rectangles in all

The factor tree of 40

Split 40 into any two factors, then keep splitting until only primes are left. The bottom row gives 40 = 2 × 2 × 2 × 5. Try a different first split: the tree changes shape, but it always ends on the same primes. Click any circled number to split it another way.

4022021025

40 = 2 × 2 × 2 × 5

However you split it, the bottom row stays the same. Every number has exactly one prime factorization.

Divisibility rules, checked against 40

Most factors of 40 can be found without dividing. Each rule below looks at one small part of the number, such as the last digit or the digit sum, and each row shows the exact value the rule checks, so you can verify it yourself.

Divisibility rules, checked against 40
RuleIt looks atVerdict
2The last digit is even. Here it is 0.Yes: 40 ÷ 2 = 20
3The digits add up to a multiple of 3. Here they add to 4.No: 40 ÷ 3 leaves remainder 1
4The last two digits form a multiple of 4. Here they are 40.Yes: 40 ÷ 4 = 10
5The last digit is 0 or 5. Here it is 0.Yes: 40 ÷ 5 = 8
6It passes both the 2 rule and the 3 rule.No: 40 ÷ 6 leaves remainder 4
7Double the last digit and subtract it from the rest. Here that gives 4.No: 40 ÷ 7 leaves remainder 5
8The last three digits form a multiple of 8. Here they are 40.Yes: 40 ÷ 8 = 5
9The digits add up to a multiple of 9. Here they add to 4.No: 40 ÷ 9 leaves remainder 4
10The last digit is 0. Here it is 0.Yes: 40 ÷ 10 = 4
11Add and subtract the digits alternately from the right. Here that gives -4.No: 40 ÷ 11 leaves remainder 7

Multiples of 40

Multiples run in the other direction: they are the numbers 40 divides into exactly. The list starts 40, 80, 120, 160, 200, 240 and goes on forever, growing by 40 each step. Every multiple of 40 has 40 in its own factor list.

40 × 140
40 × 280
40 × 3120
40 × 4160
40 × 5200
40 × 6240
40 × 7280
40 × 8320
40 × 9360
40 × 10400
40 × 11440
40 × 12480

The square root of 40

√40 is not a whole number, because 40 sits between the perfect squares 36 and 49. Its exact simplified form is 2√10: the square factor moves out from under the root sign. The decimal 6.324555 is a rounded approximation, not the exact value.

Exact40 = 2√10
Rounded6.324555

Everything else about 40

Even or oddEven
Prime or compositeComposite
Number of factors8, which matches the rule from 2³ × 5: add one to each exponent and multiply.
Factors added together90
Compared with its own factorsAbundant: the factors below 40 add up to 50, which is more than 40
Numbers below it sharing no factor16 of the numbers from 1 to 40 share no factor with 40
40 squared1600
40 cubed64000
A perfect square?No
A perfect cube?No
A triangular number?No
Nearest primes37 below, 41 above
In binary101000
In hexadecimal28
As a Roman numeralXL

Find the factors of 40 yourself

The answers are hidden here on purpose. Type the factors one at a time; any number that divides 40 exactly counts, including 1 and 40 itself.

0 of 8 found

Frequently asked questions

What are the factors of 40?
40 has 8 factors: 1, 2, 4, 5, 8, 10, 20, 40. Each one divides 40 exactly, with no remainder.
Is 40 a prime number?
No, 40 is a composite number. It divides exactly by 2 as well as by 1 and itself, which gives it 8 factors in total.
What is the prime factorization of 40?
40 = 2 × 2 × 2 × 5, which is 2³ × 5 in exponent form. Whichever pair you split 40 into first, the factor tree always ends at these same primes.
What are the factor pairs of 40?
There are 4: 1 × 40, 2 × 20, 4 × 10 and 5 × 8. Each pair is a rectangle of 40 squares, with those two numbers as its sides.
What is the square root of 40?
√40 is irrational. Its exact simplified form is 2√10; as a decimal it is about 6.324555, which is a rounding rather than the exact value. 40 lies between the perfect squares 36 and 49.
How many factors does 40 have?
8. You can read this off the prime factorization 2³ × 5 without listing anything: add one to each exponent and multiply the results.

Related numbers

Factors of 40 with a page of their own
Multiples of 40 with a page of their own
Coddy programming languages illustration

Learn the math behind the answer

GET STARTED