Rationalizing Denominator Calculator for Square Roots and Conjugates
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 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 and a binomial denominator such as . For the first type we multiply numerator and denominator by . For the second type we multiply by the conjugate . The reason this works is the identity , which removes the square root from the denominator.
Because multiplying by 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 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 |
|---|---|---|
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 turns the denominator into and leaves the numerator as . So the rationalized form is . 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 . The correct multiplier is the conjugate . The denominator becomes , and the numerator becomes . Written out, the rationalized result is , which could be simplified further to 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 , 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 |
|---|---|
The last row shows that a conjugate can produce a negative denominator when is negative. If you want a positive denominator, multiply the fraction by over 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 becomes a fraction with in the denominator, while a binomial such as is multiplied by its conjugate so the denominator turns into . 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 , the calculator multiplies by the same root and moves that radical into the numerator. With , it uses 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.
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.
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)).
