Number dictionary · Exact arithmetic

40: factors and number facts

forty is an even number and is composite. Its 8 positive divisors form 4 factor pairs.

Number JD Editorial Team · Updated 2026-10-08

In words
forty
Roman numeral
XL
Prime factorization
2^3 × 5
Digital root
4

All factors of 40

A positive factor divides 40 with no remainder. In ascending order, the complete list is:

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

Factor pairs

  • 1 × 40 = 40
  • 2 × 20 = 40
  • 4 × 10 = 40
  • 5 × 8 = 40

Each pair describes an arrangement of 40 items into equal rows. The pairs have different row and column counts; 40 cannot make a square array of whole items.

Divisor totals

Positive divisors
8
Sum of all divisors
90
Sum excluding 40
50
Classification
abundant

40 is abundant because its proper divisors add to 50, which is greater than 40.

Understand factors and multiples

Prime factorization of 40

40 = 2^3 × 5

Repeated division, step by step

  1. 40 ÷ 2 = 20
  2. 20 ÷ 2 = 10
  3. 10 ÷ 2 = 5
  4. 5 ÷ 5 = 1

Multiply the prime divisors in these steps to reconstruct 40. An exponent records how many times the same prime occurs. The divisor-count calculation is (3 + 1) × (1 + 1) = 8.

The preceding prime is 37. The next larger prime is 41. The factor list above explains why 40 is composite.

Learn the factorization method

40 in words, Roman numerals and other bases

Equivalent representations of the integer 40
RepresentationValue
English (US style)forty
Roman numeralXL
Binary (base 2)101000
Octal (base 8)50
Decimal (base 10)40
Hexadecimal (base 16)28

Check the binary conversion

Read 101000 from right to left using place values 1, 2, 4, 8 and successive powers of two. Keep the values whose bit is 1:

32 + 8 = 40

Check the hexadecimal conversion

2 × 16^1 + 8 × 16^0 = 40

Hexadecimal uses A through F for digit values 10 through 15. These notations represent the same quantity; changing the base does not change the integer.

Square, cube and square root of 40

40 squared
40 × 40 = 1,600
40 cubed
40 × 40 × 40 = 64,000
Square root
≈ 6.324555
Simplified radical
2√10

40 lies between 36 (6²) and 49 (7²), so it is not a perfect square. It is not a perfect cube.

40 is not triangular: no positive whole-number k satisfies k(k + 1) / 2 = 40.

Distinguish a square from a square root

Multiplication table for 40

These are the first twelve positive multiples. Unlike the finite factor list, the sequence of multiples continues without an upper limit.

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

Divisibility checks

Quotients and remainders for divisors 2 through 12
Divide byWhole quotientRemainderDivides exactly?
2200Yes
3131No
4100Yes
580Yes
664No
755No
850Yes
944No
1040Yes
1137No
1234No

For example, 40 = 7 × 5 + 5. A remainder of zero is what makes a divisor a factor.

Digit sum and digital root of 40

40 contains 2 decimal digits. Its digit sum is 4 + 0 = 4.

  1. 40: 4 + 0 = 4

The digital root is 4. Reversing its digits gives 04; it is not a decimal palindrome. Digit patterns depend on the notation being used.

Digital-root arithmetic always finishes at a single digit for a positive integer. Some numerology methods stop at 11, 22 or 33 instead; that is a separate interpretive convention.

Fractions and a worked comparison

As a fraction of 100, 40/100 simplifies to 2/5 by dividing both terms by their greatest common divisor, 20. Its decimal value is 0.4.

The greatest common divisor of 40 and 12 is 4. Their least common multiple is 120. The identity GCD × LCM = 40 × 12 = 480 checks both results.

Work through GCF and LCM

Questions about 40

What are the factors of 40?

The positive factors are 1, 2, 4, 5, 8, 10, 20, 40. There are 8 factors, including 1 and 40.

Is 40 a prime number?

No. 40 is composite: 2^3 × 5 = 40.

How do you write 40 in Roman numerals?

40 is XL in standard subtractive Roman numeral notation.

What is the binary representation of 40?

40 in decimal is 101000 in base 2. Adding its active place values gives 32 + 8 = 40.

Methods and reference definitions

Number JD calculates each result from the integer on this page. Positive factors are enumerated in pairs; repeated division gives the prime factorization; place values verify base conversions. Decimal square roots are rounded to six places when irrational.

Editorial policy · Report a calculation issue

NUMBER JOURNAL / JD

A reflective note on 40

Meaning varies by tradition and personal experience. One sighting is not evidence of what will happen next.

The digits of 40 add to 4. That arithmetic result is separate from the cultural symbolism of the pattern. If this number matters to you, write down what you noticed and choose one grounded action rather than treating the sighting as a prediction.