Mixed Number Arithmetic & Order of Operations Calculator

Evaluate an expression containing mixed numbers, integers, and fractions. See how the operands convert to fractions and which operation comes next. The calculator gives the exact signed answer in mixed or whole form and as a reduced fraction.

Exact arithmetic

Mixed number workspace

Use a space in mixed numbers like 2 1/3. Type - to subtract and * to multiply. Use ÷ for division and / inside a fraction. Up to 16 operands.

Exact answer
2 3/8
Mixed number, whole, or proper fraction
Reduced fraction
19/8

Exact answer 2 3/8.

Convert operands to fractions

  1. 2 1/3

    (2 × 3 + 1)/3 = 7/3

  2. 3/4

    3/4

  3. 1 1/2

    (1 × 2 + 1)/2 = 3/2

Operations in order

  1. Subtract

    Parenthesis level 1

    7/3 − 3/4 = 19/12

    Use the least common denominator, 12. 28/12 − 9/12 = 19/12.

  2. Multiply

    Outside parentheses

    19/12 × 3/2 = 19/8

    Multiply numerators and denominators. 19/12 × 3/2 = 57/24 = 19/8.

How to use this calculator

  1. Enter an Expression with whole numbers, fractions like 3/4, or mixed numbers like 2 1/3.
  2. Add +, −, ×, or ÷ between operands. You can type a hyphen for subtraction or an asterisk for multiplication. The Insert ÷ button adds a division sign at your cursor.
  3. Use parentheses to group terms. Put a minus sign in front of a number or group to make it negative.
  4. Read the exact answer and its reduced fraction. Review the operand conversions and follow the operations in order to check your work.

The Formula

The mathematical logic powering this calculation is:

Write a mixed number as W N/D, with a nonnegative whole part W, a positive denominator D, and 0 ≤ N < D. Convert its magnitude to (W × D + N)/D. Apply a leading minus sign to that entire fraction. Whole numbers use denominator 1. Reduce each operand by dividing its numerator and denominator by their greatest common divisor.

Evaluate the innermost parentheses first and then apply any sign in front of the evaluated group. At a given level, multiply and divide from left to right before adding and subtracting from left to right.

For a/b + c/d or a/b − c/d, use L = lcm(b, d). Scale the numerators to a × (L/b) and c × (L/d), combine them with the indicated operation, and divide by L. To multiply, use (a × c)/(b × d). To divide by a nonzero c/d, multiply by its reciprocal d/c.

Reduce the result with a positive denominator. For mixed form, divide the absolute numerator by the denominator to get the whole part and remainder, then apply the sign to the full result. A zero remainder yields a whole number. A zero whole part yields a proper fraction.

The calculator uses exact integer arithmetic. Enter up to 320 characters, 16 operands, and 8 levels of parentheses. Each whole part, numerator, or denominator can contain up to 12 digits. Use explicit operators and keep the slash next to both parts of a fraction. Decimal notation, exponents, and implicit multiplication are outside this input grammar.

Worked Example

If you input:

  • Expression: (2 1/3 − 3/4) × 1 1/2

Result:

Convert 2 1/3 to 7/3 and 1 1/2 to 3/2. In parentheses, 28/12 − 9/12 = 19/12. Multiply by 3/2 to get 57/24, which reduces to 19/8 or 2 3/8.

Frequently Asked Questions

What does a minus sign before a mixed number mean?

The sign applies to the whole number and fraction together. For example, −2 1/3 means −(2 + 1/3), or −7/3.

Can I use slash as the division operator?

Use ÷ between operands. A slash belongs inside a fraction like 3/4. For example, to divide three quarters by two, enter 3/4 ÷ 2.

Can the fraction part of a mixed number be improper?

The fraction part needs a numerator smaller than its denominator. Write 2 5/3 as 11/3 or 3 2/3. Ordinary fractions such as 11/3 are accepted.

Which happens first, multiplication or division?

They have the same precedence. Work from left to right after evaluating parentheses. For example, 8 ÷ 2 × 1 1/2 gives 4 × 3/2, or 6.

What happens if a divisor becomes zero?

The calculator keeps the completed steps and marks the division that could not be evaluated. Change that divisor so it simplifies to a nonzero value.

Why is my mixed or whole answer written as a fraction?

When its magnitude is below one, the whole part is zero and the display shows only the proper fraction. For a whole number, the reduced fraction has denominator 1.

Similar Calculators