HandyWorkLab

Home › Everyday calculators and converters

Fraction Calculator With Whole Numbers

Use this fraction calculator with whole numbers to add, subtract, multiply, or divide integers, fractions, and mixed numbers. Enter two or three values to get a reduced exact fraction, a mixed-number form when useful, a rounded decimal, and steps that show how the result was found.

Exact fraction arithmetic

Calculate with fractions and whole numbers

Enter values as integers, fractions such as 3/8, or mixed numbers such as 2 1/3. A minus sign applies to the whole value: -2 1/3.

Examples: 5, -7/10, 3 2/5. Fraction denominators cannot be zero.

Your simplified answer and working will appear here.

How to use this fraction calculator

Choose whether you want an ordinary calculation or an integer power. For ordinary arithmetic, select two or three values, choose add, subtract, multiply, or divide, and fill each value box. You can enter a whole number by itself, a fraction with a slash, or a mixed number with a space between its whole part and fraction. For example, enter 4, 7/12, or 1 5/6. The calculator accepts negative values too; write a negative mixed number like -1 5/6, with the sign at the beginning.

Press Calculate exactly to see the answer. The result includes a simplified improper fraction, its mixed-number form when it is not a whole number, a decimal rounded for readability, and a short sequence of calculation steps. If you need to include a third fraction, change the number of values to three. The same operation is applied from left to right: the first two values are combined, then the third is combined with that intermediate result. This makes the order visible instead of asking you to infer it from a single final number.

To use the exponent option, switch to Integer power, enter one fraction or whole number, and supply an integer exponent. A negative exponent is allowed for nonzero values and means to take the reciprocal before raising to the positive power. The tool checks the input before calculating and explains common errors, such as a missing numerator, a zero denominator, division by zero, or an exponent outside its supported range.

How the fraction calculation works

Each input is converted to a numerator over a denominator. A whole number such as 5 becomes 5/1. A mixed number such as 2 1/3 becomes (2 × 3 + 1)/3, or 7/3. A negative mixed number gets a negative numerator, so -2 1/3 becomes -7/3. Before displaying a result, the calculator divides the numerator and denominator by their greatest common divisor and moves any negative sign to the numerator. The denominator is therefore positive and the fraction is in lowest terms.

For addition and subtraction, the denominators must match. For a/b and c/d, the calculator forms the common denominator bd: addition gives (ad + bc)/bd, and subtraction gives (ad − bc)/bd. Multiplication uses (a × c)/(b × d). Division flips the second fraction and multiplies, giving (a × d)/(b × c); this is only defined when c is not zero. With three values, it repeats the selected operation from left to right, reducing each intermediate fraction as it goes.

For an integer exponent n, a fraction is raised by applying the power to the numerator and denominator: (a/b)n = an/bn for positive n. An exponent of zero returns 1 for a nonzero base. A negative exponent swaps numerator and denominator and then uses the positive exponent: (a/b)−n = (b/a)n. This reciprocal is impossible for a zero base, so zero to a negative power is rejected.

Worked example: add a mixed number and a fraction

Enter 1 1/2 and 2/3, choose addition, and calculate. First convert the mixed number: 1 1/2 = 3/2. The denominators are 2 and 3, so use 6 as a common denominator. Then 3/2 + 2/3 = (3 × 3 + 2 × 2)/(2 × 3) = (9 + 4)/6 = 13/6. Thirteen sixths is already reduced. As a mixed number it is 2 1/6, and its decimal display is 2.166667. The fraction is exact; only the decimal is rounded to six places.

Try a negative example to see how signs are handled: -3/4 + 1/2 becomes -3/4 + 2/4 = -1/4. For division, 3/5 ÷ 2 is calculated as 3/5 × 1/2 = 3/10. The displayed steps use the same values and operation you entered, so you can follow the conversion and reduction rather than relying on a decimal approximation.

Precision and limitations

The numerator and denominator answer is exact. A decimal can repeat forever, so this calculator rounds the decimal display to six places; use the fraction when exactness matters. Inputs must be integers, simple fractions, or mixed numbers, and exponents must be whole integers. The calculator does not parse algebraic expressions, decimals, chained expressions with different operator precedence, or variables. For a three-value calculation, it follows the selected operation left to right rather than applying a hidden order of operations.

Very large exponents can create impractically large values, so the tool limits the exponent magnitude and reports when an exponent is outside that limit. A fraction cannot have a zero denominator, division by zero is undefined, and zero cannot be raised to a negative power. This tool is for arithmetic practice and everyday calculations. If a result will be used where a small error has serious consequences, check it with an appropriate independent method.

Frequently asked questions

How do I enter a mixed number?

Type the whole part, a space, then the numerator and denominator, such as 2 1/3. For a negative mixed number, put the minus sign before the whole number: -2 1/3 means -(2 + 1/3).

Can I use three fractions in one calculation?

Yes. Select three values, enter the operands from left to right, and choose one operation. The calculator evaluates them in that order, so 1/2 + 1/3 + 1/4 is handled as (1/2 + 1/3) + 1/4.

Why is my decimal different from the fraction?

The fraction is the exact result. The decimal is rounded to six places for display, and some fractions have repeating decimal expansions, so the two displays may not appear to match exactly.

Can I raise a fraction to a negative exponent?

Yes, for any nonzero fraction. A negative exponent takes the reciprocal first: (2/3)^-2 = (3/2)^2 = 9/4. Zero raised to a negative exponent is undefined and is rejected.

For arithmetic practice and everyday calculations; verify results when precision is critical.

Last updated 2026-11-22. Runs entirely in your browser; nothing you enter is uploaded.

More in Everyday calculators and converters