Math & Numbers

Fraction Calculator

Calculate sums, differences, products, and quotients of two fractions with automatic reduction, mixed-number output, and decimal approximations.

Run tool

This online fraction calculator performs arithmetic across two fractions, supporting addition, subtraction, multiplication, and division. To compute an expression, specify the integer numerator and denominator for your first fraction, choose the arithmetic operation from the dropdown selector, and enter the numerator and denominator for your second fraction. By default, numerators start at 0 and denominators start at 1, with addition selected as the initial operation. Once you submit your values, the calculator processes the arithmetic, reduces the resulting fraction to its simplest form by dividing by the greatest common divisor, and ensures the denominator remains positive. The output displays the simplified fraction alongside a converted mixed number format for improper values, or a whole number when the denominator divides evenly. Additionally, it provides a decimal approximation rounded to ten decimal places. Nonzero denominators are required for both input terms, and dividing by a second fraction with a numerator of zero is rejected.

Instructions

  1. Enter the numerator and denominator for the first fraction.
  2. Select an arithmetic operation from the menu: Add, Subtract, Multiply, or Divide.
  3. Enter the numerator and denominator for the second fraction.
  4. Submit the values to perform the calculation.
  5. Review the simplified fraction, mixed number format, and ten-place decimal approximation.

Examples

  • Add 1/2 and 1/3: Enter 1 and 2 for the first fraction, select Add, enter 1 and 3 for the second fraction, and calculate to receive 5/6, mixed form 5/6, and decimal approximation 0.8333333333.
  • Multiply 3/4 by 2/5: Enter 3 and 4 for the first fraction, select Multiply, enter 2 and 5 for the second fraction, and calculate to receive 3/10, mixed form 3/10, and decimal approximation 0.3000000000.

FAQ

What happens if a denominator is set to zero?

The calculation cannot proceed because division by zero is mathematically undefined. Both denominator inputs must be nonzero numbers.

How are negative fractions formatted in the result?

Negative signs are normalized so that the sign attaches to the numerator, ensuring that the denominator in the simplified fraction is always positive.

Can I divide by a fraction whose numerator is zero?

No. Dividing by a fraction with a zero numerator requires dividing by zero during calculation, which is invalid.

How are improper fractions represented?

Improper fractions are simplified and presented in mixed-number format, showing the integer whole part alongside any remaining fractional value.

Embed this tool

Add this working SmartPlusLab tool to your website with the code below.