Home › Calculators › Rational Expressions Calculator

Rational Expressions Calculator

Work with algebraic fractions like (x² − 9)/(x² + 5x + 6). Simplify one expression or add, subtract, multiply and divide two of them; the calculator factors everything, finds the LCD, cancels common factors and lists the excluded values.

Last updated:

Examples:

Write each expression with x, using / for fraction bars and parentheses around numerators and denominators: (x^2 - 1)/(x^2 + 2x + 1). Products like (x+1)(x-2) are fine.

Result
Factored form
Expanded form
Excluded values

Step by step

    Advertisement
    Advertisement

    How to use the Rational Expressions Calculator

    1. Enter expression A, for example 2/(x - 1).
    2. Enter expression B for operations with two expressions.
    3. Choose an operation: Simplify A, A + B, A − B, A × B or A ÷ B.
    4. Read the result in factored and expanded form with its excluded values.
    5. Follow the steps, then copy the result.

    Rules for working with rational expressions

    OperationRuleExample
    SimplifyFactor, then cancel common factors(x² − 4)/(x² + 2x) = (x − 2)/x, x ≠ −2, 0
    Adda/b + c/d = (ad + bc)/bd, using the LCD1/x + 1/(x + 1) = (2x + 1)/(x(x + 1))
    Subtracta/b − c/d = (ad − bc)/bd, distribute the minus1/(x − 1) − 1/x = 1/(x(x − 1))
    Multiply(a/b)(c/d) = ac/bd(x/(x + 1))·((x + 1)/2) = x/2, x ≠ −1
    Divide(a/b) ÷ (c/d) = (a/b)(d/c)(x/3) ÷ (x/6) = 2, x ≠ 0

    Common mistakes to avoid

    • Cancelling terms instead of factors. (x + 3)/(x + 5) cannot be simplified: the x's are terms inside sums, not common factors.
    • Forgetting excluded values. Write them down from the original denominators before you cancel anything.
    • Using the product as the denominator. Multiplying the denominators always works, but the LCD keeps numbers smaller and makes the final simplification easier.
    • Sign errors when subtracting. Put the second numerator in parentheses so the minus sign reaches every term.
    • Opposite factors. (2 − x) equals −(x − 2), so these factors cancel to −1.

    Frequently asked questions

    What is a rational expression?

    A rational expression is a fraction whose numerator and denominator are polynomials, such as (x + 1)/(x² − 4). It works like a numeric fraction, except that it is undefined wherever the denominator equals zero.

    How do you simplify a rational expression?

    Factor the numerator and denominator completely, then cancel factors that appear in both. For example (x² − 9)/(x² + 5x + 6) = (x − 3)(x + 3)/((x + 2)(x + 3)) = (x − 3)/(x + 2), with x ≠ −3 and x ≠ −2. Only whole factors can be cancelled, never individual terms.

    What are excluded values?

    Excluded values are the x-values that make a denominator zero in the original problem. They stay excluded even if the factor cancels during simplification. When dividing, the zeros of the divisor's numerator are excluded too, because you cannot divide by zero.

    How do you add or subtract rational expressions?

    Factor the denominators, find the least common denominator (each factor to its highest power), rewrite each fraction over the LCD, combine the numerators, and simplify. Remember to distribute the minus sign when subtracting.

    How do you multiply and divide rational expressions?

    To multiply, multiply the numerators and the denominators and cancel common factors (cancelling before multiplying out is easier). To divide, multiply the first expression by the reciprocal of the second.

    What is a hole?

    When a factor such as (x + 3) cancels from both the numerator and the denominator, the graph has a hole at x = −3 instead of a vertical asymptote. The simplified expression matches the original everywhere except at that point.

    Are all the tools on FreeToolCabin tested for quality and accuracy?

    Yes! Every tool on our site undergoes automated Q/A testing in real browser environments to ensure high precision, correct output, and zero errors. If you happen to spot a bug or have a suggestion, please contact us at [email protected] and our team will review it right away.

    Related tools

    Partial Fraction Decomposition CalculatorSplit a rational function into partial fractions with the setup, equations and solution.Polynomial CalculatorAdd, subtract, multiply, divide and evaluate polynomials; see roots, degree and a graph.Factoring Trinomials CalculatorFactor trinomials and polynomials: GCF, ac method, difference of squares, cubes, with steps.Simplify Fractions CalculatorReduce any fraction to lowest terms with GCD steps, mixed number, decimal and equivalents.Percentage CalculatorWork out percentages, increases and decreases.Percentage Change CalculatorPercent increase or decrease between two values, and reverse.Percentage Difference CalculatorFind the percent difference between two values, with the formula.Ratio CalculatorSimplify, solve and scale ratios with step-by-step working.Proportion CalculatorSolve A/B = C/D for x with cross multiplication steps.Scientific CalculatorTrig, logs, powers and more in your browser.Fraction CalculatorAdd, subtract, multiply and divide fractions with steps.Multiplication Table GeneratorPrintable multiplication charts up to 30 × 30, single tables and practice sheets.Times Tables PracticeTimed times tables drills with a number pad, streaks and an accuracy heatmap.Fraction VisualizerInteractive fraction circles and bars: equivalents, comparing, adding and simplifying.Number Line GeneratorDraw number lines with any range, fractions or decimals, points, jumps and inequalities.Significant Figures CalculatorCount sig figs, round to any number of significant figures and do arithmetic with sig fig rules.Scientific Notation ConverterConvert numbers to and from scientific, engineering and E-notation, with exact digits and SI prefixes.Caffeine CalculatorAdd up daily caffeine, compare it with 400 mg and see how much is left at bedtime.Percent Error CalculatorPercent error between experimental and theoretical values, for one result or several trials.Rounding CalculatorRound to decimal places, significant figures or the nearest 10, 100 or 0.5, any rule.Long Division CalculatorDivide with quotient, remainder, decimals and a step-by-step long division layout.Cube Root CalculatorFind cube roots and nth roots, check perfect cubes and simplify radicals.2-Stroke Oil Mix CalculatorHow much 2-stroke oil to add to gas for 50:1, 40:1, 32:1 and more, in fl oz or ml.Math Worksheet GeneratorCreate printable addition, subtraction, multiplication and division worksheets with answer keys.Complex Number CalculatorAdd, subtract, multiply, divide complex numbers; polar form, modulus, argument, powers and roots.Big Number CalculatorExact + − × ÷ mod and powers for huge integers with hundreds of digits, plus digit count.Three-Phase Power CalculatorkW, kVA and kVAR from volts, amps and power factor, or three-phase current from kW or kVA.Compression Ratio CalculatorStatic engine compression ratio from bore, stroke, chamber, gasket, deck and piston volume.Expanded Form CalculatorWrite any number or decimal in expanded form, word form and a place value chart.Mixed Number CalculatorAdd, subtract, multiply and divide mixed numbers, or convert improper fractions, with steps.Nth Root CalculatorAny root of any number: real nth root, simplified radical and all complex roots.Long Multiplication CalculatorMultiply whole numbers or decimals with the column method shown digit by digit.Matrix Multiplication CalculatorMultiply matrices up to 8×8 with every dot product shown, exact fractions and a size check.Order of Operations Calculator (PEMDAS)Solve arithmetic expressions step by step with PEMDAS/BODMAS, brackets, powers and fractions.Virtual Base Ten BlocksDrag ones, rods, flats and cubes onto a place value mat to model regrouping, addition and subtraction.Compare Fractions CalculatorCompare two or more fractions with <, > or = and put them in order, with steps.Equivalent Fractions CalculatorList equivalent fractions, check if two are equal, or find a missing number, with bars.Map Scale CalculatorConvert map distance to real distance and back for scales like 1:24,000 or 1 in = 1 mi.Number Properties CalculatorIs it prime, perfect, square, triangular or Fibonacci? See every property of a number.Paper Tape CalculatorAdding machine calculator with a running paper tape: edit entries, subtotals, notes, print or export.Pi Digits CalculatorCalculate π to up to 100,000 digits, find any number or your birthday in pi, and download it.PSAT Score CalculatorEstimate your PSAT/NMSQT section scores, total score and National Merit Selection Index.Rationalize the Denominator CalculatorRemove square roots and cube roots from a denominator, with conjugates and full steps.Reverse Percentage CalculatorFind the original value before a percentage increase or decrease, or the whole from a part.Riemann Sum CalculatorLeft, right, midpoint and trapezoid sums of f(x) on [a, b] with a table and rectangle graph.Sum CalculatorPaste any list or column of numbers to get the total, count, average, min and max instantly.Unit Rate CalculatorFind the unit rate (per 1) from two quantities, compare rates and see the steps.Math Formulas Cheat SheetSearchable algebra, geometry, trig, calculus and statistics formulas with a printable sheet.
    See all 46 Arithmetic & Number Calculators →