How the HCF & LCM Calculator works
HCF uses Euclid's algorithm; LCM = a × b ÷ HCF, applied pairwise.
HCF and LCM with prime factors.
Formulas and rates last reviewed · How we check
Calculating…
For education only: Results are rough estimates, not a substitute for professional design, building codes or site checks. Consult a qualified engineer (a structural engineer for buildings, a licensed electrician for wiring) before buying materials or starting work.
HCF uses Euclid's algorithm; LCM = a × b ÷ HCF, applied pairwise.
12, 18 and 24
HCF and LCM of 12, 18, 24: HCF 6 · LCM 72
HCF 6, LCM 72.
Yes, highest common factor = greatest common divisor.
Only for two numbers.
Adding fractions, scheduling repeating events, and gear tooth calculations.
Mean, median, mode, SD and quartiles.
X% of Y, what percent, % change and add/subtract percentages in one tool.
Binary ↔ octal ↔ decimal ↔ hex with steps.
Roots, discriminant, vertex and graph.