Student and education tools

Fraction calculator

Add, subtract, multiply, divide or simplify fractions and mixed numbers. See exact reduced results, repeating decimals, and clear working with local downloads.

Enter your fractions

First number
Whole-number part (optional)
Second number
Whole-number part (optional)

Leave Whole blank for an ordinary fraction. The sign applies to the entire mixed number.

Enter both fractions, or choose Simplify for one number.

Proper fractions, improper fractions and mixed numbers

Enter the numerator above the denominator. The denominator must be positive and nonzero; choose Negative to make the entire number negative. Leave Whole blank for a fraction such as 3/4. For 2 1/3, open Whole-number part and enter 2, then enter Numerator 1 and Denominator 3. Negative 2 1/3 means −(2 + 1/3), or −7/3.

The numerator may exceed the denominator. For a whole number alone, enter it in Whole and use Numerator 0, Denominator 1. Simplify ignores the second number while keeping its inputs for later. Swapping numbers changes the order for subtraction and division.

See how the answer is obtained

Mixed numbers first become improper fractions. Addition and subtraction use the least common denominator. Multiplication multiplies the two numerators and denominators; division multiplies by the second number’s reciprocal. Finally, numerator and denominator are divided by their greatest common divisor and any sign moves to the numerator.

Understand the decimal form

Parentheses mark repeating digits: 1/6 is 0.1(6), and 1/7 is 0.(142857). Terminating and detected repeating decimals are exact. If a decimal has not terminated or repeated within 60 digits, the display ends with an ellipsis and is explicitly truncated; use the fraction for the exact value.

Local, bounded calculations

Each entered whole part, numerator and denominator is limited to 1,000,000,000,000, with whole-number digits only. Numerators and whole parts may be zero. Exact BigInt arithmetic preserves fractions without floating-point rounding. The result can be reused when its mixed-number parts fit the same input limits. Downloads retain larger exact results.

Input edits invalidate old results. Example, swap, clear and reuse offer one Undo step restoring the numbers, operation, whole-part panels and any solved working; typing or changing the operation discards that undo. Invalid input preserves your entries and focuses the field to fix. No entries are uploaded or stored automatically.