Fraction Calculator

Answer
5/6
0.833333 as a decimal
Improper5/6
Decimal0.833333
[ WORKING ]
First 1/2
Second 1/3
1/2 + 1/3 (1×3 + 1×2) / (2×3)
Answer 5/6
As a decimal 0.833333
[ WHAT THIS IS ]

Add, subtract, multiply, divide and compare fractions, with mixed numbers going in and coming out. Every answer is simplified, and the working shows how it got there.

Internally everything is an improper fraction with the sign on top and the denominator always positive. That one rule removes most of the sign bugs a fraction calculator can have: 1/−2 and −1/2 are the same number, and cross multiplication for comparison stays valid.

[ QUESTIONS ]

What does −2 1/3 mean?

Minus two and a third — that is, −7/3. The sign belongs to the whole quantity, not to the fraction part alone. Reading it as −2 plus a third gives −5/3, which is a different number by two thirds, and it is the commonest bug in a fraction calculator. This tool asks you to put the sign on the whole number so there is nothing to misread.

Why does 0.3333 not become one third?

Because it is not one third. 0.3333 is 3333/10000, and that is what the tool gives you. It does show the simplest fraction close to what you typed — a third, in this case — clearly labelled as an approximation. Offering it is useful; substituting it silently would be a lie about what you entered.

How does it compare two fractions?

By cross multiplication: 3/4 against 5/7 is 3 × 7 = 21 against 5 × 4 = 20, so the first is larger. That shortcut is only valid while both denominators are positive, which is why every fraction is normalised with its sign on the numerator before anything else happens.

Is 1/-2 the same as -1/2?

Yes, and the tool treats them as the same number. Both are normalised to −1/2 before any arithmetic, so a negative typed in the denominator cannot produce a different answer from the same negative typed on top.

Why does it refuse very large denominators?

Because past a certain size the products stop being exact in JavaScript arithmetic, and an inexact fraction answer is worse than no answer. The tool refuses rather than handing back a figure that is quietly wrong in the last digits.

[ THE MATHS ]
Adding
a/b + c/d  =  (ad + cb) / bd

then divide through by the greatest common divisor.

[ THE SIGN ON A MIXED NUMBER ]
−2 + 1/3 −5/3
−(2 + 1/3), which is what −2 1/3 means −7/3

Two thirds apart. The tool asks for the sign on the whole number so there is nothing to misread.

[ 0.3333 IS NOT A THIRD ]
Exact 3333/10000
Simplest close fraction 1/3

Both are shown. The first is what you typed; the second is what you probably meant. Which of those you want is your call, not the calculator's.

[ NEXT ]
38Ratio CalculatorSimplify, solve, scale and split
32Percentage CalculatorPercentage of, change and difference
18GWA CalculatorWeighted average across subjects
[ IMPORTANT ]

Exact arithmetic within the sizes the tool accepts. Decimal conversion is exact on the digits you type — a close fraction is offered alongside, never substituted. Nothing you type here is sent to our servers — the calculation runs entirely in your browser.