Private 1-to-1 maths & English lessons online · UK · Ireland · UAE · Australia · Canada · worldwide
Online · One-to-one · English or Russian
Number

HCF and LCM calculator (GCF, GCD)

Find the highest common factor and lowest common multiple of several numbers, with steps.

  • Private 1-to-1 lessons
  • Maths in English or Russian
  • Online, from anywhere
Student solving maths problems
In short: this HCF and LCM calculator (also GCF and GCD) takes two or more whole numbers and gives the highest common factor, the lowest common multiple, the prime factorisation and a check using the Euclidean algorithm.
Calculator

HCF and LCM calculator

Enter two or more whole numbers, separated by spaces or commas.

Use the calculator to check your work. Try the problem yourself first, then compare your steps with the calculator's steps.

How it works

HCF and LCM using prime factors

1. Prime factors

For example 24 = 2³ · 3 and 36 = 2² · 3².

2. HCF

Take the common prime factors with the lowest powers: 2² · 3 = 12.

3. LCM

Take all prime factors with the highest powers: 2³ · 3² = 72.

HCF(a, b) · LCM(a, b) = a · b

HCF is also called GCF (greatest common factor) or GCD (greatest common divisor). It is used to simplify fractions. The LCM is used to find a common denominator.

Короткие ответы

Frequently asked questions

What is the HCF?

The highest common factor is the largest number that divides all the given numbers exactly. It is also called the GCF or GCD.

What is the LCM?

The lowest common multiple is the smallest number that all the given numbers divide into.

What are HCF and LCM used for?

HCF is used to simplify fractions. LCM is used to find a common denominator.

Can I enter more than two numbers?

Yes. Enter several whole numbers separated by spaces or commas, each up to 1,000,000,000.

Get started

Need help with factors and multiples?

Tell us the year or grade and what feels hard, and we will suggest a plan.

Book a trial lesson
You will hear back at the contact you provide.
Book a trial lesson