MATH · FREE TOOL
Factors, GCF & LCM calculator
Find exact greatest common factors, least common multiples, prime factors and divisors.
On-device processing · No account · No ads
Files and entered values are processed in your browser, without uploading them to Toolfred. Our tools do not automatically save your work or send it to embedded analytics.
Pages, libraries and shared reference files still download from our host. Downloads you save, browser recovery and hosting logs have separate retention. Local processing is not a guarantee of anonymity or secure deletion.
See where data goes →Your inputs
Preparing the local calculator. If controls stay inactive, reload this page.
Use the active fields and the stated conventions. Exact integer/fraction tools retain exact values; floating-point results are rounded for display. Calculations stay on this device.
YOUR RESULT
Your factors, gcf & lcm result
Enter the active inputs, then choose Calculate. The method and limits are explained below.
Save calculation JSON ↓Calculation breakdown
Scroll sideways to see every column. You can also focus the table and use the arrow keys.
How this calculation works
Enter 1–100 positive integers, each at most 1 billion. GCF uses Euclid’s algorithm; LCM repeatedly uses a/gcd(a,b)×b. Prime factorization uses bounded trial division. Common positive factors are the divisors of the list’s GCF. Factoring mode takes exactly one integer. 1 has no prime factors and exactly one positive divisor. Negative integers, zero and primality tests for cryptographic-size values are outside scope.
Reference: method and limitations. Method reviewed October 23, 2026.
Check the assumptions
Use the stated units and conventions. This tool supports the workflow described here; it does not infer missing information or outside rules.