Ratio simplifier
Simplify a two-number ratio and view its decimal relationship.
Find factors, greatest common factor, least common multiple and prime factors for two positive integers.
Find factors, greatest common factor, least common multiple and prime factors for two positive integers.
Positive whole number A: 84; Positive whole number B: 126.
Greatest common factor: 42 ; Least common multiple: 252 ; Factors of A: 1, 2, 3, 4, 6, 7, 12, 14, 21, 28, 42, 84 ; Prime factorization of A: 2 × 2 × 3 × 7 .
Large prime values can take longer to factor. Inputs are limited to one billion.
Results are rounded for display; calculations use unrounded values. Read our calculation methodology.
Find factors, greatest common factor, least common multiple and prime factors for two positive integers. The displayed figures use the inputs and formula shown on this page.
Use the factors, gcf and lcm to compare a scenario, check an estimate, or verify a manual calculation.
| Input | What to enter |
|---|---|
| Positive whole number A | Enter a number of at least 1 and no more than 1000000000. |
| Positive whole number B | Enter a number of at least 1 and no more than 1000000000. |
Large prime values can take longer to factor. Inputs are limited to one billion.
It is exact for the stated mathematical model and entered values. Real-world results can differ when rates, timing, fees, definitions or measurement conditions differ.