GCD and LCM Calculator
Find the GCD (HCF) and LCM of two or more whole numbers, with each number’s prime factors and Euclid’s method step by step.
Runs in your browser. Nothing leaves this device.
Open GCD and LCM Calculator
Free, no account, no watermark and no daily limit.
How to use GCD and LCM Calculator
- 1Type two or more whole numbers, separated by commas or spaces.
- 2Read the GCD and LCM.
- 3See the prime factors of each number and the steps of Euclid’s method.
Questions
Are GCD and HCF the same?
Yes. Greatest common divisor and highest common factor are two names for the biggest number that divides them all.
How does Euclid’s method work?
Divide the bigger number by the smaller and keep the remainder. Repeat with the smaller number and the remainder. The last non-zero remainder is the GCD.
How big can the numbers be?
Any size for GCD and LCM. Prime factors are found quickly for most numbers up to about 20 digits; a very large number with two big prime factors may be too slow to split, and the page says so.
Is it free?
Yes. No account, no watermark and no daily limit.
Related tools
- StudyPrime Number CheckerCheck whether a number is prime, see its prime factorisation, find the next and previous prime, and list every prime in a range.
- StudyAttendance CalculatorFind your attendance percentage, how many classes you can still miss and stay at 75%, or how many you must attend in a row to get back to it.
- StudyCGPA & GPA CalculatorWork out your SGPA and CGPA on the Indian 10-point scale, or your GPA on the US 4.0 scale, weighted by credits.
- StudyCGPA to Percentage ConverterConvert a CGPA to a percentage, or a percentage to a CGPA, with the CBSE, AICTE, Mumbai University or plain formula.
- StudyCitation Generator (APA, MLA, IEEE, Harvard, Chicago)Make references in APA 7, MLA 9, IEEE, Harvard and Chicago for books, articles, chapters and web pages, and keep a bibliography.
- StudyClass Timetable MakerMake a weekly class timetable with your own days, periods and breaks. Subjects get colour tags. Save it as a PNG or print it.