Fraction Calculator

Enter two fractions and an operation to get the simplified result and its decimal equivalent.

=
5/6
0.8333
Mixed-number result
—
Percentage
—
Reduction
—
Step by step
—

Decimal conversion accepts up to 100 digits and an exponent from −100 to 100. For mixed numbers, the sign of a nonzero whole part applies to the entire number; enter its fractional numerator without a minus sign.

w<0 ⇒ −(|w|+n/d); w>0 ⇒ w+n/d; w=0 ⇒ n/d; w≠0 ⇒ n≥0; d>0. −100≤e≤100.

Approximate results show up to 12 significant digits. Decimal fields use a dot, up to 12 digits on each side, an exponent from −24 to 24 and absolute values up to 10¹². Rational intermediate numerators and denominators are limited to 512 bits. Integer and scientific-notation exceptions are specified below. a/b ± c/d=(ad±bc)/bd; (a/b)(c/d)=ac/bd; (a/b)/(c/d)=ad/bc; a,b,c,d ∈ ℤ; 1–100 digits; b,d ≠ 0.

How fraction arithmetic works

To add or subtract fractions, first give them a common denominator, then add or subtract the numerators. To multiply fractions, multiply the numerators together and the denominators together. To divide by a fraction, multiply by its reciprocal (flip the numerator and denominator).

The result is automatically simplified by dividing both the numerator and denominator by their greatest common divisor (GCD), so you always get the fraction in its lowest terms.

Frequently asked questions

How do you add fractions with different denominators?

Convert both fractions to a common denominator (usually the product of the two denominators, or their least common multiple), then add the numerators and keep the common denominator.

How do you divide fractions?

Multiply the first fraction by the reciprocal of the second — flip the second fraction's numerator and denominator, then multiply straight across.

Why is my result simplified to a whole number?

If the simplified numerator and denominator share no common factors other than 1 and the denominator reduces to 1, the fraction is mathematically equal to a whole number, so that's what's shown.

In what order are combined operations solved?

Innermost brackets ( ), [ ], { } first; inside each, powers and exact square roots (√), then multiplication and division from left to right, then addition and subtraction from left to right. A number next to a bracket multiplies it, and −2^2 = −4. Every step is exact, so 1/3 stays a fraction; × * · x and ÷ : / are accepted.

How we verified this calculator

The calculator is checked against 6 reference cases computed independently of its code. Last passed: .

# Inputs Expected result
1
Mode = Combined operations
Expression = (1/2)^2 - 1
Mixed-number result: -3/4
Percentage: -75%
2
Mode = Combined operations
Expression = 7 ÷ 4 − 3
Mixed-number result: -1 1/4
Percentage: -125%
3
Mode = Combined operations
Expression = √(16) + 2(3)
Mixed-number result: 10
Percentage: 1000%
4
Mode = Combined operations
Expression = 0,5 * 4 - (-3)
Mixed-number result: 5
Percentage: 500%
5
Mode = Combined operations
Expression = 2^-2
Mixed-number result: 1/4
Percentage: 25%
6
Mode = Combined operations
Expression = (1+2)(3+4)
Mixed-number result: 21
Percentage: 2100%

How we test our calculators →

Also try:

Back to category →