Factor & common factor finder

Factor & common factor finder: use first positive integer, second positive integer. Review the formula, worked example and calculation steps.

Inputs

Use the units shown
RESULT
—

Enter your values and select Calculate.

Formula & explanation
Positive factors divide n exactly; common factors divide gcd(a,b)

Variables & units

First positive integer
Numeric value · minimum 1, maximum 1000000000
Second positive integer
Numeric value · minimum 1, maximum 1000000000

Worked example

36 and 48 have common positive factors 1,2,3,4,6,12.

Assumptions

Positive whole numbers up to one billion. Zero has infinitely many divisors and is excluded.

Formula version 1.0.0. JavaScript floating-point arithmetic applies. Results display up to 6 decimal places; stored values retain available precision. Use the units shown.

Calculated on your device. Your latest 100 calculations stay in this browser.