Solve for x Calculator
This solve for x calculator gets one letter alone, whether the rest of the equation is numbers or other letters. Use it for simple equations and for rearranging formulas. It is free, it shows each undo step, and it is part of our larger math solver.
How to Use the Solve for x Calculator
Enter the Equation
Type it with an equals sign, such as 3x-5=10 or 2x+3y=12.
Choose the Letter
With no instructions, it solves for . To pick another letter, add words at the end: A=pi*r^2, solve for r.
Read the Steps
Each step undoes one thing and shows what is left. When a step divides by a letter, a note reminds you that it can't be zero.
What Does "Solve for x" Mean?
To solve for x means to find the value that makes the equation true, or to rewrite the equation so x is alone on one side. If every other part is a number, you get a number. If other letters remain, you get an expression in those letters.
So gives a number, . But gives a rule, , because depends on .
How to Solve for a Variable
The balance rule is simple: what you do to one side, you do to the other. Each operation has an inverse operation that undoes it.
| What is done to the letter | Inverse operation |
|---|---|
| Add 5 | Subtract 5 |
| Subtract 5 | Add 5 |
| Multiply by 3 | Divide by 3 |
| Divide by 3 | Multiply by 3 |
| Square it | Take the square root |
| Take the square root | Square it |
Undo Adding and Subtracting
Think of getting dressed: socks first, then shoes. To undo it, shoes come off first. In the last thing done was subtracting 5, so undo that first.
Undo Multiplying and Dividing
Next, divide by whatever multiplies the letter. If the letter shows up in two terms, such as , factor it out first: . Then divide by .
Undo Powers and Roots
Powers come last. Taking a square root gives two answers, one positive and one negative. In a real situation, such as a radius, only the positive one makes sense.
Which order should you use? Clear parentheses and fractions, gather every term that has your letter on one side, undo adding, then multiplying, then powers.
Worked Examples
Example 1: The Letter on Both Sides
Solve .
- Distribute the 3: .
- Subtract from both sides: .
- Subtract 6: .
- Divide by 2: .
Check: and .
Example 2: A Linear Literal Equation
Solve for .
- Subtract from both sides: .
- Divide both sides by 2: .
You can't go further, because is not known.
Example 3: A Formula With a Square
Solve for . This is the area of a circle.
- Divide both sides by : .
- Take square roots: or .
A radius can't be negative, so for a circle you keep the first one. The calculator shows both, because the equation alone does not know is a length.
Common Mistakes to Check
Moving a Term Without Changing Its Sign
A term does not jump across the equals sign. You subtract it from both sides. So becomes , not .
Dividing by Something That Could Be Zero
Dividing by 3 is always safe. Dividing by a letter is only safe when the letter is not zero. Write that down, for example "if ."
Stopping Before the Check
Put your answer back into the first equation. It takes a few seconds, and it catches most sign errors.
Practice Problems
- Solve for .
- Solve for .
- Solve for .
- Solve for .
- Solve for .
Show the answers
- , if
- , if
Related Calculators
- Equation SolverThis equation solver handles linear, radical, log and more equation types. Solve equations step by step and see each answer checked. Free, with no sign-up.
- Algebra SolverUse this algebra solver to solve equations, factor and simplify with every step shown. A free algebra calculator with no sign-up. Type a problem to start.
- Simplify CalculatorUse this simplify calculator to simplify expressions with exponents, roots and fractions. Each step names its rule. Free to use, so type an expression.
- System of Equations CalculatorThis system of equations calculator solves 2 or 3 linear equations by elimination or substitution. A free simultaneous equations calculator with a graph.
Learn More
FAQ
What Is a Literal Equation?
It is an equation with two or more letters, such as . Formulas are literal equations. Since this page accepts them, you can use it as a literal equation calculator.
How Do You Get x by Itself?
Undo everything around it in reverse order. Remove added or subtracted terms first, then multipliers and divisors, then powers or roots.
Can I Solve for a Letter Other Than x?
Yes. Add "solve for" and the letter at the end, such as V=1/3*pi*r^2*h, solve for h. Here the answer is .
What If x Is on Both Sides of the Formula?
Collect every term with on one side, factor out the , then divide. Problem 5 above is an example.
Does It Solve Quadratics for x?
Yes, when the letter is squared you get up to two answers. For the full working with a graph, use the quadratic formula calculator. For other equation types, such as logs, try the equation solver.
Next step: take one formula from your science or geometry class and use the solve for x calculator to solve for a variable you have never isolated before.