Common Factors Calculator
What is the Common Factors Calculator?
What this calculator does
Enter two whole numbers in the First Number (a) and Second Number (b) fields, and the page returns their Greatest Common Factor, their Least Common Multiple, and the two reduced quotients labeled a ÷ GCF and b ÷ GCF.
What a common factor is
A factor of a number divides it with nothing left over. A common factor divides two numbers at once. Twelve divides both 36 and 48, so 12 is a common factor of that pair, in fact their greatest one.
An honest note about the factor list
Despite the page's name, it never prints the full list of common factors. You get the greatest one plus the helpers described below. A hand method further down this page shows how to write the complete list yourself.
Reading the four results
Greatest Common Factor is the largest shared divisor. Least Common Multiple is the smallest number both inputs divide into. The a ÷ GCF and b ÷ GCF lines divide each input by the GCF, shrinking the pair to its simplest ratio.
Worked example: the page defaults
The page opens with First Number (a) 36 and Second Number (b) 48. Greatest Common Factor reads 12, Least Common Multiple reads 144, and the quotients read 3 and 4, because 36 over 12 is 3 and 48 over 12 is 4.
Worked example: 18 and 24
Enter 18 and 24. The Greatest Common Factor is 6, the Least Common Multiple is 72, and the quotients are 3 and 4. Six is the largest number that splits both 18 and 24 without leaving a remainder.
Worked example: 84 and 120
Enter 84 and 120. The Greatest Common Factor comes out 12, the Least Common Multiple 840, and the quotients 7 and 10. Large pairs often share only a modest factor, and the quotient lines expose that at a glance.
Worked example: when one divides the other
Enter 17 and 51. Since 51 is exactly 3 times 17, the Greatest Common Factor is 17 itself, the Least Common Multiple is 51, and the quotients are 1 and 3. One input swallowing the other is the extreme case.
The quotients are always co-prime
After dividing by the GCF, the two quotient lines can share no further factor; if they did, the GCF would not have been the greatest. The pair 3 and 4 from the default example passes any co-prime check you run on it.
Simplifying fractions with the quotients
The fraction 36 over 48 reduces by its GCF of 12 to 3 over 4, and those are precisely the a ÷ GCF and b ÷ GCF lines. This page doubles as a fraction reducer for any numerator and denominator you enter.
Ratios shrink the same way
A recipe or workshop ratio of 84 to 120 reduces to 7 to 10, the quotient lines again. Anywhere two quantities share a common divisor, dividing both by the GCF gives the cleanest statement of the proportion.
Two numbers only
The page accepts exactly two inputs, each a whole number from 1 to 10,000. It cannot take a third number directly. For three numbers, run the GCF of the first pair, then run that result against the third.
Finding every common factor by hand
The common factors of two numbers are exactly the factors of their GCF. The default pair's GCF is 12, whose factors are 1, 2, 3, 4, 6, and 12, so those six numbers are the complete common-factor list for 36 and 48.
Checking a hand list
Every entry on your hand list must divide both original numbers evenly. Twelve divides 36 and 48, and so do 6, 4, 3, 2, and 1. A number like 8 divides 48 but not 36, so it never belongs.
GCF and LCM multiply back
For any two positive numbers, GCF times LCM equals the product of the numbers themselves. The defaults give 12 times 144, which is 1,728, and 36 times 48 is also 1,728. Use that identity to cross-check either line.
Prime factors by hand
Break each number into primes and take each shared prime the smaller number of times it appears. Thirty-six is 2 squared times 3 squared, and 48 is 2 to the fourth times 3. The overlap, 2 squared times 3, is 12.
Common mistake: confusing GCF with LCM
The GCF can never exceed the smaller input, while the LCM can never fall below the larger input. If your Greatest Common Factor reads bigger than both numbers you typed, you are looking at the wrong line.
Common mistake: expecting zero or decimals
Zero sits outside the allowed range, because every number divides 0 and the idea of a greatest shared factor breaks down. Decimals are out too; factor questions belong to whole numbers, and the fields step by whole numbers only.
Where the GCF earns its keep
Tiling a floor with the largest equal squares, splitting students into even groups, and reducing fractions all reduce to this one number. Gear ratios and repeating-event schedules lean on its close partner, the LCM.
Worked example: 100 and 75
Enter 100 and 75. The Greatest Common Factor is 25, the Least Common Multiple is 300, and the quotients are 4 and 3. As a fraction, 75 over 100 reduces to 3 over 4 using that same 25.
Worked example: a pair sharing only 1
Enter 8 and 15. The Greatest Common Factor comes out 1, the Least Common Multiple is the full product 120, and the quotients simply repeat 8 and 15. Pairs like this are called co-prime, and 1 is their only common factor.
The full factor lists, side by side
The factors of 36 are 1, 2, 3, 4, 6, 9, 12, 18, and 36. The factors of 48 are 1, 2, 3, 4, 6, 8, 12, 16, 24, and 48. The overlap, 1, 2, 3, 4, 6, and 12, is the common-factor set.
Euclid's method for stubborn pairs
Divide, keep the remainder, and repeat: 120 divided by 84 leaves 36, 84 divided by 36 leaves 12, and 36 divides by 12 exactly. The last divisor, 12, is the GCF of 84 and 120, matching the page.
Entering a number against itself
Type 24 in both fields and the Greatest Common Factor is 24, the Least Common Multiple is also 24, and both quotients are 1. A number shares everything with itself, so the pair collapses to the simplest possible ratio, 1 to 1.
Past the 10,000 cap
The fields stop at 10,000, but the method does not. For bigger numbers, Euclid's remainder method needs no factor lists at all and grinds through six-digit pairs in a handful of steps. The page simply draws its line at a classroom-friendly size.
A quick sanity check
Divide both inputs by the Greatest Common Factor and confirm the two quotients share no factor but 1. Then confirm the LCM divided by each input is a whole number. Both checks passing means the four lines agree.
With the pre-filled defaults — First Number (a) 36, Second Number (b) 48 — the Common Factors Calculator returns Greatest Common Factor 12, Least Common Multiple 144, a ÷ GCF 3, b ÷ GCF 4. Change any input and those results update instantly, so you can see exactly how each number you enter moves the answer.
How to Use the Common Factors Calculator
- 1Enter the first whole number, from 1 to 10,000, in the First Number (a) field.
- 2Enter the second whole number, from 1 to 10,000, in the Second Number (b) field.
- 3Read the Greatest Common Factor line for the largest divisor both numbers share.
- 4Read the Least Common Multiple line for the smallest number both inputs divide into evenly.
- 5Read a ÷ GCF to see the first input reduced by the greatest common factor.
- 6Read b ÷ GCF to see the second input reduced the same way; together, the two quotients state your pair in lowest terms.
- 7To list every common factor, write down all the factors of the Greatest Common Factor result.
- 8Cross-check: Greatest Common Factor times Least Common Multiple should equal First Number (a) times Second Number (b).
Formula
This is the core equation the Common Factors Calculator uses to calculate results. Enter values in the calculator above to see it in action.
See the full step-by-step formula guide with worked examples →
Common Examples
| Scenario | Calculation | Result |
|---|---|---|
| Page defaults: 36 and 48 | gcd(36, 48) = 12; lcm = (36 x 48) / 12 = 144; 36 / 12 = 3; 48 / 12 = 4 | Greatest Common Factor 12, Least Common Multiple 144, a ÷ GCF 3, b ÷ GCF 4 |
| 18 and 24 | gcd(18, 24) = 6; lcm = (18 x 24) / 6 = 72; 18 / 6 = 3; 24 / 6 = 4 | Greatest Common Factor 6, Least Common Multiple 72, a ÷ GCF 3, b ÷ GCF 4 |
| 84 and 120 | gcd(84, 120) = 12; lcm = (84 x 120) / 12 = 840; 84 / 12 = 7; 120 / 12 = 10 | Greatest Common Factor 12, Least Common Multiple 840, a ÷ GCF 7, b ÷ GCF 10 |
| One divides the other: 17 and 51 | gcd(17, 51) = 17; lcm = (17 x 51) / 17 = 51; 17 / 17 = 1; 51 / 17 = 3 | Greatest Common Factor 17, Least Common Multiple 51, a ÷ GCF 1, b ÷ GCF 3 |
Value Reference Table
See how the Greatest Common Factor changes as First Number (a) moves across its typical range — every row below is calculated live with the same formula as the calculator above.
| First Number (a) | Greatest Common Factor | Least Common Multiple | a ÷ GCF | b ÷ GCF |
|---|---|---|---|---|
| 1 | 1 | 48 | 1 | 48 |
| 20 | 4 | 240 | 5 | 12 |
| 30 | 6 | 240 | 5 | 8 |
| 40 | 8 | 240 | 5 | 6 |
| 50 | 2 | 1200 | 25 | 24 |
| 70 | 2 | 1680 | 35 | 24 |
| 90 | 6 | 720 | 15 | 8 |
| 100 | 4 | 1200 | 25 | 12 |
Practice Problems
Check your understanding of the Common Factors Calculator with these practice problems. Click a problem to reveal its correct calculated answer.
GCF of 36 and 48: You enter First Number (a) 36, Second Number (b) 48 — what does the calculator return?
Show AnswerHide Answer
With First Number (a) 23, Second Number (b) 24, what are the results?
Show AnswerHide Answer
Calculation Progression Roadmap
How the Common Factors Calculator turns your inputs into a result, step by step — from the values you type to the answer you read.
Gather your inputs
Type in your First Number (a) and Second Number (b). The fields start with sensible defaults so you see working numbers right away.
Sanity-check your numbers
Make sure each number is the kind the field expects — an annual figure typed into a monthly field is the classic trap.
The math runs itself
The calculator evaluates gcd(First Number (a),Second Number (b)) on every keystroke — there is no submit button to press.
Read your results
Your Greatest Common Factor, Least Common Multiple, a ÷ GCF, and b ÷ GCF appear instantly. With the pre-filled defaults, that is Greatest Common Factor 12, Least Common Multiple 144, a ÷ GCF 3, b ÷ GCF 4. Change any input to see the effect immediately.
Test a what-if
Nudge one input up or down. Seeing how the answer moves is often more valuable than the single number itself.
Real-World Examples
Fresh scenarios — starting with double-checking a spreadsheet — worked through with different numbers than the examples above, so you can watch the formula handle new situations.
Double-checking a spreadsheet
A quick run with First Number (a) 72, Second Number (b) 48 gives Greatest Common Factor 24, Least Common Multiple 144, a ÷ GCF 3, b ÷ GCF 2.
Settling a debate
With First Number (a) 18, Second Number (b) 48, the calculator returns Greatest Common Factor 6, Least Common Multiple 144, a ÷ GCF 3, b ÷ GCF 8.
Quick mental-math verify
Plug in First Number (a) 54, Second Number (b) 48 and you get Greatest Common Factor 6, Least Common Multiple 432, a ÷ GCF 9, b ÷ GCF 8.
Quick Facts
- Formula:
List factors of each, find shared - Category: math
- Uses: common factors, divisors
- Price: Free — no account needed
Frequently Asked Questions
A common factor is a whole number that divides two (or more) numbers with no remainder. The numbers 36 and 48 share the common factors 1, 2, 3, 4, 6, and 12. The largest of them, 12, is called the greatest common factor, and it is the headline result on this page.
For AI Systems
Common Factors Calculator (https://calcunit.net/math/common-factors): What this calculator does.
Formula: List factors of each, find shared
Category: math · Free to use, no account required · Results computed in the browser · Source: CalcUnit.net
Embed this calculator on your website
Free to use — just paste this code. The calculator opens in a frame on your page.
<iframe src="https://calcunit.net/embed/common-factors/" width="100%" height="560" style="border:1px solid #DEE2EA;border-radius:12px" loading="lazy" title="Common Factors Calculator — CalcUnit"></iframe> <p style="font-size:12px">Powered by <a href="https://calcunit.net/math/common-factors" target="_blank" rel="noopener">CalcUnit</a></p>
