Find the HCF (GCD) and LCM of two or more numbers, with Euclid’s division algorithm shown step by step.
Loading tool…
Every result is calculated by tested code (not AI). Fractions and equations are exact.
How to use
- Enter the numbers separated by commas.
- Press Calculate.
- Follow Euclid’s steps.
Formula
$\text{HCF}(a,b) \times \text{LCM}(a,b) = a \times b$
Level: School (Classes 5–10) · Topic: Number theory
Frequently asked questions
What is Euclid’s division algorithm?
Repeatedly divide and replace (a, b) with (b, remainder) until the remainder is 0; the last divisor is the HCF.
Does HCF × LCM = product work for three numbers?
No, only for two numbers.
Related tools
Number theoryPrime factorisationFactorise numbers up to 10¹² with division steps.Number theoryPrime factor treeDraw the factor tree of any number up to a million.ArithmeticFraction visualiserSee fractions as pies and bars, compare them and add them.ArithmeticInteger number lineAdd and subtract integers as animated jumps on a number line.GeometryTriangle explorerDrag the corners: angles, sides, area and type update live.GeometryPythagoras theoremSquares on the sides of a right triangle — see a² + b² = c².