c·calcunora.
← All calculatorsONLINE CALCULATOR

Fraction calculator

Add, subtract, multiply, divide or simplify fractions and mixed numbers. See exact reduced answers, decimal values and each calculation step.

CALCULATOR Instant results
Try an example

Use whole numbers only. Leave the optional whole-number fields blank for ordinary fractions, or fill them in for mixed numbers.

YOUR RESULT
—

Calculation steps

    How to use this calculator

    A fraction represents a numerator divided by a nonzero denominator. Use this calculator to combine two fractions or reduce one fraction to its lowest terms. It performs the arithmetic with whole numbers, so the fraction result stays exact even when its decimal form repeats. Negative signs are normalised to the numerator, and the answer is also shown as a mixed number when it is improper.

    Choose a fraction calculation

    Enter a numerator and denominator for each fraction. The whole-number field is optional: leave it blank for a simple fraction, or enter 1, 2 and 3 in the whole, numerator and denominator fields to represent 1 2/3. To enter a negative mixed number, put the minus sign in the whole-number field, such as −1 1/2. For a negative proper fraction, leave the whole-number field blank and enter a negative numerator. Use Simplify when you have one fraction only.

    Quick fraction results
    CalculationMethodReduced answer
    1/2 + 1/3Common denominator 65/6
    3/4 − 1/6Common denominator 127/12
    2/3 × 9/4Multiply tops and bottoms3/2 (1 1/2)
    5/8 ÷ 15/16Multiply by the reciprocal2/3
    18/24Divide by GCD 63/4
    1 1/2 + 2/3Convert 1 1/2 to 3/213/6 (2 1/6)

    How each operation works

    Adding fractions

    Fractions can be added only after they use a common denominator. The calculator finds the least common denominator (LCD), rewrites both fractions with that denominator, adds the numerators and reduces the result. For 1/2 + 1/3, the LCD is 6, so the calculation becomes 3/6 + 2/6 = 5/6. Equal denominators are already a common denominator, so only the numerators need to be added.

    Subtracting fractions

    Subtraction follows the same denominator rule. Rewrite both fractions over the LCD, subtract the second numerator from the first, then simplify. For 3/4 − 1/6, the LCD is 12: 9/12 − 2/12 = 7/12. The result can be negative when the second fraction is larger; for example, 1/4 − 1/2 = −1/4.

    Multiplying fractions

    Multiply the numerators together and the denominators together. For 2/3 × 9/4, this gives 18/12. The greatest common divisor of 18 and 12 is 6, so the exact reduced result is 3/2. Unlike addition, multiplication does not require a common denominator.

    Dividing fractions

    Keep the first fraction, turn the second fraction upside down, and multiply. For 5/8 ÷ 15/16, calculate 5/8 × 16/15 = 80/120 = 2/3. The second fraction cannot be zero because its reciprocal would require division by zero.

    Simplifying a fraction

    Find the greatest common divisor (GCD) of the absolute numerator and the denominator. Divide both by that positive whole number. For 18/24, the GCD is 6, giving 3/4. A fraction is in lowest terms when its numerator and denominator have no common factor other than 1.

    Mixed numbers, decimals and percentages

    An improper fraction has a numerator whose absolute value is at least its denominator. The calculator keeps the exact result as a reduced fraction and also shows a mixed-number form where appropriate. For example, 7/3 is 2 1/3, while −7/3 is −2 1/3. Proper fractions such as 3/4 stay in fractional form rather than being written with a zero whole number.

    The decimal is calculated from the exact fraction and rounded only for display. Repeating decimals are therefore approximate displays, not replacements for the exact answer: 1/3 may appear as 0.333333 at six decimal places, but the exact result remains 1/3. The percentage display multiplies the fraction by 100. To work backwards from a part and a whole, or to answer a broader percentage question, use the percentage calculator. For a data-set summary, use the statistics calculator.

    Fraction calculator FAQs

    Can I enter mixed numbers?

    Yes. Fill in the optional whole-number field as well as the numerator and denominator. For example, enter 1, 1 and 2 for 1 1/2. For a negative mixed number, put the minus sign in the whole-number field. A whole number can be entered with a numerator of 0 and denominator of 1.

    Can a fraction be negative?

    Yes. For a negative mixed number, put the minus sign in the whole-number field. For a negative proper fraction, leave the whole-number field blank and put the minus sign in the numerator. Negative denominators are also accepted and normalized in the result.

    Why must a denominator not be zero?

    A fraction means division. Division by zero has no defined finite value, so a zero denominator is rejected rather than converted to a misleading result.

    Why do the decimal and fraction look different?

    The fraction is exact. A decimal such as 2/3 repeats forever, so the displayed decimal is rounded to the number of decimal places you select. Changing display precision never changes the exact fraction.

    How do I convert a fraction to a percentage?

    Divide the numerator by the denominator and multiply by 100. The calculator also displays that percentage beside the exact fraction and decimal result.

    When a fraction is used as a rise or run, the slope calculator can compare two coordinate points and show the resulting exact fractional slope.

    The formula

    For a/b and c/d: addition or subtraction uses a common denominator; multiplication is (a × c) / (b × d); division is (a × d) / (b × c), where c is not zero. Simplify by dividing the numerator and denominator by their greatest common divisor.

    Worked examples

    Add 1/2 and 1/3

    The least common denominator is 6: 3/6 + 2/6 = 5/6.

    Subtract 1/6 from 3/4

    The least common denominator is 12: 9/12 − 2/12 = 7/12.

    Multiply 2/3 by 9/4

    (2 × 9) / (3 × 4) = 18/12 = 3/2 = 1 1/2.

    Divide 5/8 by 15/16

    5/8 × 16/15 = 80/120 = 2/3.

    Simplify 18/24

    The greatest common divisor is 6, so 18/24 = 3/4.

    Add 1 1/2 and 2/3

    Convert 1 1/2 to 3/2, then 3/2 + 2/3 = 9/6 + 4/6 = 13/6 = 2 1/6.

    Special cases & input limits

    Enter whole-number parts, numerators and denominators, each with no more than 30 digits. Whole-number parts are optional. For a negative mixed number, put the sign in the whole-number field. Denominators cannot be zero. Negative denominators are allowed and their sign is moved to the numerator. Dividing by a zero fraction is undefined. A zero numerator reduces to 0. The displayed fraction is exact; decimal and percentage forms are rounded to the selected display precision.

    Enter whole-number numerators and nonzero denominators, with an optional whole-number part, up to 30 digits per input. Put a negative mixed-number sign in the whole-number field. Select 0–12 display decimal places; only decimal and percentage forms are rounded.

    A common mistake

    Do not add or subtract denominators. First rewrite both fractions with a common denominator, then add or subtract only the numerators.

    Content updated · Calculation methodology