About the Fraction Calculator
The fraction calculator is a web-based tool that supports addition, subtraction, multiplication, and division of fractions. It automatically reduces the result to its simplest form and displays it as a fraction or an integer.
How to Use
- Enter fractions: type the numerator and denominator in the "Fraction 1" and "Fraction 2" input boxes (the numerator box holds the top number and the denominator box holds the bottom number, which cannot be 0).
- Choose an operation: pick one of the four operations from the dropdown: Addition (+), Subtraction (-), Multiplication (×), Division (÷).
- Calculate: click the "Calculate" button, or press Enter in any input box.
- View the result: the result is shown in the "Result" box at the bottom, as a fraction (e.g., 3/4) or an integer (e.g., 2).
- Use an example: click the "Example" button to fill in a random set of sample fractions and operations, then click "Calculate" to see the result, or edit the sample data for other calculations.
Supported Operation Rules
- Addition: a/b + c/d = (ad + bc)/bd
- Subtraction: a/b - c/d = (ad - bc)/bd
- Multiplication: a/b × c/d = ac/bd
- Division: a/b ÷ c/d = ad/bc
Notes
- The denominator cannot be 0, otherwise an error is shown.
- For division, the numerator of the second fraction also cannot be 0.
- Inputs must be integers (positive or negative).
- Results are automatically reduced, e.g., 2/4 is shown as 1/2.
- If the result is an integer (e.g., 4/1), it is shown directly as 4.