Fraction Calculator
Add, subtract, multiply, or divide two fractions with the answer simplified automatically.
Free Fraction Calculator
This fraction calculator handles addition, subtraction, multiplication, and division of two fractions, with every result automatically simplified to lowest terms using the greatest common factor. Addition and subtraction find a common denominator first; multiplication multiplies straight across; division multiplies by the reciprocal.
Each answer is shown as a simplified fraction, a decimal, and — where applicable — a mixed number, with the working shown step by step so you can follow exactly how the result was reached.
Free, instant, and runs entirely in your browser — no sign-up required.
About the Fraction Calculator
How It Works & Methodology
This calculator performs the four basic operations on two fractions, automatically finding a common denominator when needed, simplifying the result to lowest terms, and showing a mixed number and decimal equivalent alongside the step-by-step working.
Features
Four operations
Add, subtract, multiply, and divide.
Auto-simplified
Every result reduced to lowest terms.
Mixed number and decimal
See the answer in multiple formats.
Instant, private
Runs entirely in your browser. No data is sent anywhere.
Mathematical Basis & Practical Verification
The Fraction Calculator is built on symbolic algebraic manipulation, polynomial root-finding theorems, matrix row-reduction, and exact rational arithmetic. Add, subtract, multiply, and divide fractions with step-by-step working and automatic simplification to lowest terms. Key capabilities built into this tool include add, subtract, multiply, divide, automatic simplification, and step-by-step working.
All computations for the Fraction Calculator follow the definitions established in NIST Digital Library of Mathematical Functions (DLMF) — Elementary & Algebraic Functions (National Institute of Standards and Technology (NIST)) and Abramowitz and Stegun: Handbook of Mathematical Functions (National Bureau of Standards (NBS)). Because the solver evaluates inputs locally in IEEE 754 double-precision arithmetic (53-bit significand, ~15–17 significant decimal digits) and is regression-tested against deterministic reference fixtures in tests/fraction-calculator.spec.ts, you can inspect boundary conditions, verify dimensional consistency across algebra units, and cross-check each intermediate step against textbook solutions.
Related Calculators & Tools
Solve any quadratic equation with step-by-step working, real and complex roots, discriminant analysis, and a parabola graph.
Solve 2×2 and 3×3 systems of linear equations with full step-by-step working — substitution, elimination, and special-case handling, all in your browser.
Factor any polynomial expression fully — GCF, difference of squares, trinomials, cubes, and grouping — with step-by-step working shown, all in your browser.
Calculate slope, intercepts, and the equation of a line from two points, a point and slope, or an equation — with step-by-step working and a live graph.
Authoritative Sources & Standards
- NIST Digital Library of Mathematical Functions (DLMF) — Elementary & Algebraic Functions — National Institute of Standards and Technology (NIST)
- Abramowitz and Stegun: Handbook of Mathematical Functions — National Bureau of Standards (NBS)
Frequently Asked Questions
How do you add fractions with different denominators?
Find a common denominator (typically the LCM of the two denominators), rewrite both fractions over it, then add the numerators and keep the common denominator.
How do you multiply fractions?
Multiply the numerators together and the denominators together — no common denominator is needed for multiplication.
How do you divide fractions?
Multiply the first fraction by the reciprocal (flipped version) of the second fraction — dividing by a fraction is the same as multiplying by its inverse.
Why is my answer automatically simplified?
The calculator divides the numerator and denominator by their greatest common factor so the fraction is always shown in lowest terms.
Can I use negative numbers?
Yes — enter a negative sign on the numerator or denominator, and the calculator handles the sign correctly in the result.
What happens if I enter a denominator of zero?
Division by zero is undefined, so the calculator shows an error rather than a result if either denominator is zero.
What's a mixed number?
A mixed number combines a whole number and a proper fraction, like 1 1/2 instead of 3/2 — the calculator shows this alongside the simplified fraction.
Can I enter improper fractions?
Yes — a numerator larger than the denominator (like 7/4) works fine and is converted to a mixed number in the results.
Does this work with whole numbers?
Yes — enter a whole number as a fraction over 1, such as 5/1, and it will combine correctly with any other fraction.