Free step-by-step equation solver

Find X Calculator: Solve for x Step by Step

Use this find x calculator to enter a one-variable algebra equation and see how x is found. Follow each transformation, compare an exact answer with its decimal form when available, verify the result in the original equation, and use the graph as a visual check. The page is designed for homework review, independent practice, and anyone who wants a readable solution instead of a number with no explanation.

Try an example

What this calculator solves

The solver covers common one-variable linear, quadratic, absolute-value, rational, and square-root equations within clearly defined supported forms. That includes equations with x on both sides, parentheses, constant fractions, and many expressions that reduce to a first- or second-degree equation. Each category has its own algebra method and its own checks, so the result explains what happened instead of hiding every input behind the same generic answer. If an expression falls outside the supported form, the calculator tells you that clearly.

Linear equations

Solve first-degree equations such as 2x + 5 = 15, -2x + 4 = 10, or 0.5x - 7 = 3. The find x calculator collects like terms, moves constants, divides by the coefficient of x, and then checks the value by substitution. Linear equations can also produce no solution or infinitely many solutions, and those logical cases are reported instead of being forced into a single number.

Variables on both sides

Collect x terms from equations such as 5x - 3 = 2x + 12 or 7 - 2x = x + 13. The calculator keeps the equality balanced while moving variable terms to one side and constants to the other. When the x terms cancel, it tests the statement that remains: a true identity means every allowed x works, while a false statement means there is no solution.

Parentheses

Expand and simplify equations such as 3(x + 2) = 18, -2(4 - x) = 10, and equations with parentheses on both sides. Distribution is shown as an algebra step, so you can see where each coefficient comes from before the calculator isolates x. This is useful when a sign changes inside a bracket or when a long expression needs to be simplified before it can be solved.

Constant fractions

Solve linear equations such as x/3 + 5 = 12, x/4 + x/2 = 9, or (2x + 1)/5 = 7 when denominators are constants. Constant fractions do not create excluded x values, so the solver can combine coefficients or clear a common denominator and continue with linear algebra. If x appears in a denominator, use the rational equation option so domain restrictions stay visible.

Quadratic equations

Solve quadratics such as x^2 - 5x + 6 = 0 and 2x^2 + 3x - 2 = 0 by factoring or using the quadratic formula. The result includes the discriminant, real or complex roots, and the parabola's vertex and axis of symmetry when those details apply. A graph gives a second way to see where the two sides meet, while the displayed steps show how the standard form was reached.

Absolute value equations

Split supported forms such as |2x - 5| = 9 into the cases 2x - 5 = 9 and 2x - 5 = -9, then verify both roots. The same idea works when the other side is a linear expression, provided the input fits the supported form. Seeing both cases helps explain why an absolute-value equation can have two answers, one answer, or no real answer.

Rational equations

Handle supported rational equations with linear numerators and denominators, such as 1/x + 1 = 2 or (x + 1)/(x - 2) = 2. Before cross-multiplying, the calculator records values that would make a denominator zero. It solves the resulting linear or quadratic equation, removes forbidden candidates, and substitutes the remaining values into the original equation so a simplified fraction does not hide a domain error.

Radical equations

Solve supported square-root equations such as sqrt(2x + 3) = 5 or x + sqrt(x + 1) = 5. The calculator isolates the radical, squares only when the form allows it, solves the resulting equation, and checks every candidate in the original expression. That final check matters because squaring can create an extraneous root, especially when the non-radical side can be negative.

How to use the calculator

Type or paste an equation, solve it, inspect the transformations, and use verification and the graph instead of relying on the final value alone. Start with the equation exactly as it appears in your notes, then read the normalized form and the answer together. The workflow is short enough for a quick check and detailed enough to help you find a misplaced sign, an omitted parenthesis, or a denominator restriction.

1. Enter an equation

Use normal algebra notation, Unicode symbols, or supported LaTeX such as \frac{x}{3}+5=12 and \sqrt{2x+3}=5. You can type x^2, use parentheses for grouping, or choose one of the examples below the input. Check the preview when you paste a fraction, exponent, absolute-value bar, or square root so the calculator is solving the expression you intended.

2. Solve for x

The solver identifies the supported equation class and applies the matching linear, quadratic, absolute-value, rational, or radical method. It moves one operation at a time, preserves exact values when possible, and labels the important transition: clearing a constant denominator, factoring a quadratic, splitting an absolute value, recording a domain restriction, or squaring a radical equation. The steps are written for reading, not just for internal computation.

3. Check the answer

Numeric answers are checked against the original equation. Rational exclusions and radical extraneous roots are filtered before a candidate is accepted, and the comparison shows the left and right values when a numerical check is available. Use this step to catch an answer that came from an invalid transformation or from a copied equation that differs from the one you meant to enter.

Verification

A useful find x calculator should show why an answer is valid. After the algebra steps are complete, each candidate is substituted into the original equation and the two sides are compared. Linear and quadratic results can be shown in exact form and as decimals when that is helpful. Rational equations keep values that make a denominator zero out of the answer, while radical equations are checked again after squaring so an extraneous root is not presented as a solution.

More ways to work with an equation

I added visual and input tools for the moments when a plain text answer is not enough. They help you compare both sides on a graph, enter notation without rebuilding it by hand, or turn a clear photo into editable equation text. Each tool leaves room for review, because seeing what the browser understood is part of getting a reliable answer.

Transparent browser-side workflow

The solver itself runs in your browser, so the equation can be worked through without sending it to an external math-solving API. Shareable ?q= URLs include the equation in the link, recent equations use local storage on your device, and optional image OCR loads recognition assets only when requested. Review a shared link before posting it if the equation contains information you do not want in browser history or server logs.

Current solver scope

Cubic and higher-degree polynomials, logarithmic, exponential, trigonometric, nested-radical, and multiple-absolute-value equations remain outside the supported solver scope. The calculator states that boundary so you can choose an appropriate method or calculator instead of trusting a guessed result. For supported inputs, use the shown steps and verification as a study aid; for a new equation type, simplify it first or visit the related calculator page to see whether a narrower form is available.