- Enter integer A and integer B.\n2. Click Calculate to see GCD and LCM.
GCD and LCM Calculator
GCD and LCM Calculator
Enter two integers and calculate.
How to Use This Tool
About
Classic number theory calculator for greatest common divisor and least common multiple.
Examples
12 and 18
Input
{
"a": "12",
"b": "18"
}Output
{
"gcd": 6,
"lcm": 36
}Use Cases
- Ratio simplification
- Tile/grid alignment
- Competitive programming drills