Everyday mathematics · Calculation notebook

Fraction Calculator: Exact Fraction Arithmetic: Worked Examples

Follow fraction addition, subtraction, multiplication and division examples. Learn common denominators, GCD reduction and the rules for zero divisors.

Why the calculation is structured this way

Addition and subtraction need a common denominator. Multiplication multiplies the two numerators and denominators; division multiplies by the reciprocal. Reducing by the GCD removes shared factors without changing the rational value. Normalize a negative denominator by moving its sign to the numerator so equivalent answers have a consistent form.

A second scenario you can verify

Three eighths plus five twelfths uses denominator 24: 9/24 + 10/24 = 19/24. Multiplying the same fractions gives 15/96 = 5/32. Dividing them gives (3 × 12)/(8 × 5) = 36/40 = 9/10. These are different relations even though the four input integers stay unchanged.

What changes the interpretation

A fraction with denominator zero is undefined, and dividing by a zero-valued fraction is also undefined. A repeating decimal is not an error in the exact rational result. This tool does not interpret mixed-number prose automatically; convert one and a half to 3/2 before entering it.

Audit exact results before converting them to decimals

An exact fraction records a rational relation, while a finite decimal may discard repeating digits. For one fifth plus one third, common denominator fifteen gives three fifteenths plus five fifteenths, or eight fifteenths. Its decimal repeats. Rounding both original values to one decimal would instead calculate 0.2 + 0.3 = 0.5, losing the distinction before the sum.

For multiplication, cancel shared cross factors before building large intermediate products. Fourteen fifteenths multiplied by twenty-five twenty-firsts reduces to two thirds times five thirds, giving ten ninths. Direct product 350/315 reduces to the same answer. Do not apply this cross-cancellation to unrelated terms across addition; factor cancellation requires a multiplicative structure.

For division, a reciprocal needs a nonzero numerator in the divisor. Dividing −3/5 by 9/10 gives (−3 × 10)/(5 × 9) = −30/45 = −2/3. Multiplying −2/3 by 9/10 returns −3/5, an inverse check. A divisor of 0/10 cannot be inverted even though its own denominator is valid.

The sign should be normalized consistently: 3/−7, −3/7 and −6/14 describe the same rational value. Reducing a zero numerator produces zero with a nonzero canonical denominator rather than a divide-by-zero error. Whole-number input bounds ensure the integer representation is exact, and an invalid decimal numerator should be corrected rather than silently truncated.

Use the exact result through later arithmetic. For currency or measurement, choose a declared rounding boundary and practical allocation only at the end. Exact rational arithmetic preserves the recorded numbers; it does not imply that a physical measurement written as a fraction has no uncertainty.

Input reference and units

These values reproduce the model’s demonstration. Replace them with your own records or measurements; they are not recommended targets.

On a small screen, swipe horizontally to see all columns. With a keyboard, focus the table and use the arrow keys.

Parameters used by this calculator
ParameterDemonstration valueHow to enter it
First numerator1 Enter first numerator without adding a unit suffix. Scope: Fractional numerators or denominators are rejected rather than truncated.
First denominator2 Enter first denominator without adding a unit suffix. Scope: Fractional numerators or denominators are rejected rather than truncated.
Operation+ Select the explicitly labeled convention before interpreting the numerical input.
Second numerator1 Enter second numerator without adding a unit suffix. Scope: Fractional numerators or denominators are rejected rather than truncated.
Second denominator3 Enter second denominator without adding a unit suffix. Scope: Fractional numerators or denominators are rejected rather than truncated.

Fraction Calculator: calculation relationships

Add, subtract, multiply or divide two integer fractions. The rational result is reduced exactly using integer arithmetic; a decimal approximation is also displayed. Fractional numerators or denominators are rejected rather than truncated. Denominators and a divisor fraction must be nonzero; decimal output is approximate.

Addition requires a common denominator. One quarter plus two thirds becomes (1×3 + 2×4)/(4×3) = 11/12. Reduce numerator and denominator by their GCD after the operation. Multiplication instead multiplies numerators and denominators directly; division inverts the nonzero second fraction. The fraction string is exact even when its displayed decimal repeats.

a/b + c/d = (ad + bc)/bd; reduced numerator = numerator / gcd(numerator, denominator)
  • a: First numerator. Enter first numerator without adding a unit suffix. Scope: Fractional numerators or denominators are rejected rather than truncated.
  • b: First denominator. Enter first denominator without adding a unit suffix. Scope: Fractional numerators or denominators are rejected rather than truncated.
  • mode: Operation. Select the explicitly labeled convention before interpreting the numerical input.
  • c: Second numerator. Enter second numerator without adding a unit suffix. Scope: Fractional numerators or denominators are rejected rather than truncated.
  • d: Second denominator. Enter second denominator without adding a unit suffix. Scope: Fractional numerators or denominators are rejected rather than truncated.
  • Result units: stated beside each output
  • Calculation relationship: a/b + c/d = (ad + bc)/bd; reduced numerator = numerator / gcd(numerator, denominator)
  • Supported domain: see the limits below

Worked example

Fraction Calculator baseline input: First numerator: 1; First denominator: 2; Operation: +; Second numerator: 1; Second denominator: 3. Output: Simplified fraction = 5/6; Decimal = 0.833333333333. Substitute these values into the displayed equation to reproduce the result.

Reproduce the default scenario

This reproduces the default inputs in the reference table above; it is not an additional independent example. Displayed rounding may differ from intermediate precision.

Simplified fraction
5/6
Decimal
0.833333333333

Common questions and boundary checks

Why must denominators be nonzero?

A fraction denotes division by its denominator, which is undefined at zero.

Can I divide by 0/7?

No. That fraction is zero, so the operation would divide by zero.

Is the decimal the exact answer?

Not always. The reduced numerator and denominator preserve the exact rational value.

What happens to a negative denominator?

Its sign is normalized into the numerator.

Can I enter a mixed number directly?

Use its improper-fraction form, such as 3/2 for one and a half.

Sources and content notes

Toolify describes the implemented algorithm and its assumptions. Sources below support the topic or applicable rules; they do not endorse this calculator. Examples are illustrative, and published rules take precedence over simplified estimates.

Report a formula, example or translation issue through our contact page. Include the tool name, inputs and expected result so it can be reproduced. Contact Toolify

From question to result

Continue with a related question

Explore all Everyday mathematics tools and guides