MATH

Factor Calculator

Factor: Positive integers only.

SET UP FOR YOUR COUNTRY Country preferences

Factor Calculator for United States

US · 12,345.67US customary measurementsRoad distance: miles

United States display and unit preferences. The stated calculation method is used. Review the labeled units before entering your values.

Switch countries to open a separate scenario. Your edits are kept while this calculator is open; use Save scenario to keep them on this device.

Your details

Separate whole numbers with spaces or commas. Maximum individual value: 10¹².

Factors

1, 2, 3, 4, 5, 6, 8, 9, 10, 12, 15, 18, 20, 24, 30, 36, 40, 45, 60, 72, 90, 120, 180, 360

United States · calculated from your inputs

Factor count24
Your calculation, beautifully packaged.Download a report with this result, your inputs, the formula, and assumptions.

How this result was calculated

  1. Use Euclid's algorithm for the greatest common factor; lcm(a,b) = |ab| / gcd(a,b). Trial divisors yield factors.
  2. Country setup: United States. Displayed measurements are converted to the formula's base units internally.

Assumption: Positive integers only. Factor listing is limited to inputs up to 10¹². United States display and unit preferences. The stated calculation method is used. Review the labeled units before entering your values.

Calculation version 1.0.0 · Support state: generic

Formula and method

Use Euclid's algorithm for the greatest common factor; lcm(a,b) = |ab| / gcd(a,b). Trial divisors yield factors.

This calculation uses the values you enter. It runs in your browser and does not request a location or account.

Worked example

The greatest common factor of 12 and 18 is 6.

Questions people ask

Which method does this tool use?

Use Euclid's algorithm for the greatest common factor; lcm(a,b) = |ab| / gcd(a,b). Trial divisors yield factors.

What should I check before using the result?

Positive integers only. Factor listing is limited to inputs up to 10¹².