CalculatorCentral
/Math

Common Factor Calculator

Find the greatest common factor, least common multiple and all common positive factors.

Calculator inputs

Worked example: Common Factor Calculator

12 18 24. This fixed reference example shows one complete scenario; the interactive results above use your current inputs.

View the example inputs
Positive integers
12, 18, 24
Calculated results for the fixed example
Calculated quantityExample result
Greatest common factor6
Least common multiple72
Common factors1, 2, 3, 6

Working with integers, exact values and numerical representation

Keep integer arithmetic and decimal approximation separate

Factors, divisibility and many counting formulas require whole numbers. A decimal approximation to a fraction is a different representation from the exact fraction. Very large integers can also exceed the range in which ordinary floating-point numbers distinguish every neighboring integer.

Where a tool states that it uses exact integer or decimal arithmetic, read the supported operation and size limits. An integer division can return a quotient and remainder, while a decimal division can produce a truncated expansion. Neither should be mistaken for rounding unless the method says so.

Use the right base and notation

Binary, hexadecimal, Roman and ordinary decimal inputs follow different symbol conventions. A numeral can be valid in one representation and invalid in another. Leading signs, fractional parts and exponent notation are supported only when the form describes them.

Use the worked example to check the representation of both the input and output. A sequence tool follows the explicit rule you choose; a finite list does not identify a unique hidden pattern.

Formula and calculation method

Euclid’s algorithm finds GCF; LCM(a,b)=a/GCF(a,b)×b. Positive integers up to 1,000,000, at most 100 values.

Reference Sources

Frequently asked questions

How does this calculator work?

Euclid’s algorithm finds GCF; LCM(a,b)=a/GCF(a,b)×b. Positive integers up to 1,000,000, at most 100 values.

What assumptions should I check?

Check the units and definitions shown beside each input. Results use the values you enter.

Can I save or print this calculation?

Use Copy link with inputs to reproduce the scenario, Download results for a text record, or Print. Where a schedule is shown, its CSV download includes every row.