UtilVox
calculate

LCM & GCF Calculator — Free Online Math Tool

Find the Least Common Multiple and Greatest Common Factor with high-precision engineering steps.

4 Numbers detected
Greatest Common Factor
6

GCF of 12, 18, 24, 36

Least Common Multiple
72

LCM of 12, 18, 24, 36

account_treeEuclidean Algorithm Breakdown

Finding the GCF of the two largest numbers (18 and 12) using sequential division.

18 = 1 × 12 + 6
Next: GCF(12, 6)
12 = 2 × 6 + 0
Remainder is 0. GCF is 6.

table_chartPrime Factorization Analysis

NumberExpanded FormPower Form
122 × 2 × 322 × 3
182 × 3 × 32 × 32
242 × 2 × 2 × 323 × 3
362 × 2 × 3 × 322 × 32

LCM is calculated by selecting the highest power of each prime factor detected.

Advertisement
728x90

Frequently Asked Questions

LCM and GCF: The Two Questions About Shared Structure

Which one does your problem need?

They answer opposite questions about the same numbers:

Problem smells like...You needExample
When do cycles align / repeat together?LCMBuses every 12 and 18 min meet every 36
Largest equal grouping / cutting?GCFLargest tile fitting 12×18 ft: 6 ft
Common denominator for fractionsLCM of denominators1/6 + 1/8 → 24ths
Simplifying a fractionGCF of both parts18/24 ÷ 6 → 3/4
Splitting items into identical setsGCF36 pens, 48 pencils → 12 identical kits

The relationship worth remembering

For two numbers, LCM × GCF = the numbers' product — compute one and the other follows. Both are built from prime factorizations: GCF takes the shared primes at lowest powers, LCM takes all primes at highest powers. Seeing 36 = 2²·3² and 48 = 2⁴·3 makes GCF (2²·3 = 12) and LCM (2⁴·3² = 144) readable rather than mysterious.

Built on primes

The factorization underneath comes from the prime factorization tool, and the most common application — fraction arithmetic — runs in the fraction calculator with steps shown.