Enter two numbers just as they look (whole-number box plus numerator and denominator boxes), and choose the operation (+ − × ÷) in the drop-down in the middle. Mixed numbers, fractions and whole numbers all work. The answer is shown as a simplified fraction, a mixed number and a decimal, with the steps.
Table of Contents
-
What you can do on this page
-
What is this calculation used for?
-
How to Use
-
Formula
-
Changing a mixed number to an improper fraction
-
Adding mixed numbers (change to improper fractions, use a common denominator, add the numerators)
-
Subtracting mixed numbers (change to improper fractions, use a common denominator, subtract the numerators)
-
Multiplying mixed numbers (change to improper fractions, multiply numerators and denominators)
-
Dividing mixed numbers (change to improper fractions, multiply by the reciprocal)
-
Simplifying and changing back to a mixed number
-
-
Symbols and terms
-
Good to know before you start
-
How to calculate it in Excel
-
How to calculate it in Google Sheets
-
How to calculate it in Python
-
How to write it in LaTeX and other math languages (copy and paste)
-
How to have ChatGPT do the calculation
-
DataChef Features
-
Related Features
-
NumberChef Calculators List
What you can do on this page
- Add, subtract, multiply and divide mixed numbers such as \(2\,\dfrac{1}{3} \times 1\,\dfrac{1}{2}\) on the spot. Just enter the whole number, numerator and denominator the way they look
- The answer is shown three ways: as a fraction in simplest form, as a mixed number and as a decimal. You can also see the steps in between, such as changing to improper fractions, finding a common denominator and simplifying
- Besides mixed numbers, you can mix in whole numbers and fractions (proper and improper), and use negative numbers
- A plain-language explanation of the formulas and copy-and-paste formulas for Excel, Google Sheets and Python are all on this page
What is this calculation used for?
Making 1.5 times (\(1\,\dfrac{1}{2}\) times) a recipe that calls for \(\dfrac{3}{4}\) cup of butter needs \(\dfrac{3}{4} \times \dfrac{3}{2} = \dfrac{9}{8} = 1\,\dfrac{1}{8}\) cups.
Recipes are written with mixed numbers such as "\(1\,\dfrac{1}{2}\) cups" and "\(2\,\dfrac{3}{4}\) cups", so this calculation comes up every time you adjust a recipe for more or fewer people.
Sizes of screws, bolts and lumber in inches are traditionally written as mixed numbers, such as "\(2\,\dfrac{3}{4}\) inches". For example, a 2×4 is actually \(1\,\dfrac{1}{2}\) inches thick, so two of them stacked are \(1\,\dfrac{1}{2} + 1\,\dfrac{1}{2} = 3\) inches.
Whenever you add up measurements or figure out how many pieces you can cut from a board, you really need to add, subtract, multiply and divide mixed numbers.
If one project uses \(1\,\dfrac{3}{4}\) yards and another uses \(2\,\dfrac{1}{2}\) yards, you need \(1\,\dfrac{3}{4} + 2\,\dfrac{1}{2} = 4\,\dfrac{1}{4}\) yards in total.
Fabric stores cut fabric in steps of \(\dfrac{1}{8}\) yard, so you can ask for exactly \(4\,\dfrac{1}{4}\) yards (4.25 yards as a decimal) and avoid buying too much or too little.
Studying \(1\,\dfrac{1}{2}\) hours (1 hour 30 minutes) a day, 6 days a week, adds up to \(1\,\dfrac{1}{2} \times 6 = 9\) hours a week.
Time works well with fractions (30 minutes = \(\dfrac{1}{2}\) hour, 15 minutes = \(\dfrac{1}{4}\) hour), so if you can multiply mixed numbers, you can quickly estimate the total time in a plan.
Changing between mixed numbers and improper fractions starts in Grade 4, adding and subtracting fractions with unlike denominators is Grade 5, multiplying fractions is Grade 5, and dividing fractions by fractions is Grade 6. It is a core part of elementary and middle school math.
If an adult can explain the thinking in words (change to improper fractions → find a common denominator → calculate → simplify), checking homework becomes more than marking answers right or wrong. The steps on this page follow that same order.
Formula
Symbols and terms
Symbols
| \(\dfrac{a}{b}\) | a over b | A fraction. The top \(a\) is the numerator and the bottom \(b\) is the denominator. It has the same value as \(a \div b\). The denominator \(b\) cannot be 0. |
| \(a\,\dfrac{b}{c}\) | a and b over c (mixed number) | The left mixed number. It is the whole part \(a\) written next to the proper fraction \(\dfrac{b}{c}\), and it means \(a + \dfrac{b}{c}\). In this calculator, you enter it in separate whole-number, numerator and denominator boxes. |
| \(d\,\dfrac{e}{f}\) | d and e over f (mixed number) | The right mixed number. Different letters are used to tell it apart from the left one in the formulas. It means \(d + \dfrac{e}{f}\), in the same way. |
| \(g\) | g | The greatest common factor used in the simplifying formula. It is the largest number that divides both the numerator and the denominator (for example, 3 for 21 and 6). |
| \(\div\) | divided by | The division sign. In fraction division, you replace it with multiplication by the reciprocal of the divisor. |
Terms
| mixed number | A number written as a whole number followed by a proper fraction, such as \(3\,\dfrac{1}{2}\) ("three and one half"). It means "whole number + fraction", and its strength is that you can see its size at a glance. It suits everyday amounts, such as "three and a half cups". |
| improper fraction | A fraction whose numerator is equal to or greater than its denominator, such as \(\dfrac{7}{2}\). It is better than a mixed number for calculating, especially for multiplication and division. The quotient and remainder of numerator ÷ denominator turn it into a mixed number. |
| proper fraction | A fraction whose numerator is smaller than its denominator, such as \(\dfrac{1}{2}\) or \(\dfrac{3}{4}\). Its value is always less than 1. The fraction part of a mixed number is a proper fraction. |
| numerator | The top number of a fraction. The denominator tells how many equal parts 1 is split into, and the numerator tells how many of those parts there are. |
| denominator | The bottom number of a fraction. It tells how many equal parts 1 is split into. It cannot be 0 (that would mean dividing by 0). |
| common denominator | A denominator shared by two or more fractions. Rewriting fractions with different denominators so that they have the same one usually uses the least common multiple of the denominators (the least common denominator, LCD). It is needed before adding or subtracting, but not for multiplying or dividing. |
| simplify | To divide the numerator and denominator of a fraction by a common factor to make it simpler (also called reducing). Dividing by the greatest common factor does it in one step (for example, \(\dfrac{21}{6} = \dfrac{7}{2}\)). |
| least common multiple (LCM) | The smallest multiple that two numbers share. Example - the least common multiple of 4 and 7 is 28. It is used as the common denominator. |
| greatest common factor (GCF, GCD) | The largest number that divides both of two numbers. Example - the greatest common factor of 21 and 6 is 3. It is used to simplify. It is also called the greatest common divisor (GCD). |
| reciprocal | A fraction with its numerator and denominator swapped (for example, the reciprocal of \(\dfrac{4}{3}\) is \(\dfrac{3}{4}\)). A number times its reciprocal is 1. Dividing by a fraction can be replaced by multiplying by its reciprocal. |
Good to know before you start
Here is what helps you use the calculation on this page with real understanding, not just by pressing the button.
If you get stuck, going back over these topics is the quickest way forward.
| What a fraction means (Grade 3) |
|
| Mixed numbers and improper fractions (Grade 4) |
|
| Simplifying, common denominators, multiples and factors (Grades 4–6) |
|
| Adding and subtracting fractions (Grade 5) |
|
| Multiplying and dividing fractions (Grades 5–6) |
|
| Positive and negative numbers (Grade 7) |
|
How to calculate it in Excel
| Whole part of the mixed number a | 2 |
| Numerator of the mixed number b | 1 |
| Denominator of the mixed number c | 3 |
| Improper fraction numerator (a×c+b) | =B1*B3+B2 |
| Improper fraction denominator (c) | =B3 |
| Left numerator a | 3 |
| Left denominator b | 2 |
| Right numerator c | 1 |
| Right denominator d | 3 |
| Answer numerator (a×d+c×b) | =B1*B4+B3*B2 |
| Answer denominator (b×d) | =B2*B4 |
| As a decimal | =B5/B6 |
| Left numerator a | 3 |
| Left denominator b | 2 |
| Right numerator c | 3 |
| Right denominator d | 4 |
| Answer numerator (a×d−c×b) | =B1*B4-B3*B2 |
| Answer denominator (b×d) | =B2*B4 |
| As a decimal | =B5/B6 |
| Left numerator a | 7 |
| Left denominator b | 3 |
| Right numerator c | 3 |
| Right denominator d | 2 |
| Answer numerator (a×c) | =B1*B3 |
| Answer denominator (b×d) | =B2*B4 |
| As a decimal | =B5/B6 |
| Numerator of the fraction being divided a | 4 |
| Denominator of the fraction being divided b | 1 |
| Numerator of the divisor c | 4 |
| Denominator of the divisor d | 3 |
| Answer numerator (a×d) | =B1*B4 |
| Answer denominator (b×c) | =B2*B3 |
| As a decimal | =B5/B6 |
| Numerator before simplifying p | 21 |
| Denominator before simplifying q | 6 |
| Simplified numerator (p÷GCF) | =B1/GCD(B1,B2) |
| Simplified denominator (q÷GCF) | =B2/GCD(B1,B2) |
| Whole part of the mixed number (quotient) | =QUOTIENT(B3,B4) |
| Numerator of the mixed number (remainder) | =MOD(B3,B4) |
To calculate with mixed numbers, first change them to improper fractions with the first table, put those numerators and denominators into tables 2 to 5, then simplify the answer's numerator and denominator with the sixth table.
For example, the fourth table, for multiplication (\(\dfrac{7}{3} \times \dfrac{3}{2}\)), gives an answer numerator of 21 and denominator of 6. Simplifying with the sixth table gives \(\dfrac{7}{2}\), and as a mixed number, whole part 3 and numerator 1 (= \(3\,\dfrac{1}{2}\)).
GCD finds the greatest common factor (greatest common divisor), QUOTIENT the whole-number part of a division, and MOD the remainder.
How to calculate it in Google Sheets
| Whole part of the mixed number a | 2 |
| Numerator of the mixed number b | 1 |
| Denominator of the mixed number c | 3 |
| Improper fraction numerator (a×c+b) | =B1*B3+B2 |
| Improper fraction denominator (c) | =B3 |
| Left numerator a | 3 |
| Left denominator b | 2 |
| Right numerator c | 1 |
| Right denominator d | 3 |
| Answer numerator (a×d+c×b) | =B1*B4+B3*B2 |
| Answer denominator (b×d) | =B2*B4 |
| As a decimal | =B5/B6 |
| Left numerator a | 3 |
| Left denominator b | 2 |
| Right numerator c | 3 |
| Right denominator d | 4 |
| Answer numerator (a×d−c×b) | =B1*B4-B3*B2 |
| Answer denominator (b×d) | =B2*B4 |
| As a decimal | =B5/B6 |
| Left numerator a | 7 |
| Left denominator b | 3 |
| Right numerator c | 3 |
| Right denominator d | 2 |
| Answer numerator (a×c) | =B1*B3 |
| Answer denominator (b×d) | =B2*B4 |
| As a decimal | =B5/B6 |
| Numerator of the fraction being divided a | 4 |
| Denominator of the fraction being divided b | 1 |
| Numerator of the divisor c | 4 |
| Denominator of the divisor d | 3 |
| Answer numerator (a×d) | =B1*B4 |
| Answer denominator (b×c) | =B2*B3 |
| As a decimal | =B5/B6 |
| Numerator before simplifying p | 21 |
| Denominator before simplifying q | 6 |
| Simplified numerator (p÷GCF) | =B1/GCD(B1,B2) |
| Simplified denominator (q÷GCF) | =B2/GCD(B1,B2) |
| Whole part of the mixed number (quotient) | =QUOTIENT(B3,B4) |
| Numerator of the mixed number (remainder) | =MOD(B3,B4) |
How to calculate it in Python
from fractions import Fraction
# Write a mixed number as "whole part + fraction part"
# (a negative mixed number -2 3/4 gets a minus sign on the whole thing: -(Fraction(2) + Fraction(3, 4)))
left = Fraction(2) + Fraction(1, 3) # mixed number 2 1/3 → improper fraction 7/3
right = Fraction(1) + Fraction(1, 2) # mixed number 1 1/2 → improper fraction 3/2
answer = left * right # change to + to add, - to subtract, / to divide
print(f"Simplified fraction: {answer}") # 7/2 (simplified automatically)
print(f"Decimal: {float(answer)}") # 3.5
# Change the improper fraction to a mixed number (e.g. 7/2 → 3 1/2)
whole = abs(answer.numerator) // answer.denominator # whole part (quotient of numerator ÷ denominator)
part = abs(answer.numerator) % answer.denominator # new numerator (remainder)
sign = "-" if answer < 0 else ""
print(f"Mixed number: {sign}{whole} {part}/{answer.denominator}")
How to write it in LaTeX and other math languages (copy and paste)
a b/c = (a×c + b)/c
a\dfrac{b}{c} = \dfrac{a \times c + b}{c}
<math xmlns="http://www.w3.org/1998/Math/MathML" display="block">
<mrow>
<mi>a</mi>
<mfrac><mi>b</mi><mi>c</mi></mfrac>
<mo>=</mo>
<mfrac>
<mrow><mi>a</mi><mo>×</mo><mi>c</mi><mo>+</mo><mi>b</mi></mrow>
<mi>c</mi>
</mfrac>
</mrow>
</math>
a b/c = (a xx c + b)/c
a + b/c
improper := (a*c + b)/c;
improper = (a*c + b)/c;
a b/c = (a×c + b)/c
a b/c + d e/f = (a×c + b)/c + (d×f + e)/f
a\dfrac{b}{c} + d\dfrac{e}{f} = \dfrac{a \times c + b}{c} + \dfrac{d \times f + e}{f}
<math xmlns="http://www.w3.org/1998/Math/MathML" display="block">
<mrow>
<mi>a</mi><mfrac><mi>b</mi><mi>c</mi></mfrac>
<mo>+</mo>
<mi>d</mi><mfrac><mi>e</mi><mi>f</mi></mfrac>
<mo>=</mo>
<mfrac>
<mrow><mi>a</mi><mo>×</mo><mi>c</mi><mo>+</mo><mi>b</mi></mrow>
<mi>c</mi>
</mfrac>
<mo>+</mo>
<mfrac>
<mrow><mi>d</mi><mo>×</mo><mi>f</mi><mo>+</mo><mi>e</mi></mrow>
<mi>f</mi>
</mfrac>
</mrow>
</math>
a b/c + d e/f = (a xx c + b)/c + (d xx f + e)/f
(a + b/c) + (d + e/f) // Together
answer := normal((a + b/c) + (d + e/f));
answer = simplifyFraction((a + b/c) + (d + e/f));
a b/c + d e/f = (a×c + b)/c + (d×f + e)/f
a b/c − d e/f = (a×c + b)/c − (d×f + e)/f
a\dfrac{b}{c} - d\dfrac{e}{f} = \dfrac{a \times c + b}{c} - \dfrac{d \times f + e}{f}
<math xmlns="http://www.w3.org/1998/Math/MathML" display="block">
<mrow>
<mi>a</mi><mfrac><mi>b</mi><mi>c</mi></mfrac>
<mo>−</mo>
<mi>d</mi><mfrac><mi>e</mi><mi>f</mi></mfrac>
<mo>=</mo>
<mfrac>
<mrow><mi>a</mi><mo>×</mo><mi>c</mi><mo>+</mo><mi>b</mi></mrow>
<mi>c</mi>
</mfrac>
<mo>−</mo>
<mfrac>
<mrow><mi>d</mi><mo>×</mo><mi>f</mi><mo>+</mo><mi>e</mi></mrow>
<mi>f</mi>
</mfrac>
</mrow>
</math>
a b/c - d e/f = (a xx c + b)/c - (d xx f + e)/f
(a + b/c) - (d + e/f) // Together
answer := normal((a + b/c) - (d + e/f));
answer = simplifyFraction((a + b/c) - (d + e/f));
a b/c - d e/f = (a×c + b)/c - (d×f + e)/f
a b/c × d e/f = ((a×c + b) × (d×f + e))/(c×f)
a\dfrac{b}{c} \times d\dfrac{e}{f} = \dfrac{(a \times c + b) \times (d \times f + e)}{c \times f}
<math xmlns="http://www.w3.org/1998/Math/MathML" display="block">
<mrow>
<mi>a</mi><mfrac><mi>b</mi><mi>c</mi></mfrac>
<mo>×</mo>
<mi>d</mi><mfrac><mi>e</mi><mi>f</mi></mfrac>
<mo>=</mo>
<mfrac>
<mrow><mo>(</mo><mi>a</mi><mo>×</mo><mi>c</mi><mo>+</mo><mi>b</mi><mo>)</mo><mo>×</mo><mo>(</mo><mi>d</mi><mo>×</mo><mi>f</mi><mo>+</mo><mi>e</mi><mo>)</mo></mrow>
<mrow><mi>c</mi><mo>×</mo><mi>f</mi></mrow>
</mfrac>
</mrow>
</math>
a b/c xx d e/f = ((a xx c + b) xx (d xx f + e))/(c xx f)
(a + b/c)*(d + e/f) // Together
answer := normal((a + b/c)*(d + e/f));
answer = simplifyFraction((a + b/c)*(d + e/f));
a b/c × d e/f = ((a×c + b) × (d×f + e))/(c×f)
a b/c ÷ d e/f = (a×c + b)/c × f/(d×f + e)
a\dfrac{b}{c} \div d\dfrac{e}{f} = \dfrac{a \times c + b}{c} \times \dfrac{f}{d \times f + e}
<math xmlns="http://www.w3.org/1998/Math/MathML" display="block">
<mrow>
<mi>a</mi><mfrac><mi>b</mi><mi>c</mi></mfrac>
<mo>÷</mo>
<mi>d</mi><mfrac><mi>e</mi><mi>f</mi></mfrac>
<mo>=</mo>
<mfrac>
<mrow><mi>a</mi><mo>×</mo><mi>c</mi><mo>+</mo><mi>b</mi></mrow>
<mi>c</mi>
</mfrac>
<mo>×</mo>
<mfrac>
<mi>f</mi>
<mrow><mi>d</mi><mo>×</mo><mi>f</mi><mo>+</mo><mi>e</mi></mrow>
</mfrac>
</mrow>
</math>
a b/c -: d e/f = (a xx c + b)/c xx f/(d xx f + e)
(a + b/c)/(d + e/f) // Together
answer := normal((a + b/c)/(d + e/f));
answer = simplifyFraction((a + b/c)/(d + e/f));
a b/c ÷ d e/f = (a×c + b)/c × f/(d×f + e)
p/q = (p ÷ g)/(q ÷ g)
\dfrac{p}{q} = \dfrac{p \div g}{q \div g}
<math xmlns="http://www.w3.org/1998/Math/MathML" display="block">
<mrow>
<mfrac><mi>p</mi><mi>q</mi></mfrac>
<mo>=</mo>
<mfrac>
<mrow><mi>p</mi><mo>÷</mo><mi>g</mi></mrow>
<mrow><mi>q</mi><mo>÷</mo><mi>g</mi></mrow>
</mfrac>
</mrow>
</math>
p/q = (p -: g)/(q -: g)
Simplify[p/q]
answer := simplify(p/q);
answer = simplifyFraction(sym(p)/sym(q));
p/q = (p÷g)/(q÷g)
How to have ChatGPT do the calculation
You are a fraction calculation assistant. Do the following calculation by actually running Python code (the fractions module is recommended), and base your answer only on the numbers from the execution result (do not answer by mental math or guessing). For the mixed numbers 2 1/3 (two and one third) and 1 1/2 (one and one half), calculate the following four: 1. Addition (2 1/3 + 1 1/2) 2. Subtraction (2 1/3 − 1 1/2) 3. Multiplication (2 1/3 × 1 1/2) 4. Division (2 1/3 ÷ 1 1/2) Give each answer three ways: as a fraction in simplest form, as a mixed number and as a decimal. Show the formulas you used and the numbers from the execution result in a table.
How to Use
-
1Enter your numbersType the numbers you want to calculate with into the input fields
-
2CalculatePress the "Calculate" button
-
3Check the resultThe result appears on the spot. The same page also explains the idea behind the calculation and the formula
DataChef Features
No technical knowledge required.
Intuitive and user-friendly operation.
Can be used without registering personal information.
Automatic file deletion by clicking "download".
and rapid file conversion.
No attribution required.
No need to contact us for commercial use permission.
