HCF and LCM Calculator
Use the HCF and LCM to work through hCF and LCM from the values you enter. Review the notes below the result so you understand what the figure represents.
HCF and LCM
—
✉ Email me this result
</> Embed this calculator
Paste this into any website or blog post. It is free — the small "powered by" link must stay visible.
How it works
HCF × LCM = a × b. HCF is the product of common prime factors, LCM of all prime factors to the highest power.How to use the HCF and LCM
Enter the requested values and start with one realistic example. Read the result together with its unit or label, then change one input at a time if you want to compare options.
Review the assumptions on the page and confirm any result that affects money, safety, technical work or another important decision.
Frequently Asked Questions
What is the difference?
The HCF is the largest number that divides both. The LCM is the smallest number both divide into.
What information should I enter?
Use the input labels as a guide and enter figures from the same situation, time period and units wherever possible.
Can I use the result as an exact answer?
Treat it as an estimate or check unless the page and the rules that apply to you confirm otherwise. Rounding, fees and personal details can change the final result.