Fraction Calculator
Operate on fractions and mixed numbers, simplify the result, or convert a decimal to a fraction.
Fractions
Limits
- Whole-number numerators and denominators only. Results stay within JavaScript safe integers for typical school and everyday use; extremely large integers can lose exactness.
- Decimal conversion is an approximation with denominator at most 10,000.
- Division by zero is rejected.
Result
How to use Fraction Calculator
- Enter two fractions or a decimalEach fraction can include an optional whole number for mixed form. Or switch to decimal-to-fraction mode.
- Choose the operationAdd, subtract, multiply or divide. The result is simplified and also shown as a mixed number and a decimal.
Limits and how it works
- Whole-number numerators and denominators only. Results stay within JavaScript safe integers for typical school and everyday use; extremely large integers can lose exactness.
- Decimal conversion is an approximation with denominator at most 10,000.
- Division by zero is rejected.
Exact integer arithmetic
Operations use integer cross-multiplication and then divide out the greatest common factor. Denominators cannot be zero. Decimal conversion uses continued fractions and simplifies, with a maximum denominator of 10,000 — repeating decimals may be approximated.
Numerators, denominators and mixed wholes must be whole numbers. For a fraction such as 2.5/3, convert the decimal first or scale both parts (5/6).
Frequently asked questions
How is 1/2 + 1/3 computed?
A common denominator is used (6), giving 3/6 + 2/6 = 5/6, then simplified (already in lowest terms).
Will 0.333… become 1/3?
A finite typing of 0.333 or 0.3333 will be approximated. 0.3333 becomes 3333/10000, which simplifies; closer input gets closer to 1/3. Exact 1/3 must be entered as a fraction.
Are values uploaded?
No.
Related tools
All toolsScientific Calculator
Trigonometry, logs, factorials and expressions, in degrees or radians.
Percentage Calculator
Calculate percentages, percent change, discounts, and markups fast.
Average Calculator
Mean, median, mode and range, or a weighted average.
Grade Calculator
Find a weighted course grade or the score you need on a final exam.