Everyday tool

Fraction Calculator

Enter fractions, mixed numbers or decimals, choose an operation and get a simplified answer.

Runs in your browser. No upload.

Simplified fraction
—
Mixed number
—
Decimal
—

About this tool

Fraction Calculator made simple.

The calculator reduces exact fractions with integer arithmetic, shows an optional mixed-number form and provides a decimal approximation. It accepts inputs such as 3/4, -2 1/3 and 0.125; division by zero is rejected.

Guide

Using Fraction Calculator

The Fraction Calculator adds, subtracts, multiplies or divides two numbers and gives the answer as a reduced fraction. You can type a fraction like 3/4, a mixed number like 2 1/3, or a decimal like 0.125. Below the answer you also see the mixed-number form and a decimal. It works with exact whole numbers, so there are no rounding slips in the fraction itself. It handles two values at a time. It does not do powers, roots, algebra or long chains of steps.

How to use it

  1. Type the first number in the top box. Use 3/4 for a fraction, 2 1/3 for a mixed number, or 0.125 for a decimal. A minus sign in front makes it negative.
  2. Pick the operation from the list: Add, Subtract, Multiply or Divide.
  3. Type the second number in the lower box, in any of the same three styles.
  4. Press the Calculate fraction button to run the sum.
  5. Read the three results: the simplified fraction, the mixed number and the decimal.
  6. To try something new, change a box and press the button again. The boxes start with 3/4 and 2/3 so you can see how it works.

Worked examples

Add two unlike fractions

You enter
First
3/4
Operation
add
Second
2/3
You get
Fraction
17/12
Mixed
1 5/12
Decimal
1.416666666667

Twelfths work for both parts: 9/12 plus 8/12 makes 17/12. That is one whole and 5/12 more.

Run through the tool’s own code.

Subtract from a mixed number

You enter
First
2 1/3
Operation
subtract
Second
1/2
You get
Fraction
11/6
Mixed
1 5/6
Decimal
1.833333333333

2 1/3 is 7/3. Take away 1/2 and you get 14/6 minus 3/6, which is 11/6.

Run through the tool’s own code.

Multiply a negative mixed number

You enter
First
-2 1/3
Operation
multiply
Second
1/2
You get
Fraction
-7/6
Mixed
-1 1/6
Decimal
-1.166666666667

The whole value is negative, so -2 1/3 is -7/3. Half of that is -7/6.

Run through the tool’s own code.

Divide one fraction by another

You enter
First
5/6
Operation
divide
Second
1/3
You get
Fraction
5/2
Mixed
2 1/2
Decimal
2.5

Dividing by 1/3 means multiplying by 3/1. So 5/6 times 3 is 15/6, which reduces to 5/2.

Run through the tool’s own code.

Mix a decimal with a fraction

You enter
First
0.125
Operation
add
Second
1/4
You get
Fraction
3/8
Mixed
3/8
Decimal
0.375

0.125 becomes 125/1000, which is 1/8. Add 2/8 and you get 3/8.

Run through the tool’s own code.

An answer that is a whole number

You enter
First
7/4
Operation
add
Second
1/4
You get
Fraction
2
Mixed
2
Decimal
2

The sum is 8/4. The top and bottom share a factor of 4, so it reduces all the way to 2.

Run through the tool’s own code.

When it helps

  • Check homework answers when you add or subtract fractions with different bottoms.
  • Scale a recipe, such as 3/4 cup times 1/2 for a half batch.
  • Add up lengths in a woodworking or sewing plan that uses inch fractions.
  • Turn a fraction into a decimal to compare it with a price or a percentage.
  • Work out how many small portions fit into a bigger one by dividing fractions.
  • Reduce a messy fraction like 18/24 by multiplying it by 1.

Limits to keep in mind

  • It takes exactly two values and one operation at a time. For a longer sum, do it step by step and paste each answer back in.
  • Division by zero is rejected, and so is a fraction with 0 on the bottom. The message is a general one: Check your input and try again, and the three result lines change to dashes.
  • Accepted styles are 3/4, 2 1/3 and plain or decimal numbers such as 0.125. Words, percent signs and exponents like 1e3 are not read.
  • A negative bottom number such as 3/-4 is not accepted. Put the minus sign in front of the whole fraction instead: -3/4.
  • Inputs can be at most 100 characters. If the answer would need more than 40 digits on the top or bottom, the tool shows the same general input error and the result lines change to dashes.
  • The decimal line shows at most 12 digits after the point, so a repeating decimal like 1/3 is cut off, not shown as a repeat.

Tips

  • Write mixed numbers with a space between the whole part and the fraction, like 2 1/3. Writing 2+1/3 will not work.
  • A comma works as a decimal point here, so 0,5 is read as 0.5. Do not use a comma as a thousands separator.
  • If you need a percentage, take the decimal and multiply it by 100 yourself.
  • To check a divide answer, multiply it back by the second number and see if you land on the first.
  • The fraction line is already in lowest terms. If your textbook answer looks different, it may just be unreduced, so compare the decimals.
  • When the answer needs to be a mixed number for a recipe or a ruler, read the second line, not the first.

Sources

Common questions

About Fraction Calculator.

How do I add fractions with different denominators?

Type both fractions, choose Add and press the button. The tool finds a shared bottom number for you and then reduces the result, so you do not need to find the common denominator by hand.

Can I type a mixed number like 1 3/4?

Yes. Write the whole part, a space, then the fraction, for example 1 3/4. Put a minus sign in front for a negative one, like -1 3/4. A plus sign is accepted too.

Does it simplify the answer?

Yes. It divides the top and the bottom by their greatest common divisor, so 6/8 shows as 3/4. The result is always in lowest terms, with the minus sign on the top when the answer is negative.

How do I divide fractions with this tool?

Enter the first fraction, choose Divide, then enter the second fraction. The tool flips the second one and multiplies. If the second value is zero, it shows an input error because you cannot divide by zero.

Can I use decimals instead of fractions?

Yes. A decimal like 0.125 is turned into an exact fraction first, here 1/8. You can mix a decimal in one box and a fraction in the other. The result still comes out as a reduced fraction.

Why does the decimal line stop after 12 digits?

A fraction like 1/3 repeats forever, and a screen cannot show that. The decimal is rounded for display only. The fraction line stays exact, so use that one when you need the precise value.

What does the error message mean?

It means the tool could not read a box or the math is not allowed. Common causes are an empty box, a zero on the bottom, a word, or a bottom number with a minus sign. Fix the box and press the button again.

Is this different from the percentage or ratio calculator?

Yes. This one does arithmetic on two fractions and gives an exact fraction. The percentage tool works with percent of a number and change, and the ratio tool finds a missing term in A:B = C:X.

Is my data sent anywhere?

No. The math runs in your browser on your own device. The numbers you type are not uploaded, and you do not need an account to use the page.

When should I not trust the result?

Be careful if your input is a rounded decimal. Typing 0.33 means exactly 33/100, not one third. For tests or work that must be exact, type 1/3 and check the rules from your teacher or your project.

Can this calculator work with mixed numbers?

Yes. Enter a mixed number such as 2 1/3, a fraction such as 5/6 or a decimal such as 0.125.

Does it simplify fractions?

Yes. Fraction arithmetic uses exact integers and reduces the final numerator and denominator by their greatest common divisor.