Least common multiple
The LCM is the smallest positive integer divisible by every number entered. It is especially useful when adding fractions with different denominators.
Last updated: April 2026
The LCM is the smallest positive integer divisible by every number entered. It is especially useful when adding fractions with different denominators.
LCM(12, 18) = 36
12 / 2 = 6 6 / 2 = 3 3 / 3 = 1
18 / 2 = 9 9 / 3 = 3 3 / 3 = 1
LCM is used when you need a shared multiple, such as finding a common denominator before adding or subtracting fractions.
GCF is the biggest factor shared by all numbers. It helps simplify fractions and divide quantities into equal groups.
The Euclidean algorithm repeatedly divides and keeps the remainder. When the remainder reaches zero, the last non-zero remainder is the GCF.
LCM gives the lowest common denominator. GCF helps reduce the final answer to its simplest form.
The LCM and GCF Calculator finds the least common multiple and greatest common factor of two or more integers. It is useful for fraction arithmetic, scheduling cycles, simplifying ratios, factoring, modular arithmetic, and number theory practice. Use this expanded guide when the LCM and GCF Calculator result needs to be explained, checked, or reused in another calculation. It is especially useful for students and practical users simplifying numbers, fractions, and repeated cycles. The best habit is to treat the calculator as a method checker: write down the formula, enter the values, then compare the result with a rough mental estimate or a simpler example.
The calculator finds common factors and multiples using factorisation or the Euclidean algorithm. The GCF is the largest integer that divides all numbers. The LCM is the smallest positive integer that all numbers divide into. The calculator follows the mathematical rule selected by the inputs. To make the result reliable, keep the definitions clear and check whether the problem is asking for which divisor simplifies values, when repeated events line up, how to reduce a ratio or fraction. If two methods seem possible, run a small example first and confirm which convention the question expects.
Input: 12 and 18.
Calculation: GCF is 6. LCM = 12 x 18 / 6 = 36.
Result: GCF = 6 and LCM = 36.
Input: Denominators 8 and 12.
Calculation: LCM of 8 and 12 is 24.
Result: Use 24 as a common denominator.
Input: Ratio 42:70.
Calculation: GCF is 14, so divide both numbers by 14.
Result: The simplified ratio is 3:5.
The LCM and GCF Calculator is for students and practical users simplifying numbers, fractions, and repeated cycles. It turns the known values into a structured calculation so you can focus on the method, units, and interpretation rather than doing every arithmetic step by hand.
For best results, write the formula first, substitute the numbers second, and then round the final answer. That habit makes it easier to spot mistakes and explain the result later.
| Input | What it represents | Check before calculating |
|---|---|---|
| integer A | A known value, selected method, or setting used by the calculator. | Confirm the unit, sign, order, and whether the value is measured, estimated, or exact. |
| integer B | A known value, selected method, or setting used by the calculator. | Confirm the unit, sign, order, and whether the value is measured, estimated, or exact. |
| additional integers | A known value, selected method, or setting used by the calculator. | Confirm the unit, sign, order, and whether the value is measured, estimated, or exact. |
| positive or negative setting | A known value, selected method, or setting used by the calculator. | Confirm the unit, sign, order, and whether the value is measured, estimated, or exact. |
| factorisation method | A known value, selected method, or setting used by the calculator. | Confirm the unit, sign, order, and whether the value is measured, estimated, or exact. |
Math results can look precise even when the inputs are rounded or estimated. A calculator can produce many decimal places, but the useful answer is the one that matches the accuracy of the original problem.
The same formula can support classroom work, spreadsheet checks, programming tasks, construction estimates, lab reports, data analysis, and quick sanity checks. The important part is matching the calculator method to the situation.
Most wrong answers come from small setup errors: mixing units, reversing an input order, using degrees when radians are expected, rounding too early, or treating a percentage as a whole number. Make the notation explicit before entering values.
| Check | Why it matters |
|---|---|
| Units | Lengths, areas, volumes, rates, and angles must use compatible units. |
| Order | Coordinate pairs, matrix rows, base/exponent values, and numerator/denominator positions are order-sensitive. |
| Rounding | Intermediate rounding can change final results, especially in statistics and scientific notation. |
| Domain | Some operations are undefined or restricted, such as division by zero or square roots of negative numbers in real-number mode. |
Use the edge cases below as a checklist before relying on the result. They are especially important when a result will be copied into homework, a spreadsheet, code, a design note, or a report.
A calculator is fastest when the setup is already clear. For the LCM and GCF Calculator, start by naming each variable and writing the formula before entering numbers. This prevents common mistakes such as swapping coordinates, using a diameter as a radius, adding probabilities that should be multiplied, or using a formula for the wrong shape.
After calculating, use estimation. If an area is smaller than one of its dimensions, a probability is above 100%, a distance is negative, or a sample size is a decimal response count, the answer needs another look.
Many math mistakes are not arithmetic mistakes. They happen before calculation starts: a unit is mixed, a coordinate is reversed, a base is misunderstood, or a rounded value is reused too early.
| Input | Why it matters | Quick check |
|---|---|---|
| integer A | It controls the formula, operation, or interpretation of the answer. | Check unit, sign, order, domain, and whether the value is exact or rounded. |
| integer B | It controls the formula, operation, or interpretation of the answer. | Check unit, sign, order, domain, and whether the value is exact or rounded. |
| additional integers | It controls the formula, operation, or interpretation of the answer. | Check unit, sign, order, domain, and whether the value is exact or rounded. |
| positive or negative setting | It controls the formula, operation, or interpretation of the answer. | Check unit, sign, order, domain, and whether the value is exact or rounded. |
| factorisation method | It controls the formula, operation, or interpretation of the answer. | Check unit, sign, order, domain, and whether the value is exact or rounded. |
The answer should match the kind of quantity being calculated. A length should have length units, an area should have square units, a probability should sit between 0 and 1, and a count should usually be a whole number.
Many math tasks are chained. A circle area may feed into a volume calculation, a z-score may feed into a probability check, and a factorisation may feed into an LCM or ratio problem. If the next step uses a different rule, switch calculators rather than forcing one page to do everything.
Before copying the result, check the edge cases below. They catch the errors that most often make a correct-looking answer wrong.
This guide is for general educational information only. The calculator gives a mathematical estimate or exact arithmetic result from the inputs. It cannot decide whether a modelling assumption, measurement, sample, or real-world interpretation is appropriate. This guide is for general educational information only. The calculator follows standard mathematical rules, but it cannot know whether the model is appropriate for the real-world situation. Measurements, samples, assumptions, and data quality still need human judgement.
Yes, but use it to check your method rather than simply copy the final answer. Write down the formula, substitution, and rounding rule.
Common reasons are rounding, unit conversion, input order, degree versus radian mode, or a different formula convention.
Usually no. Keep extra precision during the calculation and round the final answer to the required number of decimal places or significant figures.
It is the largest number that divides all the given integers exactly.
It is the smallest positive number that is a multiple of all the given integers.
Yes. Numbers with no shared factor greater than 1 are relatively prime.
For two non-zero integers, LCM times GCF equals the absolute product of the numbers.
LCM and GCF are integer concepts. Convert decimals to whole-number units first.
This calculator is designed to help you understand the likely number before you make a decision or start an application.
Your result should be checked against official UK guidance, especially if your circumstances include dependants, exemptions, prior leave, or a complex immigration history.
Treat the figure as a planning tool rather than legal advice. Where the answer affects an application deadline or major payment, speak to an authorised adviser.
math calculators
Solve any triangle using SSS, SAS, ASA, AAS, SSA, right triangle, and Pythagorean theorem modes
Calculate ->math calculators
Calculate the area of common 2D shapes with formula substitutions and unit conversions
Calculate ->math calculators
Calculate volume for common 3D shapes with formulas, cubic units and litre conversions
Calculate ->