Skip to content
WPToolsHub
Ireland ยท Math

LCM and HCF Calculator IE

Find the LCM (lowest common multiple) and HCF/GCD (highest common factor) of two or more whole numbers instantly.

LCM
โ€”

How it works

Enter two or more whole numbers separated by commas. The calculator returns both the lowest common multiple (LCM) and the highest common factor (HCF, also called the GCD).

Frequently asked questions

What is the LCM?

The least common multiple is the smallest number that two or more numbers all divide into exactly. The LCM of 12 and 18 is 36.

What is the HCF?

The highest common factor (also called GCD or GCF) is the largest number that divides the given numbers exactly. The HCF of 12 and 18 is 6.

How do I find the LCM?

Break each number into prime factors and multiply the highest power of every prime that appears in any of them.

How do I find the HCF?

Find the prime factors common to all the numbers and multiply them together.

What is the relationship between LCM and HCF?

For two numbers, LCM ร— HCF equals the product of the numbers โ€” a quick way to check your result.

What is the difference between LCM and HCF?

The HCF is the largest factor shared by the numbers; the LCM is the smallest multiple they all share.

lcm hcf calculatorlcm calculatorhcf calculatorgcf calculatorleast common multiplehighest common factor

LCM & HCF Calculator

This calculator finds the LCM (least common multiple) and HCF (highest common factor, also called GCD or GCF) of two or more numbers.

What they mean

The HCF is the largest number that divides all of them exactly. The LCM is the smallest number that all of them divide into exactly.

Using prime factors

Break each number into prime factors. The HCF multiplies the primes they share; the LCM multiplies the highest power of every prime that appears.

Worked example

For 12 (2ยฒร—3) and 18 (2ร—3ยฒ): HCF = 2ร—3 = 6, and LCM = 2ยฒร—3ยฒ = 36.

A handy shortcut

For two numbers, LCM ร— HCF = the product of the numbers. Here 6 ร— 36 = 216 = 12 ร— 18, which is a quick way to check your answer.

Results are estimates for general guidance in Ireland and may not reflect the latest local rates, fees or rules. Check official sources before making decisions.