AfoliOpen Afoli →

GCD & LCM

Enter your numbers — the results update instantly.

GCD6
LCM180

Open the full calculator →

Worked example

Given: Numbers (comma-separated) = 12, 18, 30

Result: GCD = 6; LCM = 180

How it is calculated

1. Enter the values you know. 2. The calculator converts them to base units and applies the formula. 3. The result is shown in the unit you choose.

Frequently asked questions

How do I calculate it?

Given: Numbers (comma-separated) = 12, 18, 30. Result: GCD = 6; LCM = 180.

Is the calculator free and private?

Yes. It is free, needs no sign-up and runs in your browser — the numbers you type stay on your device.

Related calculators

All calculators

Updated November 9, 2026