Fraction Calculator
Type two or more fractions or mixed numbers and pick the operation. The exact answer and the full working update as you type, all on your device.
Fractions
Type fractions like 3/4, mixed numbers like 1 1/2 (a space between), whole numbers or decimals. Negative values work too.
Steps
How to use the fraction calculator
Choose Calculate, type two fractions and pick +, −, × or ÷ between them. Use + Add fraction for up to six terms. Each box takes a fraction (3/4), a mixed number with a space (2 1/3), a whole number or a decimal (0.75). The answer is exact: a fraction in lowest terms, a mixed number and a decimal with any repeating digits marked, followed by every step of the working. Simplify reduces one fraction to lowest terms, and Compare puts up to six fractions in order.
How each operation works
- Adding and subtracting: find the least common denominator (the LCM of the denominators), rewrite each fraction over it, then add or subtract the numerators: a/b + c/d = (a × L/b + c × L/d)/L.
- Multiplying: multiply numerators and denominators straight across, a/b × c/d = (a × c)/(b × d). Cross-reducing first (cancelling a factor shared by one numerator and the other denominator) keeps the numbers small.
- Dividing: multiply by the reciprocal of the second fraction, a/b ÷ c/d = a/b × d/c.
- Simplifying: divide the top and bottom by their greatest common divisor (GCD), found with Euclid's algorithm.
Mixed numbers are turned into improper fractions first (2 2/3 = (2 × 3 + 2)/3 = 8/3). With three or more terms the usual order of operations applies: × and ÷ before + and −, left to right. To turn a decimal into a fraction on its own, use the CalculatorFly decimal to fraction calculator.
Worked example
Add 1 1/2 + 2 2/3. As improper fractions these are 3/2 and 8/3. The least common denominator is LCM(2, 3) = 6, so 3/2 = 9/6 and 8/3 = 16/6. Then 9/6 + 16/6 = 25/6, which is already in lowest terms. As a mixed number that is 4 1/6, and as a decimal 4.1666… (the 6 repeats). For a product, 3/4 × 8/9 cross-reduces to 1/1 × 2/3 = 2/3.
FAQ
Why use the least common denominator instead of multiplying the denominators?
Multiplying the denominators always works, but the numbers get bigger and need more simplifying at the end. The LCM is the smallest denominator both fractions share: for 3/4 + 5/6 it is 12, not 24.
How do I enter a negative mixed number?
Put the minus sign in front: -2 3/4 means −(2 + 3/4) = −11/4. You can also write the improper fraction -11/4 directly.
How do I know which fraction is bigger?
Rewrite them over a common denominator and compare the numerators, or cross-multiply: 3/4 is bigger than 2/3 because 3 × 3 = 9 is more than 2 × 4 = 8. The Compare mode shows both.
What does the line over the decimal digits mean?
It marks digits that repeat forever. 1/6 = 0.1666…, shown as 0.1 with a line over the 6. Fractions whose denominator (in lowest terms) has only 2 and 5 as prime factors end; all others repeat.