Fraction Calculator
Enter the numerator and denominator of each fraction, then choose the operation. The result is reduced to lowest terms and includes a decimal and mixed number. Negative numerators and denominators work too, with the final sign kept on top.
Loading the calculator. It runs in your browser, so JavaScript needs to be on.
How to use the Fraction Calculator
- Enter First numerator and First denominator for the left fraction.
- Choose Add, Subtract, Multiply or Divide, then enter the second numerator and denominator.
- Read the simplified fraction first, followed by its decimal and mixed number. Enter improper fractions directly, such as 7 over 3.
The formula
a/b + c/d = (ad + bc)/bd; subtraction uses ad - bc. Multiplication gives ac/bd. Division gives ad/bc when c is nonzero. Divide numerator and denominator by their greatest common divisor to reduce.
Worked example
For 1/2 + 1/3, the common denominator is 6 and the numerator is 3 + 2 = 5. The result is 5/6, with decimal 0.8333333333. Dividing 3/4 by 1/2 instead gives 3/2, or mixed number 1 1/2.
A denominator is a count of equal pieces
In 3/4, four tells you how many equal pieces make one whole, and three tells you how many pieces you have. You cannot add the denominators when adding fractions. For 1/2 + 1/2, the pieces already have the same size, so the answer is 2/2 = 1 rather than 2/4.
Signs and mixed numbers
A negative denominator moves its sign to the numerator when the result is simplified. Two negative signs cancel. The mixed number row separates the whole-number part from the remaining fraction: -7/3 is shown as -2 1/3, meaning the entire mixed quantity is negative. To enter that quantity, use -7 as numerator and 3 as denominator.
Exact fractions and rounded decimals
The fraction result stays exact for supported whole-number arithmetic. The decimal is displayed to ten significant digits, so a repeating value such as 1/3 is rounded. Very large products are rejected once exact integer arithmetic would exceed browser precision. Reducing unusually large input fractions yourself can bring a calculation back into range.
Fraction Calculator questions
How do I divide fractions?
Multiply the first fraction by the reciprocal of the second. For 3/4 divided by 1/2, multiply 3/4 by 2/1 to get 3/2.
Can a denominator be zero?
No. Division by zero does not define a fraction. A zero numerator with a nonzero denominator is valid and equals zero.
How do I simplify a fraction?
Divide both terms by their greatest common divisor. For 12/18, divide both by 6 to get 2/3.
Related calculators
- GCD & LCM CalculatorEnter whole numbers to find their greatest common divisor and least common multiple....
- Ratio CalculatorEnter two ratio parts to simplify them, scale to a matching value or divide a total into...
- Percentage CalculatorEnter a percent, part, whole or pair of values to find percentages and percent change....
- Scientific CalculatorType an expression or use the keypad for trig, logs, roots, powers and factorials. Switch...