happytails.ai

GCF calculator

Find the greatest common factor of a list of integers.

This tool uses exact integer arithmetic for up to 100 entries, each at most 100 digits. Negative values use their absolute magnitude. A list containing only zeros has no greatest positive factor. Separate whole numbers with commas, spaces or new lines. Results update as you type. Up to 1,000,000 characters.

Your result

Report a problem or share an idea.

How to use GCF calculator
  1. Enter whole numbers in the input field.
  2. The result updates as you type. Adjust the available settings if needed.
  3. Review the result, then use Copy result or a download link when available.

Useful next steps

How to use it

Separate your integers with commas, spaces or new lines. The result is the largest positive integer that divides every input without a remainder.

A worked example

The greatest common factor of 48 and 180 is 12. For -18, 24 and 0, the answer is 6.

What to know

This tool uses exact integer arithmetic for up to 100 entries, each at most 100 digits. Negative values use their absolute magnitude. A list containing only zeros has no greatest positive factor.