Home / Science & Education / LCM and HCF Calculator
LCM and HCF Calculator
Find the LCM and HCF (GCD) of two or more numbers with prime factorisation, the division method and Euclid's steps.
Free, no uploads, no sign-up. Runs 100% in your browser.
How LCM and HCF Calculator works
Everything is worked out in your browser as you type. Nothing is uploaded, and no account is needed. Each number is split into primes. The HCF takes the primes every number shares at their lowest power, and the LCM takes every prime at its highest power. Whole-number BigInt maths keeps big answers exact.
Output: Text.
How to use LCM and HCF Calculator
- Type two or more whole numbers.
- Read the LCM and HCF.
- Follow the prime factorisation.
- Check the division (ladder) method steps.
Tips
- Exact fractions are used where rounding would give wrong answers.
- Every tool works offline once the page has loaded.
LCM and HCF Calculator FAQ
- What is the LCM and HCF of 12, 18 and 30?
- LCM is 180 and HCF is 6. 12 = 2² × 3, 18 = 2 × 3², 30 = 2 × 3 × 5.
- Are my files uploaded?
- No. This tool runs entirely in your browser tab. Files are read from your disk into memory and the result is generated locally.
- Is it free? Are there limits or watermarks?
- Free. There are no file-size caps, daily quotas, accounts or watermarks.
- Does it work offline?
- Yes, once the page (and any engine it needs) has loaded, it keeps working without a connection thanks to the service worker cache.
Related tools
- Prime Factorizer: Factor big whole numbers into primes, list divisors, check primality, and find GCD and LCM.
- Fraction Calculator: Add, subtract, multiply and divide fractions and mixed numbers, with the simplified answer, mixed number, decimal and steps.
- Ratio Calculator: Simplify a ratio such as 1920:1080 to 16:9, or scale a ratio to find a missing value.
- LaTeX Equation Renderer: Type LaTeX and get a crisp equation as PNG, SVG or JPG, or copy it as MathML for Word.