GCD & LCM Calculator
Find the greatest common divisor and lowest common multiple of any set of numbers.
To find the GCD and LCM, enter two or more whole numbers separated by commas. The greatest common divisor is computed with the Euclidean algorithm and the lowest common multiple is derived from it, along with the simplified ratio of your inputs.
Runs in your browser- Privacy
- Runs entirely in your browser — nothing is uploaded
- Cost
- Free, unlimited, no sign-up
Frequently asked questions
What is the Euclidean algorithm?
How are GCD and LCM related?
How to use the gcd & lcm calculator
- 1Enter or paste your numbers.
- 2The result appears immediately — copy or download it.
Embed this tool
Put the working gcd & lcm calculator on your own site. It runs in your visitors' browsers exactly as it does here — free, no account, nothing uploaded.
Share this tool
Related tools
Prime Number Checker & FactoriserCheck whether a number is prime and see its full prime factorisation.Fraction CalculatorAdd, subtract, multiply and divide fractions, with the result simplified.Ratio CalculatorSimplify ratios, scale them, and solve for a missing value in a proportion.Exponent, Root & Logarithm CalculatorCalculate powers, nth roots, logarithms in any base, and exponentials.Percentage CalculatorWork out percentages, percentage change and reverse percentages with the working shown.Permutation & Combination CalculatorCalculate nPr, nCr and factorials for counting and probability problems.
Last updated
More calculators