Fraction Calculator

Add, subtract, multiply, and divide fractions with automatic simplification. Get step-by-step solutions, decimal equivalents, and mixed number conversions.

/
/

What Is a Fraction?

A fraction represents a part of a whole. It consists of two numbers separated by a line: the numerator on top indicates how many parts you have, and the denominator on the bottom indicates how many equal parts the whole is divided into. When you write 3/4, you mean three out of four equal parts.

Fractions appear constantly in cooking, construction, finance, and academics. Understanding how to perform arithmetic with fractions is a fundamental skill that supports more advanced topics like algebra, probability, and calculus. This calculator handles all four basic operations and presents the results in simplified form with step-by-step explanations.

How Fraction Arithmetic Works

Addition and subtraction require a common denominator. The calculator finds the least common multiple (LCM) of the two denominators, converts both fractions to equivalent fractions with that shared denominator, and then adds or subtracts the numerators. The formula for addition is: a/b + c/d = (ad + bc) / bd, though using the LCM instead of simply multiplying denominators produces smaller numbers.

Multiplication is straightforward: multiply the numerators together and the denominators together. The formula is a/b times c/d = ac/bd. No common denominator is needed.

Division converts to multiplication by flipping the second fraction. The formula is a/b divided by c/d = a/b times d/c = ad/bc.

Simplification reduces a fraction to its lowest terms by dividing both numerator and denominator by their greatest common divisor (GCD). The GCD is found using the Euclidean algorithm, which repeatedly divides and takes remainders until the remainder is zero.

Mixed numbers express improper fractions (where the numerator exceeds the denominator) as a whole number plus a proper fraction. For example, 7/3 becomes 2 and 1/3.

How to Use This Calculator

  1. Select the operation from the dropdown: add, subtract, multiply, or divide.

  2. Enter the first fraction by typing the numerator and denominator in the two input fields. Both values can be positive or negative integers.

  3. Enter the second fraction in the same way. Make sure denominators are not zero.

  4. View the results which appear automatically. The calculator shows the original expression, the simplified answer, the mixed number form when applicable, and the decimal equivalent.

  5. Read the step-by-step solution to understand exactly how the answer was derived. This is especially helpful for students learning fraction arithmetic.

Worked Examples

Example 1: Adding Fractions with Unlike Denominators

Add 1/2 and 1/3. The LCM of 2 and 3 is 6. Converting: 3/6 + 2/6 = 5/6. The decimal equivalent is approximately 0.833333.

Example 2: Subtracting Fractions

Subtract 1/8 from 3/4. The LCM of 4 and 8 is 8. Converting: 6/8 - 1/8 = 5/8. The result is already simplified and equals 0.625 in decimal.

Example 3: Multiplying Fractions

Multiply 2/3 by 3/4. Numerators: 2 times 3 = 6. Denominators: 3 times 4 = 12. Result: 6/12 which simplifies to 1/2.

Example 4: Dividing Fractions

Divide 5/6 by 2/3. Flip the second fraction and multiply: 5/6 times 3/2 = 15/12 which simplifies to 5/4. As a mixed number this is 1 and 1/4.

Common Use Cases

  • Cooking and baking: Double or halve recipe measurements like 3/4 cup or 2/3 tablespoon. Fraction arithmetic ensures accurate ingredient scaling.
  • Construction and woodworking: Add lengths measured in fractions of an inch, subtract material for cuts, and calculate remaining stock.
  • Education: Complete fraction homework with verification, study for exams by working through practice problems, and understand the reasoning behind each step.
  • Music: Understand time signatures and note durations which are expressed as fractions of a whole note.
  • Finance: Calculate fractional shares in investments, split costs unevenly among groups, and work with fractional interest rates.

Tips and Common Mistakes

Always simplify your final answer. While 6/12 is mathematically correct, presenting it as 1/2 is clearer and more professional. The calculator does this automatically but understanding why matters for hand calculations.

Do not add numerators and denominators separately. A common error is computing 1/2 + 1/3 as 2/5. You must find a common denominator first. The correct answer is 5/6.

Remember that division by zero is undefined. If the second fraction has a numerator of zero and you are dividing, the operation is impossible because you would be dividing by zero.

Cross-cancellation can simplify multiplication. Before multiplying 4/9 by 3/8, notice that 4 and 8 share a factor of 4, and 3 and 9 share a factor of 3. Simplifying first gives 1/3 times 1/2 = 1/6, which is easier than reducing 12/72.

Convert mixed numbers to improper fractions first. If you need to add 2 and 1/3 plus 1 and 1/2, convert to 7/3 plus 3/2 before finding the common denominator and adding.

Frequently Asked Questions

How do I add fractions with different denominators?

To add fractions with different denominators you first find the least common multiple of both denominators, then convert each fraction so they share that common denominator, and finally add the numerators. For example adding 1/4 and 1/6 uses 12 as the common denominator, giving 3/12 plus 2/12 which equals 5/12.

What does it mean to simplify a fraction?

Simplifying a fraction means dividing both the numerator and denominator by their greatest common divisor until no number other than 1 divides evenly into both. For instance 8/12 simplifies to 2/3 because 4 is the GCD of 8 and 12. The simplified fraction represents the same value in its most reduced form.

How do I multiply two fractions?

To multiply fractions simply multiply the two numerators together for the new numerator and multiply the two denominators together for the new denominator. For example 2/3 times 3/4 equals 6/12 which simplifies to 1/2. No common denominator is needed for multiplication.

Why do I flip the second fraction when dividing?

Dividing by a fraction is the same as multiplying by its reciprocal. The reciprocal swaps the numerator and denominator. So dividing 3/4 by 2/5 becomes 3/4 times 5/2 which equals 15/8. This rule comes from the definition of division as the inverse of multiplication.

What is a mixed number and when is it displayed?

A mixed number combines a whole number with a proper fraction, such as 2 and 1/3. The calculator shows a mixed number whenever the absolute value of the numerator exceeds the denominator in the simplified result. It helps you visualize quantities greater than one whole unit.

Can I enter negative fractions?

Yes. Enter a negative value in the numerator field and the calculator handles the sign correctly throughout the operation. The result will show a negative sign in front of the numerator when appropriate. The calculator also normalizes signs so the denominator is always positive.

What happens if I enter zero as a denominator?

The calculator displays an error message because division by zero is undefined in mathematics. A fraction with a zero denominator has no meaningful value. Make sure both denominator fields contain nonzero integers before performing a calculation.

Does the calculator handle improper fractions?

Absolutely. You can enter any integer values for the numerator and denominator including cases where the numerator is larger than the denominator. The calculator processes improper fractions normally and shows both the simplified improper fraction and its mixed number equivalent in the results.