GCF and LCM of 27 and 45

The GCF of 27 and 45 is 9. The LCM of 27 and 45 is 135.

Method 1: list the factors (GCF)

Factors of 27: 1, 3, 9, 27.
Factors of 45: 1, 3, 5, 9, 15, 45.
Common factors: 1, 3 and 9. The greatest of these is 9.

Method 2: prime factorization

27 = 3 × 3 × 3
45 = 3 × 3 × 5

GCF: multiply the prime factors both numbers share: 3 × 3 = 9.

LCM: multiply every prime the maximum number of times it appears in either number: 3 × 3 × 3 × 5 = 135.

Method 3: Euclidean algorithm (GCF)

Divide the larger number by the smaller and repeat with the remainder until it is 0. The last non-zero remainder is the GCF.

  1. 45 = 1 × 27 + 18
  2. 27 = 1 × 18 + 9
  3. 18 = 2 × 9 + 0

The last non-zero remainder is 9, so GCF(27, 45) = 9.

LCM by listing multiples

Multiples of 27: 27, 54, 81, 108, 135, 162, ...
Multiples of 45: 45, 90, 135, 180, ...
The first number in both lists is 135.

Check: GCF × LCM = product

9 × 135 = 1,215 = 27 × 45. This always holds for two numbers, so you can find the LCM as (27 × 45) ÷ 9 = 135.

Simplifying the fraction 27/45

Divide the top and bottom by the GCF 9: 27/45 = 3/5.

GCF and LCM of similar pairs

NumbersGCFLCM
2 and 27154
3 and 27327
4 and 271108
5 and 271135
6 and 27354
7 and 271189
2 and 45190
3 and 45345
4 and 451180
5 and 45545
6 and 45390
7 and 451315

See also: factors of 27 · factors of 45.

Different numbers? Use the GCF and LCM calculator (any amount of numbers) or browse all GCF and LCM pairs.