Inputs
Results
Step-by-Step
12 = 2² × 3, 18 = 2 × 3². HCF = 2 × 3 = 6. LCM = 2² × 3² = 36.
The LCM (Least Common Multiple) of two numbers is the smallest number that is divisible by both. The HCF (Highest Common Factor), also called GCD (Greatest Common Divisor), is the largest number that divides both without a remainder.
Example: LCM(4, 6) = 12, HCF(4, 6) = 2.
These are fundamental concepts used in fractions (finding common denominators), scheduling problems, and number theory.
Enter Details
Inputs
Results
Step-by-Step
12 = 2² × 3, 18 = 2 × 3². HCF = 2 × 3 = 6. LCM = 2² × 3² = 36.
Click any example to expand and see step-by-step workings. Use "▶ Load this example" to auto-fill the calculator.
To find LCM/HCF of three numbers (a, b, c):
Example: LCM(4, 6, 10):
LCM(4,6) = 12, then LCM(12,10) = 60.
HCF(4,6) = 2, then HCF(2,10) = 2.
Enter the third number in the optional "Third Number" field above to calculate instantly.
HCF: Euclidean algorithm — HCF(a,b) = GCD(a,b)
LCM: LCM(a,b) = (a × b) ÷ HCF(a,b)
Free and works on all devices
Supports 2 or 3 numbers
Shows full prime factorisation
Step
by-step breakdown with Euclidean method
Instant results
no steps missed
HCF (Highest Common Factor) or GCD (Greatest Common Divisor) is the largest number that divides two or more numbers without a remainder. E.g. HCF(12, 18) = 6.
In-depth guides and tips for getting the most out of this tool.
Percentage Calculator
Quickly calculate what percentage of a number is, or find the value after increase/decrease. Essential everyday math tool.
Percentage Increase Decrease Calculator
Calculate percentage increase, percentage decrease, find the % change between two numbers, or reverse-calculate the original value. Three modes in one tool.
Fraction Calculator
Add, subtract, multiply and divide fractions instantly. Shows simplified answer, mixed number form and decimal equivalent with step-by-step working.
Scientific Calculator
Online scientific calculator for trigonometric functions (sin, cos, tan), logarithms (log, ln), square root, cube root, powers, factorial and more.
Algebra Solver
Solve linear equations (ax + b = c) and quadratic equations (ax² + bx + c = 0) step by step. Shows working, discriminant, and verification.