Math calculator
Fraction Calculator, Add, Subtract, Multiply & Divide with Steps
Add, subtract, multiply, and divide fractions with step-by-step solutions. Automatically simplifies results and converts to mixed numbers.
How CalcMesh works with fractions
We add, subtract, multiply and divide fractions over a common denominator and then reduce the result to lowest terms using the greatest common divisor, the procedure standard in arithmetic.
We also convert between improper fractions, mixed numbers and decimals; the reduction algorithm we use is described in our methodology.
How Fractions Work
Parts of a Fraction
A fraction has two parts: the numerator (top number, representing parts you have) and the denominator (bottom number, representing total equal parts).
Addition & Subtraction
You need a common denominator to add or subtract fractions. Multiply each fraction so they share the same bottom number, then add or subtract the top numbers.
Multiplication
Multiply numerators together and denominators together. This is the simplest fraction operation: a/b × c/d = (a×c) / (b×d).
Division
Flip the second fraction (take its reciprocal) and multiply: a/b ÷ c/d = a/b × d/c.
Simplifying Fractions
Find the greatest common divisor (GCD) of the numerator and denominator using the Euclidean algorithm, then divide both by it. For example:
- 12/18: GCD(12, 18) = 6 → 2/3
- 8/20: GCD(8, 20) = 4 → 2/5
- 15/25: GCD(15, 25) = 5 → 3/5
Converting to Decimals
Divide the numerator by the denominator. Some fractions give exact decimals (1/4 = 0.25), while others repeat (1/3 = 0.333...).
Worked example, 3/4 + 5/6
Labelled rational-arithmetic scenario:
- LCD of 4 and 6 is 12 → 9/12 + 10/12 = 19/12.
- Mixed form: 19/12 = 1 7/12; decimal ≈ 1.5833.
- Product 3/4 × 5/6 = 15/24 → reduce by 3 → 5/8.
- Division 3/4 ÷ 5/6 = 3/4 × 6/5 = 9/10.
After you run the numbers
What to do with the results
- Always reduce by the GCD after operating so equivalent fractions compare cleanly.
- LCD for add/subtract; multiply numerators/denominators for products; invert the divisor to divide.
- Mixed numbers are convenience display, the improper fraction is the algebraic form.
- Zero denominators are undefined; the tool should refuse them rather than invent a value.
Methodology & Assumptions
This fraction tool reduces and combines rationals with cross-product and GCD cancellation on the numerators and denominators you enter. Exact arithmetic is used until a float display is unavoidable; see the assumptions table.
How this divisor node runs
GCD/LCM and fraction tools use Euclidean and cross-product identities. Results are exact for integer inputs within JS safe-integer range. Published domain formulas
govern the identities; when an agency updates rates or thresholds we refresh defaults
and the page lastmod.
| Input | Default | Source / authority |
|---|---|---|
| Numerators & denominators | Non-zero denominators | Rational cross-product + GCD reduction |