Add, subtract, multiply and divide fractions and mixed numbers exactly, simplify to lowest terms, and convert decimals (including repeating) to fractions.
The sum of 3/4 and 5/6 is 19/12 (1 7/12 as a mixed number), which is 1.58(3) as a decimal.
Fraction bars (one box = 1 whole)
How it's calculated S
Least common denominator
lcm(4,6)=12
Rewrite over the common denominator
43=129,65=1210
Add the numerators
129+10=1219
Simplify
1219
Already in lowest terms.
As a mixed number
1219=1127
About the fraction calculator
Fractions are added or subtracted by rewriting both over their least common denominator, the LCM of the two denominators; they are multiplied by multiplying numerators and denominators, and divided by multiplying by the reciprocal of the second fraction. Every result is reduced to lowest terms by dividing top and bottom by their greatest common divisor, and the arithmetic is exact, so 1/3 stays 1/3 rather than 0.333….
Recipes, measurements in inches and homework are the usual reasons to reach for it. The default, 3/4 + 5/6, uses the common denominator 12: 9/12 + 10/12 = 19/12, which is 1 7/12 as a mixed number. Other modes simplify a fraction (84/126 reduces to 2/3 by dividing by 42) and convert decimals to fractions and back.
A fraction in lowest terms has a terminating decimal only when its denominator has no prime factors other than 2 and 5: 19/8 = 2.375, while 1/7 = 0.(142857) repeats every six digits. Brackets mark the repeating block, in the answers and in what you type.
How to add and subtract fractions by hand
Fractions can only be added or subtracted once they count the same size of piece, so the first job is a common denominator. Work through 5/12 + 7/18:
Find the least common denominator, the LCM of 12 and 18. Count up in multiples of the larger denominator until one divides by the smaller: 18, 36. Since 36 ÷ 12 = 3, the LCD is 36.
Scale each fraction up to it: 5/12 = 15/36 (top and bottom × 3) and 7/18 = 14/36 (× 2).
Add the numerators and keep the denominator: 15/36 + 14/36 = 29/36.
Simplify. The GCD of 29 and 36 is 1, so 29/36 is already in lowest terms.
The calculator returns 29/36 for these inputs, or 0.80(5) as a decimal. Two other routes to the LCD give the same 36: multiply the denominators and divide by their GCD (12 × 18 ÷ 6 = 216 ÷ 6), or take each prime factor at its highest power (12 = 2² × 3 and 18 = 2 × 3², so 2² × 3² = 36). The GCD and LCM calculator shows both for larger numbers.
Subtracting mixed numbers has one extra decision. For 3 1/4 − 1 5/6, either convert both to improper fractions first (13/4 − 11/6 = 39/12 − 22/12 = 17/12 = 1 5/12), or keep the whole numbers apart and borrow: over twelfths the subtraction is 3 3/12 − 1 10/12, and because 3/12 is smaller than 10/12, borrow 1 from the 3 to make 2 15/12. Then 2 15/12 − 1 10/12 = 1 5/12. Both methods agree; converting first avoids the borrowing step and is what the calculator does.
Multiplying and dividing fractions
Multiplication needs no common denominator: multiply the numerators, multiply the denominators, then simplify. Cancelling shared factors diagonally before multiplying keeps the numbers small. In 8/15 × 25/32, the 8 and the 32 share a factor of 8, and the 25 and the 15 share 5, which leaves 1/3 × 5/4 = 5/12. Multiplying straight through gives 200/480, and dividing by the GCD, 40, reaches the same 5/12; the calculator's steps show this second route.
A whole number is a fraction over 1, so 4 × 2/3 = 4/1 × 2/3 = 8/3, or 2 2/3. Scaling a recipe works the same way: making one and a half batches turns 2/3 cup of flour into 2/3 × 3/2 = 1 cup, and 3/4 teaspoon of salt into 9/8 = 1 1/8 teaspoons.
Division turns into multiplication by the reciprocal of the second fraction, the divisor. With mixed numbers, convert first: 3/4 ÷ 1 1/2 = 3/4 ÷ 3/2 = 3/4 × 2/3 = 6/12 = 1/2. Reading a division as "how many of these fit into that" is a quick check: 2 1/2 ÷ 1 1/4 = 5/2 × 4/5 = 2, and two pieces of 1 1/4 do make 2 1/2.
Simplifying fractions with the greatest common divisor
A fraction is in lowest terms when its numerator and denominator have no common factor above 1. Dividing both by their greatest common divisor gets there in one step. For small numbers the GCD can be spotted; for large ones, Euclid's algorithm (Elements, Book VII, Proposition 2) finds it by repeated division, which is also how the calculator does it. To simplify 462/1071:
1071 = 2 × 462 + 147
462 = 3 × 147 + 21
147 = 7 × 21 + 0
The last non-zero remainder, 21, is the GCD. Dividing top and bottom by 21 gives 462/1071 = 22/51. Cancelling small primes in turn works here too, by 3 (154/357) and then by 7 (22/51), because both numbers happen to have small factors; Euclid's method does not depend on that.
Mixed numbers and improper fractions
A proper fraction has a numerator smaller than its denominator (3/8), an improper fraction does not (47/6), and a mixed number writes an improper fraction as a whole number plus a proper fraction (7 5/6). To turn an improper fraction into a mixed number, divide with remainder: 47 ÷ 6 = 7 remainder 5, so 47/6 = 7 5/6. The calculator shows both forms for any improper result.
Negative mixed numbers catch people out. −1 3/4 means −(1 + 3/4) = −7/4, not −1 + 3/4 = −1/4. The minus sign applies to the whole number and the fraction together, and the calculator reads "-1 3/4" that way.
Fraction to decimal chart
Inch measurements in halves, quarters, eighths and sixteenths all end within four decimal places. A fraction in lowest terms whose denominator is 2^a × 5^b ends after the larger of a and b places: 3/16 has 16 = 2⁴, so it needs four (0.1875), and 7/40 has 40 = 2³ × 5, so it needs three (0.175).
Fraction
Decimal
Fraction
Decimal
1/16
0.0625
9/16
0.5625
1/8
0.125
5/8
0.625
3/16
0.1875
11/16
0.6875
1/4
0.25
3/4
0.75
5/16
0.3125
13/16
0.8125
3/8
0.375
7/8
0.875
7/16
0.4375
15/16
0.9375
1/2
0.5
Denominators with any other prime factor repeat. Brackets mark the block that repeats, the same notation the calculator accepts as input.
Fraction
Decimal
Digits in the repeating block
1/3
0.(3)
1
2/3
0.(6)
1
1/6
0.1(6)
1
5/6
0.8(3)
1
1/9
0.(1)
1
1/11
0.(09)
2
1/12
0.08(3)
1
1/13
0.(076923)
6
1/17
0.(0588235294117647)
16
Common fraction mistakes
Adding across. 1/2 + 1/3 is not 2/5. Over the common denominator 6 it is 3/6 + 2/6 = 5/6. A sum of two positive fractions is always larger than each of them, and 2/5 is smaller than 1/2.
Cancelling terms instead of factors. In (2 + 3)/2 the 2s cannot be struck out to leave 3; the value is 5/2. Cancelling works only on numbers that multiply the whole numerator and the whole denominator.
Flipping the wrong fraction. In a division, only the divisor, the second fraction, is inverted.
Comparing by the denominator alone. To compare 5/8 and 3/5, cross-multiply: 5 × 5 = 25 against 3 × 8 = 24, so 5/8 is larger, by exactly 1/40.
Typing a rounded decimal. The calculator treats 0.33 as exactly 33/100. For one third, type 1/3 or the repeating form 0.(3).
To express a fraction as a share of 100, the percentage calculator takes the numerator and denominator as X and Y. Fractions that compare two quantities, such as 3 parts sand to 1 part cement, are often easier to scale with the ratio calculator.
Worked examples
3/4 + 5/6
I want to
Calculate with two fractions
First fraction
3/4
Operation
+
Second fraction
5/6
Result
19/12
As a mixed number
1 7/12
Decimal with repeating block
1.58(3)
Decimal value
1.583333333333
Checked against: Python fractions: Fraction(3,4) + Fraction(5,6) = 19/12; 19/12 = 1.58333… by hand
How do you add fractions with different denominators?
Rewrite both over the least common denominator, then add the numerators. For 3/4 + 5/6 the LCM of 4 and 6 is 12, so 3/4 = 9/12 and 5/6 = 10/12, and the sum is 19/12, or 1 7/12. Multiplying the denominators (4 × 6 = 24) also works but gives 38/24, which then has to be reduced by 2.
How do you divide fractions?
Multiply the first fraction by the reciprocal of the second. 2/3 ÷ 4/9 = 2/3 × 9/4 = 18/12, which reduces to 3/2, or 1 1/2. Dividing by a fraction smaller than 1 makes the result larger, which is why the answer exceeds 2/3. Dividing by zero, whether written 0 or 0/5, has no answer.
How do you simplify a fraction to lowest terms?
Divide the numerator and denominator by their greatest common divisor. For 84/126 the GCD is 42, so 84/126 = 2/3. A fraction is in lowest terms when that GCD is 1, as with 19/12. Cancelling common factors one at a time (2, then 3, then 7) reaches the same answer in more steps.
How do you convert a repeating decimal to a fraction?
Multiply by powers of 10 that line up the repeating block, then subtract. For x = 0.1666…, written 0.1(6), 100x − 10x = 16.666… − 1.666… = 15, so 90x = 15 and x = 1/6. A block of six repeating digits, as in 0.(142857), goes over 999999, and 142857/999999 reduces to 1/7.
How do you turn a mixed number into an improper fraction?
Multiply the whole number by the denominator, add the numerator, and keep the denominator. 2 2/3 becomes (2 × 3 + 2)/3 = 8/3, and 1 1/2 becomes 3/2. Converting both first is how mixed numbers are multiplied: 1 1/2 × 2 2/3 = 3/2 × 8/3 = 24/6 = 4.
How accurate is the fraction calculator?
Accuracy depends on your inputs and the method's assumptions. Decimal arithmetic uses 50 significant digits, but estimates, numerical methods and source data can be less precise; the displayed rounding does not remove those limits. It is checked against 9 worked examples whose answers come from independent sources; for example, “3/4 + 5/6” is checked against Python fractions: Fraction(3,4) + Fraction(5,6) = 19/12; 19/12 = 1.58333… by hand.