Rationalizing Denominator Calculator for Square Roots and Conjugates

JJ Ben-Joseph headshot JJ Ben-Joseph

How to use: Rationalizing a denominator step by step

Rationalizing a denominator means rewriting a fraction so the bottom no longer contains a square root. In algebra, that usually means turning an expression like ab into an equivalent form with a rational bottom. This calculator covers the two classroom cases most students meet first: a simple radical denominator such as ab and a binomial denominator such as an+b. For the first type we multiply numerator and denominator by b. For the second type we multiply by the conjugate nb. The reason this works is the identity (n+b)(nb)=n2b, which removes the square root from the denominator.

Because multiplying by 1 does not change a value, you can multiply a fraction by the same expression in the top and bottom. In this calculator, that expression is either b or the matching conjugate. The fraction stays equivalent even though the denominator becomes easier to read and compare. That is why rationalizing shows up in algebra, simplifying radicals, and certain limit problems where a radical denominator gets in the way.

The table below shows the two patterns this calculator applies:

Original Expression Multiplier Result
a b b a b b
a n + b n - b a ( n - b ) n 2 - b

The calculator keeps the input format intentionally simple: the numerator must be an integer, and the number inside sqrt(...) must be a positive integer. If you need nested radicals, variables, or higher roots, you will need a fuller symbolic algebra system because this page is designed for the common introductory cases.

Consider 5/sqrt(3). Multiplying top and bottom by 3 turns the denominator into 3 and leaves the numerator as 53. So the rationalized form is 533. In the calculator, enter 5 for the numerator and sqrt(3) for the denominator, and the result appears in the results area as MathML.

Now consider 23+5. The correct multiplier is the conjugate 35. The denominator becomes 325=4, and the numerator becomes 2(35). Written out, the rationalized result is 2(35)4, which could be simplified further to 352 by dividing numerator and denominator by 2. In a classroom explanation teachers would often take that additional step, but our calculator leaves the unsimplified product so that students can see exactly how the conjugate was applied.

Rationalized answers are easier to compare, combine, and factor. Once the radical is out of the denominator, you can more quickly spot common denominators or simplify a larger expression. That makes the technique useful even when a calculator could evaluate the original fraction numerically.

Before computer algebra tools, rationalizing also made hand calculation less awkward because division by an irrational denominator was harder than multiplication by a conjugate. The technique remains part of algebra instruction because it reinforces the relationship between radicals, conjugates, and the difference of squares.

The calculator follows those textbook steps in JavaScript. It looks for a denominator typed as sqrt(n), n+sqrt(n), or sqrt(n)+n. If it finds a single root, it multiplies by that root; if it finds a binomial, it multiplies by the conjugate. Anything else is flagged as unsupported so the feedback stays clear and predictable. The result is rendered in a MathML <math> element, keeping the computation client-side and easy to inspect.

Teachers can use this page to demonstrate why a conjugate works or to check homework steps. Try entering 5+sqrt(5) to see the denominator collapse to 20, or 1+sqrt(2) to watch an irrational denominator become rational. Those quick experiments make the pattern easier to remember than a formula alone.

The practice table below gives a few more starter expressions and their rationalized counterparts. Use it as a quick reference or as a set of exercises for students:

Expression Rationalized Form
7 6 7 6 6
1 4 + 3 1 ( 4 - 3 ) 13
9 2 9 2 2
3 2 + 5 3 ( 2 - 5 ) -1

The last row shows that a conjugate can produce a negative denominator when n2-b is negative. If you want a positive denominator, multiply the fraction by -1 over -1 after the rationalization step.

Rationalizing denominators is a small but useful algebra skill. It turns a fraction with a radical bottom into an equivalent fraction that is easier to compare, simplify, or combine. This calculator is meant as both a study aid and a quick check on handwritten work, so you can see the structure of the answer as well as the final form.

Saving Your Rationalized Fraction

After rationalizing a denominator, click Copy Result to keep the MathML output for homework notes or class submissions. Saving the expression makes it easier to review the conjugate you used and to compare your answer with a teacher's worked solution.

Formula: how the rationalized form is built

The result depends on the denominator you type: a single radical such as b becomes a fraction with b in the denominator, while a binomial such as n+b is multiplied by its conjugate so the denominator turns into n2-b. Keep the Numerator box as an integer, and type the Denominator exactly in the square-root patterns shown on the page so the parser can match it correctly.

Worked example: compare a simple root with a conjugate

Enter one denominator at a time to see the pattern in action. With 3, the calculator multiplies by the same root and moves that radical into the numerator. With 3+5, it uses 35 as the multiplier and removes the radical from the denominator. Changing only the denominator is a quick way to confirm that you chose the right rationalizing factor.

Limitations and assumptions for rationalizing denominators

This calculator is intentionally narrow in scope. It accepts an integer numerator and a denominator written as sqrt(n) or a+sqrt(n), where n is a positive integer. It does not handle nested radicals, variables, higher roots, or expressions that need algebra before rationalizing. If the conjugate makes the denominator zero, pick a different value. A small typo in the plus sign or the square-root input changes the algebra immediately, so double-check the exact text before you submit or copy the result.

Enter a numerical numerator and a denominator that includes a square root. The calculator applies the appropriate conjugate so the denominator becomes rational.

Enter values to rationalize the expression.

Arcade Mini-Game: Rationalizing Denominator Calculator Calibration Run

Use this quick arcade run to practice separating useful scenario inputs from common planning mistakes before you rely on the calculator output.

Score: 0 Timer: 30s Best: 0

Start the game, then use your pointer or arrow keys to catch useful inputs and avoid bad assumptions.

Only square roots of positive integers are supported. Use a plus sign between the integer and the square root when entering binomials (e.g., 3+sqrt(5)).