Factor Calculator

List all the factors of a positive whole number.

Reset

Understanding factors

A factor is a number that divides another number exactly, with nothing left over. The factors of 12 are 1, 2, 3, 4, 6 and 12, because each of those divides 12 cleanly. That sounds like a school exercise, but factors are the quiet machinery behind a surprising amount of everyday maths.

Formula and method

d is a factor of n if n mod d = 0

A number d is a factor of n if n ÷ d leaves no remainder — that is, n mod d = 0. The pairing method: test divisors d starting from 1 upward. Each time d divides n, record both d and n ÷ d as factors. Stop when d passes √n, because beyond that point every factor is the partner of one already found. Factor pairs: pairs (d, n ÷ d) whose product is n. For 48, the pairs are (1, 48), (2, 24), (3, 16), (4, 12) and (6, 8). Factor count: the number of factors in the complete list. A prime number has exactly 2 factors. A perfect square has an odd count, because its square root pairs with itself — 36 has 9 factors, with (6, 6) as its middle pair. Greatest common factor (GCF): the largest number in both factor lists. Least common multiple (LCM): the smallest number both numbers divide into; for 48 and 60 it is 240.

Worked example

Example 1 — The factors of 48 Test divisors from 1 upward, recording each factor and its partner: 1 divides 48 → partner 48; 2 divides 48 → partner 24; 3 divides 48 → partner 16; 4 divides 48 → partner 12; 5 does not divide 48; 6 divides 48 → partner 8 √48 is about 6.93, so testing stops after 6 — every larger factor is a partner already found (7 does not divide 48, and 8, 12, 16, 24 and 48 are all partners above) Factors of 48: 1, 2, 3, 4, 6, 8, 12, 16, 24, 48 — 10 factors Factor pairs: (1, 48), (2, 24), (3, 16), (4, 12), (6, 8) Sum of the factors: 1 + 2 + 3 + 4 + 6 + 8 + 12 + 16 + 24 + 48 = 124 If 48 chairs must sit in equal rows, the possible row counts are exactly these ten numbers — 6 rows of 8 is one option, 8 rows of 6 is the same arrangement turned around.