Greatest common divisor and least common multiple of two or more numbers, with their prime factorisation.
How it works
The greatest common divisor (GCD, also called HCF) is the largest number that divides all of them exactly. The least common multiple (LCM) is the smallest number that all of them divide into.
With prime factors: the GCD takes the common factors with the lowest power and the LCM takes every factor with the highest power.
Frequently asked questions
What is the LCM used for?
Adding fractions (it’s the smallest common denominator) or finding when two cycles line up, like two bus timetables.
What is the GCD used for?
Simplifying fractions or splitting things into the largest possible equal groups.
More maths calculators
Scientific calculator — Sines, logarithms, powers, roots and factorials, with history.
Percentages — X% of an amount, what percentage, increases, decreases and change.
Rule of three — Direct and inverse proportion, with the working.
Fractions — Add, subtract, multiply, divide and simplify fractions.