One-variable linear equations

Solve for X Calculator

Use the solve for x solver to find the answer and see the steps. Try a linear equation with brackets, fractions, or x on both sides.

Recent problems and practice On this device

Your practice

0 due

This browser keeps your 20 most recent quizzes and the questions you missed. No sign-in needed.

Solve a problem, then choose Four-question quiz.

    Enter a problem

    Typed solving is free
    Try
    Input help

    Enter one problem at a time. Browse supported topics and limits.

    Use parentheses to show what belongs in a fraction. Type (x+1)/3 to divide the whole numerator by 3. For a square root, type sqrt(9).

    For a system, put each of two equations on its own line or separate them with a semicolon.

    Drafts stay in this tab for up to 24 hours. Select Clear to remove your draft.

    Sign in to use photo, PDF, drawing, or Describe. A usable result uses one assisted credit.

    Steps
    Checked calculations
    Equation degree
    Linear
    Variables
    One letter
    Domain
    Real numbers

    What “solve for x” means

    Solving for x means finding which values make both sides of an equation equal. In a linear equation, the variable appears only to the first power. Apply the same operation to both sides until the variable is on its own.

    Solve for x on both sides

    5x−7=2x+85x-7=2x+8

    Subtract 2x from both sides to get 3x − 7 = 8. Add 7, then divide by 3 to get x = 5. Substituting 5 into the original equation makes both sides equal 18.

    Find x inside parentheses

    5(x−2)=15⇒x=55(x-2)=15\quad\Rightarrow\quad x=5

    Divide both sides by 5 to get x − 2 = 3. Add 2 to get x = 5. Check by replacing x in the original equation: 5(5 − 2) = 15.

    Solve a linear equation with a fraction

    x3+2=7⇒x=15\frac{x}{3}+2=7\quad\Rightarrow\quad x=15

    Subtract 2 to get x/3 = 5. Multiply both sides by 3 to get x = 15. Check that 15/3 + 2 = 7.

    If there are fractions on both sides, see how to clear the denominators.

    What if the x terms cancel?

    Expand 2(x + 1) = 2x + 2 and subtract 2x from both sides. The result is 2 = 2, so every real x works. If the right-hand side is 2x + 3, the result is 2 = 3 and the equation has no solution.

    What gets checked

    The solving for x calculator checks each step before showing the answer. It may apply valid operations in a different order from the one you used.

    If the equation cannot be read or checked, start by checking its signs and parentheses. The limits below explain which problem types this calculator accepts.

    Current limitations

    • For a variable in a denominator, use the rational expressions calculator.
    • Use the inequality calculator for inequalities and the systems of equations solver for two equations in two variables.
    • Photo, PDF, handwriting, and Describe can help enter a problem. Check the equation they read before solving. The same algebra limits apply.
    • Some algebraic forms may need to be rewritten before the solver can check them.

    Input tip: Type the equation itself, such as 2(x+3)=10. You can use a single-letter variable other than x.

    Check the answer and the work

    If x appears on each side, follow the worked guide to equations with variables on both sides. It covers choosing a term to subtract, brackets, and what it means when the variables cancel.

    If you already have a value for x, use the original equation to check the answer by substitution. If the answer fails and you need to find where the solution changed course, compare neighboring lines with the first-wrong-step guide.

    Questions

    Solve for x FAQ

    What equations can this x solver calculator handle?

    It solves one-variable linear equations over the real numbers. The variable can appear on both sides, but not in a denominator. The result can be one solution, no solution, or all real numbers.

    How do I find x when it appears on both sides?

    Subtract an x term from both sides to bring the variable terms together. Enter an equation such as 5x-7=2x+8 and select Solve to see each step.

    Can a calculator that solves for x handle fractions?

    Yes. You can enter fractions such as x/3+2=7. For a variable in the denominator, use the rational expressions calculator.

    Is a “solve for x calc” the same as a “solve x calculator”?

    Yes. Searches for “find x value calculator” or “solve to x” describe the same task. Enter a one-variable linear equation here to see the exact answer and checked steps.

    Ready to isolate the variable?

    Type your equation and select Solve. Open the steps to follow the calculation.

    Use the solver above