๐Ÿ”ข

Fraction Calculator

Add, subtract, multiply, or divide fractions and mixed numbers with step-by-step solutions.

How to Calculate Fractions โ€” LCD, GCD, and Step-by-Step Simplification

Fractions represent parts of a whole and are fundamental to arithmetic, algebra, cooking, construction, and countless everyday tasks. Despite their simplicity, fraction operations โ€” especially addition and subtraction โ€” require careful attention to denominators. This calculator handles all four operations (addition, subtraction, multiplication, and division) on proper fractions, improper fractions, and mixed numbers, showing every step along the way so you can learn the process or verify your homework.

Understanding Fractions and Mixed Numbers

A fraction consists of a numerator (top number) and a denominator (bottom number). When the numerator is smaller than the denominator, such as 3/4, it is a proper fraction. When the numerator is equal to or larger than the denominator, like 7/4, it is an improper fraction. A mixed number combines a whole number with a proper fraction โ€” for example, 1 3/4, which equals 7/4. This calculator accepts mixed numbers directly; just enter the whole part in the "Whole" field and the fractional part in the numerator and denominator fields.

Adding and Subtracting Fractions โ€” Finding the LCD

To add or subtract fractions, you need a common denominator. The most efficient choice is the Least Common Denominator (LCD), which is the smallest number that both denominators divide into evenly. The LCD is computed as LCD = (dโ‚ ร— dโ‚‚) / GCD(dโ‚, dโ‚‚). Once both fractions share the same denominator, you simply add or subtract the numerators and keep the denominator. For example, 1/4 + 1/6 requires an LCD of 12: convert to 3/12 + 2/12 = 5/12. This calculator finds the LCD automatically and shows the conversion step so you can follow along.

Multiplying and Dividing Fractions

Multiplication is the simplest fraction operation: multiply the numerators together and the denominators together. For instance, 2/3 ร— 4/5 = 8/15. Division flips the second fraction (its reciprocal) and then multiplies: 2/3 รท 4/5 = 2/3 ร— 5/4 = 10/12, which simplifies to 5/6. Neither operation requires finding a common denominator, which is why many students find multiplication and division easier than addition and subtraction.

Simplifying with the GCD (Euclidean Algorithm)

After computing the raw result, fractions should be simplified (or "reduced") to their lowest terms. This means dividing both the numerator and denominator by their Greatest Common Divisor (GCD). The GCD is found efficiently using the Euclidean algorithm: repeatedly replace the larger number with the remainder of dividing it by the smaller number until the remainder is zero. The last non-zero remainder is the GCD. For example, GCD(48, 18): 48 mod 18 = 12, then 18 mod 12 = 6, then 12 mod 6 = 0 โ€” so GCD is 6. Dividing 48/18 by 6 gives the simplified fraction 8/3.

Practical Use Cases for Fraction Math

Fractions appear constantly in real life. In cooking and baking, recipes call for 3/4 cup of flour or 1 1/2 teaspoons of salt, and doubling or halving recipes means multiplying fractions. In construction and woodworking, measurements are given in fractions of an inch โ€” you might need to add 5/8" and 3/16" to figure out total thickness. In academics, fraction arithmetic is a core skill tested from elementary school through college algebra. Music theory uses fractions for time signatures and note durations. Even finance touches fractions โ€” stock prices were historically quoted in eighths and sixteenths.

Frequently Asked Questions

What is an improper fraction?
An improper fraction has a numerator larger than or equal to its denominator (e.g., 7/3). It represents a value of one or more. You can convert it to a mixed number โ€” 7/3 = 2 1/3 โ€” by dividing the numerator by the denominator.

What if I only want to enter a whole number?
Leave the numerator and denominator fields empty (or set them to 0) and just enter the whole number. The calculator treats it as that whole number over 1.

Can I use negative fractions?
Yes. Enter a negative whole number or a negative numerator. The calculator handles signs correctly through all four operations and simplifies the result so the negative sign appears in the numerator.

How does the step-by-step solution work?
After you click Calculate, expand the "Show step-by-step solution" section. It walks you through converting mixed numbers to improper fractions, finding the LCD (for addition and subtraction), performing the operation, and simplifying the result using the GCD โ€” exactly the way you would solve it on paper.

Is this calculator free?
Yes. This fraction calculator runs entirely in your browser with no ads, no signup, and no data collection. Your inputs never leave your device.