Fraction calculator
Add, subtract, multiply or divide two fractions and get the result already simplified.
Calculator inputs
Results
Enter your values and press “Calculate” to see the result.
In short
- What it calculates
- Add, subtract, multiply or divide two fractions and get the result already simplified.
- Formula used
a/b + c/d = (a·d + c·b) / (b·d)- Example
- Example 1: 3/4 + 5/6
Fraction calculator
Working with fractions means finding a common denominator, cross-multiplying and simplifying at the end. This calculator does all three steps and returns the answer in the three useful forms: lowest terms, decimal and mixed number.
Negative numerators and denominators are accepted.
How it works
For addition and subtraction everything is brought to a common denominator by cross multiplication. For multiplication, numerators multiply together and denominators multiply together. For division, the second fraction is inverted and then multiplied.
The final step is always dividing numerator and denominator by their greatest common divisor, which gives the fraction in lowest terms.
Formula
a/b + c/d = (a·d + c·b) / (b·d)
a/b − c/d = (a·d − c·b) / (b·d)
a/b × c/d = (a·c) / (b·d)
a/b ÷ c/d = (a·d) / (b·c)
Worked example
Example 1: 3/4 + 5/6
1. Common denominator: 4 × 6 = 24
2. Numerators: 3×6 + 5×4 = 18 + 20 = 38
3. Result: 38/24
4. Divide by 2: 19/12
19/12 = 1.5833… = 1 7/12
Example 2: 2/3 ÷ 4/9
1. Dividing means multiplying by the reciprocal: 2/3 × 9/4
2. Numerator: 2 × 9 = 18; denominator: 3 × 4 = 12
3. Result: 18/12
4. Reduce by 6: 3/2
3/2 = 1.5 = 1 1/2
Explanation
Adding needs a common denominator, multiplying does not
This is the asymmetry that confuses most. To add you must equalise denominators first; to multiply you simply multiply numerators together and denominators together, directly. And dividing is multiplying by the inverted fraction. That is why multiplying fractions is easier than adding them, the opposite of whole numbers.
Not every fraction has an exact decimal
A third is 0.3333 without end. A fraction gives an exact decimal only if its simplified denominator factors into twos and fives alone, because those are the factors of ten. A seventh, a third or a sixth produce infinite repeating patterns, and there the fraction is more precise than any truncated decimal.
Why the denominator cannot be zero
Division by zero is undefined. If three divided by zero gave some number, that number multiplied by zero would have to return three, and anything times zero is zero. It is not a technical limitation: the operation simply has no meaning.
Where they still beat decimals
In cooking, in music, in construction with inch measurements and in any calculation where exactness matters. A third of a cup is exact; 0.33 cups is an approximation that compounds error when scaling a recipe.
Frequently asked questions
What happens if the denominator is zero?
The fraction is undefined and the calculator says so. You also cannot divide by a fraction whose numerator is zero.
How do I turn a decimal into a fraction?
Multiply by a power of ten until the decimals disappear, then simplify: 0.75 = 75/100 = 3/4.
Is simplification automatic?
Yes, always. The result is divided by the greatest common divisor of numerator and denominator.
Why does a third have no exact decimal?
Because an exact decimal requires the denominator to factor into twos and fives only. Three does not allow it, so the result repeats.
How do I divide one fraction by another?
Multiply the first by the reciprocal of the second. 2/3 ÷ 4/9 is 2/3 × 9/4 = 18/12, which reduces to 3/2.
What is a mixed number?
A way of writing a fraction greater than one as a whole part plus the leftover fraction. 19/12 is 1 7/12, because 12 goes into 19 once with 7 left over.
How do I compare two fractions?
Cross-multiply: for 3/4 and 5/7 compare 3 × 7 = 21 with 5 × 4 = 20. Since 21 is larger, 3/4 is the larger fraction.
Sources and references
The formula behind this calculator is not ours. These are the sources it comes from, in APA 7 format, in case you want to go to the original or cite them in your own work.
- Weisstein, E. W. (s. f.). Fraction. MathWorld—A Wolfram Web Resource. https://mathworld.wolfram.com/Fraction.html https://mathworld.wolfram.com/Fraction.html Definition of a fraction and its operations.
- Knuth, D. E. (1997). The Art of Computer Programming, Volume 2: Seminumerical Algorithms (3rd ed.). Addison-Wesley. Section 4.5.1: exact fraction arithmetic and reduction by the greatest common divisor.
Need to calculate something else?
These tools are often used alongside this calculator.
GCD
Find the GCD of two or more whole numbers using Euclid’s algorithm.
LCM
Compute the LCM of several numbers to add fractions or synchronise repeating cycles.
Percentage
The four most common percentage calculations in a single tool.
Rule of three
Solve direct and inverse proportions by entering the three known values.
Calculator
Type the whole expression and get the result instantly, brackets and functions included.
Scientific
Trigonometry, logarithms, exponentials and factorials, with a degrees/radians switch.