ToolCabana

GCD and LCM calculator

Calculate common divisors and multiples for integer lists.

Favorites are saved in this browser. Find them in My favorites.

GCD and LCM calculator

Your input stays in this browser unless stated otherwise
Clear your input, files and result, and restore the default settings.
Load sample text to explore what this tool can do. This replaces your current input.
0 charactersClear the source text.

Тарзи истифода GCD and LCM calculator

The GCD and LCM calculator takes a list of whole numbers, such as 12, 18, 30, and returns their greatest common divisor and least common multiple. You can separate up to 200 numbers with commas, spaces or semicolons. Negative numbers are treated by absolute value, and the LCM is computed with big integers so large results stay exact.

  1. Paste the source into the input editor, or load the built-in example.
  2. Check the source format before running the operation.
  3. Run gcd and lcm calculator, review the output, then use the available copy or download controls.

Имкониятҳои ин абзор

Calculate common divisors and multiples for integer lists.

Маҳдудиятҳо ва коркард

Local bounded calculations. Numeric inputs must be finite and within the visible ranges. Lists and tables have operation-specific limits. Models, estimates and supplied rates must be checked against your intended use.

Манбаи мисол
12, 18, 30

Саволҳои маъмул

How do you find the GCD and LCM of 12, 18 and 30?

Enter 12, 18, 30. The calculator returns a GCD of 6 and an LCM of 180. It combines numbers one at a time, using the Euclidean algorithm for the GCD and LCM = a ÷ GCD(a, b) × b for the multiple.

Can I use zero or negative numbers?

Zero is rejected, since the calculator only accepts nonzero safe integers. Negative numbers are accepted and converted to their absolute values, so -12 and 18 give the same result as 12 and 18.

How many numbers can I enter at once?

Up to 200 integers, each within the safe integer range of about 9 quadrillion. Separate them with commas, spaces, semicolons or new lines. The LCM itself can grow larger than that range and is still shown exactly.

Where is my input processed?

This operation processes its source in your browser. Copy and download are explicit actions; source input is not saved in an account or history.

What are the input limits?

Local bounded calculations. Numeric inputs must be finite and within the visible ranges. Lists and tables have operation-specific limits. Models, estimates and supplied rates must be checked against your intended use.