Fraction calculator
Add, subtract, multiply or divide rational numbers exactly.
Input
Tip: press Ctrl + Enter to run
Saved settings
About this tool
Decimal arithmetic turns 1/3 into 0.333… and loses precision; fraction arithmetic keeps it exact. This calculator performs one operation on two fractions or whole numbers and returns the exact result reduced to lowest terms, which is what homework, recipes scaled by thirds and measurements in inches usually need.
How to use it
- Enter the first fraction, such as 3/4, or a whole number such as 2.
- Choose the operation: +, −, × or ÷.
- Enter the second fraction.
- Run it to see the exact result in lowest terms.
How the calculation works
Fractions are stored as whole-number numerators and denominators. Addition and subtraction use a common denominator, multiplication multiplies straight across, division multiplies by the reciprocal, and the result is divided by the greatest common divisor of its parts.
Worked example
A recipe needs 3/4 cup of milk but you only have 5/6 cup and want to know the difference. 3/4 − 5/6 = −1/12, so you have 1/12 cup more than needed. Over a common denominator of 12 that is 9/12 − 10/12.
Limitations
- Two operands and one operation at a time.
- No mixed-number input or output.
- Results are fractions; convert to a decimal by dividing numerator by denominator.
Last updated:
Frequently asked questions
Can I enter mixed numbers like 1 1/2?
Write them as improper fractions: 1 1/2 is 3/2.
Can I use decimals?
Enter fractions or whole numbers. Convert decimals first: 0.25 is 1/4.
Why does dividing by 0 fail?
Division by zero is undefined.
Troubleshooting
It says the input is invalid.
Use a single slash with whole numbers on each side, like 7/8, without spaces inside the fraction.
The answer is an improper fraction.
That is expected; convert 17/4 to 4 1/4 by dividing.
I need several operations.
Do them one at a time, using each result as the next input, or use the scientific calculator for decimals.
Privacy & Free to use
Are my inputs stored?
Your inputs stay in this tab. We do not receive your files, pasted text or calculation values.
Is this tool free?
Yes. No signup or payment is required.
See also
Useful next steps
Scientific calculator
Evaluate arithmetic, powers and trigonometric functions in radians without eval.
Maths & educationEquation solver
Solve real linear and quadratic equations ax² + bx + c = 0.
Maths & educationGPA calculator
Calculate a credit-weighted average from grade points you provide.
Maths & education