How this calculation works
Divide numerator and denominator by their greatest common divisor. Normalize a negative denominator by moving the sign to the numerator. The exact reduced fraction remains the same number, which is also placed on a number line. Long division separately identifies a terminating or recurring decimal when its pattern fits within the display limit.
a/b = (a ÷ gcd(|a|,|b|)) / (b ÷ gcd(|a|,|b|))A worked example
For 18/24, the common divisor is 6. Dividing both terms gives 3/4, whose decimal representation is 0.75. Dividing only the numerator would change the value and would not be simplification.
Good to know
Integer terms up to 10¹² in magnitude, with a nonzero denominator. Exact fraction reduction uses BigInt. Decimal expansion is capped at 200 digits and marks truncation explicitly. A number-line location is approximate. Mixed-number input belongs in its dedicated converter.
Reference: OpenStax Prealgebra: fractions and representations (opens in a new tab) ↗
Equivalent fractions occupy the same point
The numerators and denominators in 3/4 and 18/24 look different, but they describe the same number. Dividing both terms by the same nonzero common factor leaves their quotient unchanged. On a number line, the simplified and original representations occupy one position rather than two nearby positions.
A greatest common divisor removes every shared integer factor at once. For 18 and 24 it is six. Cancelling an addition sign or removing a factor from only one term would be a different operation and generally changes the value. The fraction arithmetic calculator applies operations to values; simplification changes only how one value is written.
A zero numerator deserves its own explanation: zero divided by any nonzero denominator is zero, conventionally written as the reduced fraction 0/1. A zero denominator is not another representation of zero and is rejected.
Keep sign normalization separate from decimal rounding
If the denominator is negative, moving that sign to the numerator preserves the value and makes comparisons easier to read. Thus 3/−4 and −3/4 are equivalent, while −3/−4 is positive 3/4. This normalization is independent of any decision about decimal display precision.
The fraction to decimal converter exposes terminating digits or a recurring block. A rounded decimal can be useful for measurement or display but does not replace the exact rational representation. In particular, 0.333 is not the same exact number as 1/3.
Use the mixed number converter when the source is written as a whole part plus a fractional part. Entering the characters “2 1/4” as though they were one integer numerator would lose the structure of the measurement. First combine the parts, then simplify the resulting fraction.
A few questions, answered
Does reducing a fraction change its size?
No. Both terms are divided by the same nonzero factor, so the value is unchanged.
Can the result be an integer?
Yes. When the reduced denominator is one, the result is displayed as the integer.
Why is a negative denominator moved?
It keeps one consistent convention: a positive denominator and any overall sign in the numerator.