Math / calculator
Fraction calculator
Add, subtract, multiply, or divide two fractions. Enter whole numerators and denominators to see a simplified fraction, mixed number, and decimal.
Calculator
Calculator
Calculate with two fractions.
Use integer numerators and nonzero integer denominators. Each integer is limited to ±1 trillion; arithmetic and simplification use exact BigInt values.
Your result
Enter details to see the result.
Complete the inputs and calculate to see the main result and its supporting breakdown.
Example
Worked example
Example inputs
- Operation
- Add
- First numerator
- 1
- First denominator
- 2
- Second numerator
- 1
- Second denominator
- 3
Calculation breakdown
Addition: a/b + c/d = (ad + bc)/bd. Subtraction uses ad − bc. Multiplication = ac/bd. Division = ad/bc. GCD reduces the fraction with a positive denominator.
- Simplified fraction
- 5/6
- Exact, with a positive denominator.
- Mixed number
- 0 5/6
Example result
Decimal equivalent
0.8333333333
Rounded decimal approximation; the fraction remains exact.
How to interpret the result
Addition: a/b + c/d = (ad + bc)/bd. Subtraction uses ad − bc. Multiplication = ac/bd. Division = ad/bc. GCD reduces the fraction with a positive denominator. Zero denominators and division by a zero fraction are rejected. Decimal outputs are floating-point approximations rounded to 10 decimal places.
How to use this calculator
- Select add, subtract, multiply, or divide.
- Enter whole numerators and nonzero denominators; do not divide by a fraction with zero numerator.
- Calculate and compare the exact reduced fraction, mixed number, and rounded decimal.
How it works
Formula
Addition: a/b + c/d = (ad + bc)/bd. Subtraction uses ad − bc. Multiplication = ac/bd. Division = ad/bc. GCD reduces the fraction with a positive denominator.
How do I add fractions with different denominators?
For a/b + c/d, use (ad + bc)/bd, then divide numerator and denominator by their greatest common divisor. The simplified fraction is exact; a repeating decimal can only be displayed approximately. Denominators must be nonzero.
What this calculator does
Enter integer numerators and denominators for two fractions. See the exact simplified fraction, a mixed number, and its rounded decimal equivalent.
Who this is useful for
Students and makers who need to retain exact fractional measurements instead of copying a rounded recurring decimal.
Inputs you will need
Required or selected inputs
- Operation
- First numerator
- First denominator
- Second numerator
- Second denominator
What to check before using the result
The simplified fraction is the exact answer within the supported integer bounds; its decimal display may be rounded. Division inverts the entire second fraction. A zero numerator is allowed, but a zero denominator is never a number, and dividing by a zero-valued fraction is undefined. Use the fraction when a recurring decimal would lose precision.
Assumptions
- Numerators and denominators are whole integers from −1 trillion to 1 trillion. BigInt keeps the rational calculation exact.
Limitations
- Zero denominators and division by a zero fraction are rejected. Decimal outputs are floating-point approximations rounded to 10 decimal places.
Useful next steps
For proportional whole-number terms or a missing ratio term, use Ratio calculator.
For a percent share or percent change, use Percentage calculator.
See how HandyChest handles units, validation, rounding, and testing, or Report a problem with this calculator.
Good to know
Frequently asked questions
Why does the decimal differ from the exact fraction?
Fractions can repeat forever in decimal form. The fraction is exact, while the decimal equivalent is deliberately rounded.
Keep going