Enter your rational expression(s)
Use parentheses around numerators/denominators, like (x^2-1)/(x-1). Exponents use ^ (example: x^2).
Simplify rational expressions, do +, −, ×, ÷, and instantly see excluded values (domain restrictions). Built for homework speed and screenshot-friendly sharing.
Use parentheses around numerators/denominators, like (x^2-1)/(x-1). Exponents use ^ (example: x^2).
Quick links from the Math & Conversions category:
If your answer looks “too simple,” check whether you canceled something that was part of a sum/difference.
A rational expression is a fraction where the numerator and/or denominator are polynomials. Examples include (x² − 1)/(x − 1), (2x + 3)/(x² + 5x + 6), or even (x − 4)/7 (a polynomial over a constant is still rational). Rational expressions show up everywhere: algebra homework, function graphs with asymptotes, calculus limits, and many real-life formulas that look like “something divided by something.”
The #1 rule that makes rational expressions different from normal fractions is the domain restriction: you can’t divide by zero. That means any value of x (or any variable) that makes the denominator equal to zero is not allowed. Our calculator automatically finds these “excluded values” so you can simplify safely and avoid accidental mistakes.
Think of rational expressions like normal fractions, but with polynomials. The familiar rules still apply: reduce by canceling common factors, and use common denominators when adding or subtracting. The difference is that you usually need to factor first.
If you have f(x) = P(x)/Q(x), the simplified form is found by factoring:
Example: (x² − 1)/(x − 1). Factor the numerator: x² − 1 = (x − 1)(x + 1). Then: ((x − 1)(x + 1))/(x − 1) = x + 1, but with a restriction: x ≠ 1.
To add a/b + c/d, you use (ad + bc)/bd. For rational expressions, the idea is identical, except b and d are polynomials, and the best approach is the least common denominator (LCD).
Example: 1/(x − 1) + 1/(x + 1). The LCD is (x − 1)(x + 1). Rewrite: (x + 1)/((x − 1)(x + 1)) + (x − 1)/((x − 1)(x + 1)) so the sum is (2x)/((x − 1)(x + 1)), then simplify if possible.
Multiplication is straightforward: (P/Q) × (R/S) = (P·R)/(Q·S). Division means “multiply by the reciprocal”: (P/Q) ÷ (R/S) = (P/Q) × (S/R). In both cases, factor and cancel first to keep numbers small and steps clean.
Input: (x^2-9)/(x^2-3x)
Factor: numerator (x − 3)(x + 3), denominator x(x − 3)
Cancel: (x + 3)/x with restriction x ≠ 0, 3.
Input: 2/(x-2) + 3/(x+2)
LCD: (x − 2)(x + 2)
Combine: 2(x+2) + 3(x−2) over the LCD = (5x − 2)/((x − 2)(x + 2))
Restrictions: x ≠ 2, −2.
Input: (x^2-1)/(x^2-4) × (x-2)/(x-1)
Factor: (x−1)(x+1)/(x−2)(x+2) × (x−2)/(x−1)
Cancel: (x+1)/(x+2)
Restrictions: from original denominators x ≠ 2, −2, 1.
Input: (x/(x-1)) ÷ ((x+2)/x)
Multiply by reciprocal: (x/(x−1)) × (x/(x+2)) = x^2/((x−1)(x+2))
Restrictions: x ≠ 0, 1, −2. (Because you can’t divide by zero and the divisor can’t be zero.)
Tip: Use parentheses around numerators/denominators like (x^2-1)/(x-1). Use ^ for exponents (x^2). Multiplication can be written as * or implied (2x).
Those values make a denominator equal to zero. Rational expressions are undefined there, even if a factor cancels during simplification. The simplified form may look simpler, but the original restrictions still apply.
No. Canceling is an algebraic simplification that works for all allowed values. Plugging in a value is evaluation, and it can fail if the value is excluded.
Use the Variable box (default is x) and set it to t, y, or whatever you’re using. Excluded values will be solved for that variable.
It changes the formula but not the function’s values on the allowed domain. The only difference is at the excluded points (holes). That’s why we show restrictions—so the math stays honest.
Use parentheses around numerators/denominators, write exponents with ^, and avoid “pretty” symbols. Example: (2x+3)/(x^2+5x+6).
This calculator focuses on the most common rational-expression operations: simplify, add/subtract, multiply/divide, and domain restrictions. For advanced graphing, use our Graphing Calculator link.
Educational tool only. Always verify steps required by your class (some teachers require factoring shown).
This rational expressions calculator is an educational helper. If your class requires showing steps, use the “Quick steps” guide above and write your factoring work clearly.