Fraction Calculator

Fraction calculator is a free tool that makes it easy to add, subtract, multiply, and divide fractions. It also has functions such as "multiple term calculation", "calculation history copy", and "decimal notation".
How to Use
- Enter fractions in the input fields.
- If you need more terms for calculation, add them.
- Calculation history will be displayed. Click to copy the formula and result.
Fraction Calculator
Step 1: Check Initial Values
When opening the page, "3/4" and "1/6" are pre-filled. Operators and delete buttons are not displayed initially.
Step 2: Adding Additional Terms
Click the "+ Add Term" button to add a new input row.
- Each row shows "operator + input field + delete button".
- Select an operator and enter a value.
- Use the "Delete" button to remove unwanted rows.
Step 3: Entering Values
Accepted input formats:
- Whole numbers (e.g., 2, -5)
- Fractions (e.g., 3/4, -2/5)
- Mixed numbers (e.g., 1 3/4, -2 1/2)
Negative numbers are also supported.
Step 4: Perform Calculation
Click "Calculate" when you have two or more terms entered.
Step 5: View Results
Results will be displayed in three formats (simplified fraction, mixed number, decimal).
The calculation will also be added to history - click any entry to copy it to clipboard.
Step 6: Reset
Click "Clear" to reset to initial state ("3/4" and "1/6").
Example: Using Negative Numbers
- Click "Clear" to reset
- Change "3/4" to "-1/2"
- Click "+ Add Term" and enter "3/4" with + operator
- Add another term with − operator and "2/3"
- Click "Calculate" to see results
Fraction Calculation Basics
1. Addition and Subtraction (a/b ± c/d
)
- Find common denominator: Determine LCM of b and d, adjust numerators
- Add/subtract numerators:
a'/lcm ± c'/lcm = (a' ± c') / lcm
- Simplify: Divide by GCD of numerator and denominator
Example: 2/3 + 1/4 → LCM(3,4)=12 → 8/12 + 3/12 = 11/12
2. Multiplication and Division
Multiplication (a/b × c/d
)
- Multiply numerators and denominators:
(a × c) / (b × d)
- Simplify the result
Example: 2/3 × 4/5 = 8/15
Division (a/b ÷ c/d
)
- Multiply by reciprocal:
a/b × d/c
- Follow multiplication steps
- Simplify
Example: 2/3 ÷ 4/5 = 2/3 × 5/4 = 10/12 = 5/6
3. Converting Between Mixed Numbers and Improper Fractions
- Improper → Mixed: Divide numerator by denominator for whole number part
- Mixed → Improper: (Whole number × denominator + numerator) / denominator
Example: 1 3/4 = (1×4 + 3) / 4 = 7/4
, 7/4 = 1 3/4
4. Handling Negative Signs
Negative fractions should have the minus sign on the numerator, keeping denominator positive.
5. Simplifying Fractions
Divide numerator and denominator by their GCD to get simplest form.
Example: 6/8 → 6÷2/8÷2 = 3/4
Quick Reference Guide
Operation | Procedure |
---|---|
Add/Subtract | Common denominator → operate numerators → simplify |
Multiply | Multiply numerators and denominators → simplify |
Divide | Multiply by reciprocal → follow multiplication steps |
Mixed Numbers | Convert between mixed and improper forms |
Signs | Keep negative sign on numerator (denominator positive) |
Simplifying | Always reduce to simplest form using GCD |
Notes
This tool is available for free.
*This program was created and tested using PHP8.2.22.
*Please send us your opinions and requests (requests for improvements) for all users.