How this calculation works
Integer arithmetic keeps the fraction exact within the input limits. After the selected operation, the numerator and denominator are reduced by their greatest common divisor and the denominator is made positive.
a/b + c/d = (ad + bc)/(bd); simplify by the numerator-denominator GCDA worked example
1/2 + 1/3 = (3 + 2)/6 = 5/6, approximately 0.833333.
Good to know
Exact integer fraction operations under the stated numerator/denominator bounds. Both denominators must be nonzero and the divisor fraction must also be nonzero for division. Signs are normalized, common factors are removed and only the decimal approximation is rounded.
Multiplication and division use different fraction rules
Multiply fractions by multiplying their numerators and denominators. For 2/3 × 9/10, the unreduced result is 18/30 and the reduced result is 3/5. A common factor can be removed before or after multiplication without changing the rational value.
Division by a nonzero fraction uses its reciprocal. For 2/3 ÷ 4/5, multiply 2/3 by 5/4 to get 10/12 = 5/6. The second numerator cannot be zero in division, even though a zero numerator is otherwise a valid fraction. The repeating decimal to fraction tool supplies an exact rational for a specified repeating decimal block.
The fraction simplifier reduces a single pair of integer terms without performing a second arithmetic operation. The fraction to decimal converter instead follows division remainders and marks a recurring block explicitly.
A zero denominator is different from a zero numerator
Zero divided by a nonzero denominator is zero. A fraction with zero as its denominator is undefined and is rejected before an operation. If a denominator is negative, the sign is moved to the numerator so that the displayed denominator remains positive.
The tool uses exact integer arithmetic for the fraction itself. Its decimal result is a separate approximation and should not be substituted back as though it were the same exact representation. Mixed numbers must first be written as integer numerator/denominator pairs; the numerator can be larger than the denominator.
A few questions, answered
Can I multiply by a zero fraction?
Yes, as long as its denominator is nonzero. The product then reduces to zero.
Can I divide by 0/5?
No. That fraction has value zero, so using its reciprocal would divide by zero.
Does simplifying change the value?
No. Dividing numerator and denominator by the same nonzero common factor preserves the rational value.