Greatest Common Divisor Calculator

Enter positive integers
Common divisors=
Greatest common divisor=

About the Common Factor Calculator

The common factor calculator is a simple online tool that computes the common divisors and the greatest common divisor (GCD) of multiple positive integers. Enter a set of numbers to quickly get the list of their common divisors and the GCD. It is useful for math study, algorithm verification, or everyday calculations.

How to Use

  1. Enter numbers: type multiple positive integers in the input box, separated by spaces, commas, or semicolons (e.g., 12, 18, 24 or 12 18 24).
  2. Calculate: click the "Calculate" button. The tool automatically computes and shows: common divisors (all divisors shared by the numbers, e.g., 1, 2, 3, 6) and the GCD (the largest common divisor, e.g., 6).
  3. Copy the result (optional): click the "Copy" button to copy the result to the clipboard.
  4. Click the "Example" button to auto-generate a random set of numbers (e.g., 15, 30, 45).