GCD & LCM Calculator

Greatest common divisor and least common multiple

Enable JavaScript to use the interactive tool.

How to use this tool · examples & limitations

Greatest common divisor and least common multiple.

Getting a reliable result

Enter values in the units shown. Try a simple case you can calculate manually before using a larger input.

Limitations to check

Floating-point arithmetic can introduce rounding. Check domain restrictions and avoid treating rounded output as an exact proof.

For network services, accounts and optional usage records, see our privacy policy.

Related tools