Skip to content
AZ Tools

Fraction Calculator — Add, Subtract, Multiply, Divide

Add, subtract, multiply, and divide fractions, mixed numbers, and decimals. Get the reduced fraction, mixed number, decimal, and worked steps.

Operation

Accepts fractions (3/4), mixed numbers (1 1/2), whole numbers (5), and decimals (1.25).

Result

17/12

Simplified

17/12

Mixed number

1 5/12

Decimal

1.4166666667

Steps

3/4 + 2/3
= 9/12 + 8/12
= 17/12
= 17/12 = 1 5/12

Exact BigInt arithmetic — results are fully reduced. The decimal is rounded for display only.

How to use

  1. Type a fraction in each field: 3/4, a mixed number like 1 1/2, a whole number, or a decimal like 1.25.
  2. Choose +, −, ×, or ÷ for the operation.
  3. Read the reduced result, the mixed-number form, and the decimal — and expand the steps to see how it was solved.
  4. Copy the result line with the copy button.

About this tool

Show

Enter two values — a proper fraction like 3/4, a mixed number like 1 1/2, a whole number, or a decimal like 1.25 — pick an operation and get an exact answer, shown as a reduced fraction, an equivalent mixed number and a decimal, with the working laid out: the common denominator for addition and subtraction, multiplying across for a product, inverting the divisor for a quotient.

The arithmetic runs in arbitrary-precision integers, and reading a decimal as a fraction of its written digits is what makes that worth having. The string 0.1 becomes exactly one tenth here. Handed to a floating-point number it becomes 3602879701896397 / 36028797018963968, which is the nearest binary fraction and is not one tenth, which is why 0.1 + 0.2 famously misses 0.3 in almost every programming language. Adding thirds is the same story: a third has no finite decimal at all, so any calculator that converts to decimal first has already lost the answer before it starts.

Reduction uses the greatest common divisor, and the common denominator is the least common multiple rather than the product of the two denominators. Both give a correct answer; the second gives it with much larger numbers, so 1/12 + 1/18 comes out over 36 rather than over 216 and needs no cleanup afterwards.

A sign convention is worth stating because it catches people. A negative mixed number applies the minus to the whole quantity: -1 1/2 is negative three halves, not minus one plus a half. Written as an improper fraction it is -3/2, which is the unambiguous form to use if you are copying a value from somewhere else and are not certain how that source meant it. The decimal shown alongside each result is rounded for display — it is the fraction that is exact, and for a value like 1/3 the decimal can only ever be an approximation of it.

Frequently asked questions

What input formats are accepted?

Proper or improper fractions (3/4, 7/4), mixed numbers with a space (1 1/2), whole numbers (5), and decimals (1.25). Negative signs go in front: -3/4 or -1 1/2.

Is the result always fully reduced?

Yes. After every operation the fraction is divided by the greatest common divisor of numerator and denominator, so 8/12 is shown as 2/3.

Are the answers exact?

Yes — the calculator works with BigInt integers internally, so there's no floating-point error. The decimal field is rounded for display, but the fraction and mixed-number forms are exact.

How is a decimal turned into a fraction?

1.25 becomes 125/100, which reduces to 5/4. The number of decimal places sets the power-of-ten denominator before reducing.

What happens if I divide by zero?

Dividing by a fraction that equals zero is undefined, so the calculator shows an error instead of a result.

Related tools