LCD Calculator
The LCD calculator finds the lowest common denominator of two or more fractions: the smallest number every denominator divides into evenly. Enter the fractions in one box and it returns the LCD, every fraction rewritten over that denominator, the prime factorization behind the answer, and the fractions added together. This is the math LCD, short for least common denominator, not a liquid-crystal display.
One box takes the whole list, whether that is two fractions or ten. Results stay hidden until you press Calculate.
Lowest common denominator
–
Quick Answer
For 1/2, 2/3 and 5/4, the LCD is 12. The fractions rewrite as 6/12, 8/12 and 15/12, and they add up to 29/12. The denominators 2, 3 and 4 have prime factorizations 2, 3 and 2², and the highest powers multiply to 2² × 3 = 12.
Key takeaways
- The LCD is the least common multiple of the denominators, nothing more exotic than that.
- Rewriting each fraction over the LCD is the step that makes adding, subtracting and comparing possible.
- The product of the denominators always works as a common denominator, but it is rarely the lowest one.
- This tool also adds the fractions and simplifies the sum, which is the job most people needed the LCD for.
- Quick Answer
- How to use the LCD calculator
- The formula: the LCD is the LCM of the denominators
- Worked example: 1/2, 2/3 and 5/4
- Common LCD pairs worth knowing
- Comparing and ordering fractions with the LCD
- What competing calculators miss
- Frequently asked questions
- Add This Calculator to Your Website
- References
How to use the LCD calculator
Type your fractions into the single box, press Calculate, and read the LCD, the rewritten fractions and the sum. There are no separate numerator and denominator fields to fill in one fraction at a time.
- Enter the list. Write fractions as numerator/denominator, such as 3/8, and separate entries with commas, spaces or line breaks. Whole numbers are welcome and count as fractions over 1.
- Convert mixed numbers first. A mixed number like 2 3/4 must be entered as the improper fraction 11/4. A space splits entries, so a mixed number typed as-is would be read as two separate numbers.
- Press Calculate. The result box shows the LCD in large type, a table pairing each original fraction with its rewritten form, a step list with the prime factorization of every denominator and each pairwise LCM, and the sum of the fractions in simplified form.
- Fix errors by name. If an entry cannot be read, the message quotes it exactly. A zero denominator and a list with fewer than two entries each get their own message instead of a wrong answer.
Once the fractions share a denominator, adding them is a one-line job, which is why our fraction addition calculator starts from the same rewriting step. If your starting numbers are decimals rather than fractions, turn them into fractions first with the decimal to fraction calculator, then paste the fractions here.
The formula: the LCD is the LCM of the denominators
The LCD of a set of fractions is the least common multiple of their denominators. Wolfram MathWorld defines the least common denominator exactly that way: the LCM of the denominators of the fractions in the set.
LCD(a/b, c/d) = LCM(b, d) = (b × d) ÷ GCD(b, d)
For two denominators, the calculator uses the GCD identity: multiply the denominators and divide by their greatest common divisor. For three or more, it folds the same step across the list, taking LCM(LCM(first, second), third) and so on, which is valid because the LCM operation is associative. In parallel, the step list shows the prime factorization method taught in classrooms: factor each denominator, take the highest power of each prime that appears anywhere, and multiply those powers together. Both methods always land on the same number, and seeing them side by side is what makes the answer checkable rather than a black box.
The GCD does double duty here. It drives the LCM identity above, and it simplifies the final sum: when the rewritten numerators add to 2 over a denominator of 2, the GCD of 2 and 2 reduces the sum to 1, and the result line says so.
Worked example: 1/2, 2/3 and 5/4
The LCD of 1/2, 2/3 and 5/4 is 12, the rewritten fractions are 6/12, 8/12 and 15/12, and the sum is 29/12. Here is the full path the calculator takes, in the same order as its step list.
2, 3 and 4
2 = 2, 3 = 3, 4 = 2²
2² × 3 = 12
6/12 + 8/12 + 15/12 = 29/12
Pairwise, the same answer builds up as LCM(2, 3) = 6 and then LCM(6, 4) = 12. Each fraction is then scaled to the LCD: 1/2 is multiplied top and bottom by 6 to get 6/12, 2/3 by 4 to get 8/12, and 5/4 by 3 to get 15/12. Adding the new numerators gives 6 + 8 + 15 = 29 over 12, and 29/12 is already in lowest terms because 29 is prime. Type the example into the calculator and every one of these numbers appears in its output, including the factorization line.
A second quick check: 3/8 and 5/12 have denominators 8 = 2³ and 12 = 2² × 3, so the LCD is 2³ × 3 = 24. The fractions rewrite as 9/24 and 10/24 and sum to 19/24.
Common LCD pairs worth knowing
Eight denominator pairs cover most homework and recipe problems. Each row shows the LCD and what the two unit fractions become over it.
| Denominators | LCD | 1st fraction rewritten | 2nd fraction rewritten |
|---|---|---|---|
| 2 and 3 | 6 | 1/2 = 3/6 | 1/3 = 2/6 |
| 3 and 4 | 12 | 1/3 = 4/12 | 1/4 = 3/12 |
| 4 and 6 | 12 | 1/4 = 3/12 | 1/6 = 2/12 |
| 4 and 8 | 8 | 1/4 = 2/8 | 1/8 = 1/8 |
| 6 and 8 | 24 | 1/6 = 4/24 | 1/8 = 3/24 |
| 8 and 12 | 24 | 1/8 = 3/24 | 1/12 = 2/24 |
| 5 and 6 | 30 | 1/5 = 6/30 | 1/6 = 5/30 |
| 9 and 12 | 36 | 1/9 = 4/36 | 1/12 = 3/36 |
The 4 and 8 row is the pattern students miss most: when one denominator is a multiple of the other, the larger denominator is already the LCD and one fraction needs no rewriting at all. The 4 and 6 row shows the opposite trap, where the product (24) is double the true LCD (12).
Comparing and ordering fractions with the LCD
Rewriting fractions over the LCD also settles which fraction is bigger, because fractions with the same denominator compare by numerator alone. Is 5/8 larger than 7/12? The LCD of 8 and 12 is 24, so the pair becomes 15/24 and 14/24, and 5/8 wins by a single twenty-fourth.
This is the same trick behind a common classroom question: ordering three fractions from smallest to largest. Rewrite all three over the LCD, sort the numerators, then map the order back to the originals. Teachers like the method because it needs no decimal conversions and no cross-multiplication shortcuts that students apply without understanding. If a decimal answer is what you actually need, run the rewritten fraction through a fraction to percent calculator once the comparison is settled.
What competing calculators miss
We checked the top LCD tools ranking for this keyword. Three gaps kept showing up, and one honest limitation of this tool belongs in the same list.
- Most stop at the LCD. The widely used tools print the least common denominator and finish, leaving you to rewrite and combine the fractions by hand. This calculator shows every rewritten fraction and their simplified sum, because the sum is usually the reason the LCD was needed.
- Denominator-only inputs, capped at two or three. Several tools ask for bare denominators, or give you exactly two or three fraction slots. One text box here takes any count of full fractions, whole numbers included, in whatever separator style you paste in.
- No working shown. A bare answer teaches nothing. The step list here prints the prime factorization of each denominator and each pairwise LCM, matching the method in the standard references, so a student can follow the logic and a teacher can check it.
- Our honest limits. This tool does not parse mixed numbers or decimals as single entries: write 3/2, not 1 1/2 or 1.5. A negative sign on a denominator is dropped (1/-2 is read as 1/2), so put the sign on the numerator instead. It also shows a sum, not a difference; for subtraction, use the rewritten fractions from the table and subtract the numerators.
Frequently asked questions
Almost. The LCD of a set of fractions is the least common multiple (LCM) of their denominators. LCM is the general idea for any whole numbers; LCD is the name used when those numbers happen to be fraction denominators.
They solve opposite problems. The LCD is the smallest number that every denominator divides into evenly, and you use it to combine fractions. The GCD (greatest common divisor) is the largest number that divides two or more numbers, and you use it to simplify a fraction. This calculator uses both: the GCD identity finds each pairwise LCM, and the GCD simplifies the final sum.
Yes. A whole number counts as a fraction over 1, so entering 3 is the same as entering 3/1. A whole number never changes the LCD, but it does appear in the equivalent fractions table and in the sum, which is handy for sums like 3 + 1/2.
The tool rewrites every fraction over the LCD and shows their sum. For subtraction, read the rewritten fractions from the table and subtract the numerators yourself: 5/4 minus 2/3 becomes 15/12 minus 8/12, which is 7/12. The rewriting step, which is the part people get stuck on, is done for you either way.
No, but the answer follows the denominators exactly as you write them. Entering 2/4 and 3/6 gives denominators 4 and 6, so the LCD is 12 and both rewrite to 6/12. If you simplify first and enter 1/2 and 1/2, the LCD is 2. Both routes reach the same value; the first one just shows more steps.
Convert it to an improper fraction first: 1 1/2 is 3/2. If you type a mixed number with a space, this calculator reads the two parts as two separate entries, so 1 1/2 alongside 1/4 would be treated as 1, 1/2 and 1/4. Writing 3/2 instead gives the answer you meant.
The input parser accepts fractions and whole numbers only, so a decimal entry gets a message naming the entry it could not read. Convert the decimal to a fraction first (1.5 is 3/2), then enter it. The error message always tells you exactly which entry failed, so a long list is easy to fix.
No. The product always works as a common denominator, but it is often not the lowest one. For 1/4 and 1/6 the product is 24, yet the LCD is 12. Using the lowest denominator keeps the rewritten numerators smaller and leaves less simplifying to do at the end.
Add This Calculator to Your Website
Embed this calculator on your own site with the code below. Pick a size to preview it live, then copy the code.
Powered by Calculator Zilo
References
- Weisstein, Eric W. and Stover, Christopher, Wolfram MathWorld. Least Common Denominator. Accessed October 22, 2026.
- Weisstein, Eric W., Wolfram MathWorld. Least Common Multiple. Accessed October 22, 2026.
- Weisstein, Eric W., Wolfram MathWorld. Greatest Common Divisor. Accessed October 22, 2026.
- Math is Fun. Least Common Denominator. Accessed October 22, 2026.
- Math is Fun. Least Common Multiple. Accessed October 22, 2026.
