Solve an equation in the form ax + b = c.
Equation Solver: Solve Math Equations Online With Step-by-Step Solutions
My daughter came home with a homework question last year: solve 3x + 5 = 20. I looked at it and thought the answer was 5, but I could not show her the working. I typed 3, 5 and 20 into the Equation Solver, and it said x = 5, then showed me every step: 3x = 20 − 5 = 15, x = 15 ÷ 3 = 5, and a check line, 3 × 5 + 5 = 20. That was the first time I understood what solving an equation really means: undo the operations in reverse order until x stands alone. This guide is the way I actually use it, first the tool as it really is, then every type, method and worked example I reach for when the tool stops and the math starts.
At a glance:
- The Equation Solver takes three numbers, a, b and c, and solves ax + b = c for x.
- It shows the answer, the steps, and a check line that proves the answer.
- The tool’s own example is 3x + 5 = 20, which gives x = 5.
- It solves linear equations only. Quadratic, polynomial, systems, differential and Boolean equations are worked by hand in this guide.
- If a is 0, the tool shows “Error: a cannot be 0.”, because you cannot divide by zero.
What Is an Equation Solver?
It finds the value of an unknown, usually x, that makes both sides of an equation equal. You enter an equation like 3x + 5 = 20, and it returns x = 5 along with the steps that got there.
Definition of a Mathematical Equation
A mathematical equation is a statement that two expressions are equal, joined by an equals sign. The equation 3x + 5 = 20 says that three times x, plus 5, equals 20. An equation is different from an expression: 3x + 5 is an expression, because it has no equals sign and no answer, while 3x + 5 = 20 is an equation, because it asks for the x that makes both sides equal. The equation article on Wikipedia sets out the definition, the history and the types in full.
How an Online Equation Solver Works?
The solver works by rearranging the equation until x stands alone. For 3x + 5 = 20, it subtracts 5 from both sides to get 3x = 15, then divides both sides by 3 to get x = 5. It takes three numbers, a, b and c, and solves ax + b = c, so it handles linear equations in one variable. An equation solver calculator like this one does the arithmetic for you, but the steps are the same ones you would write by hand.
Difference Between an Equation Solver and a Math Calculator
A solver and a math calculator do different jobs. A math calculator works out a value you give it, like 15 ÷ 3 = 5, but it does not find an unknown. An equation solver finds the unknown: you give it 3x + 5 = 20, and it works out that x = 5. An equation solver calculator combines both: it finds x and shows the arithmetic, so you see the answer and the working together.
How to Use the Online Equation Solver?
I have solved dozens of equations with this tool, and the routine never changes. Type the three numbers, press Solve for x, and read the answer with the steps and the check underneath.
Enter Your Mathematical Equation
Type the three numbers into the boxes on CalcSolver. The boxes already hold 3, 5 and 20 when the page opens, so change them to your own numbers before you press Solve for x. The first box is a, the number in front of x. The second box is b, the number added to ax. The third box is c, the number on the right of the equals sign. For 3x + 5 = 20, a is 3, b is 5 and c is 20.
Select the Equation Type
The tool has no type selector, so there is nothing to pick. It solves one type only: a linear equation in the form ax + b = c, with one unknown, x. If your equation is quadratic, like x² − 5x + 6 = 0, or a system of two equations, or a differential equation, the tool will not solve it, because it only takes a, b and c.
Solve the Equation and View Results
Press Solve for x, and the answer appears in bold at the top: x = 5. For 3x + 5 = 20, the tool says x = 5. If a is 0, it shows “Error: a cannot be 0.”, because you cannot divide by zero, and the equation has no single answer. The answer never hedges, because a linear equation has one solution, and the tool works it out exactly.
Understand Step-by-Step Solutions
Below the answer, the tool on CalcSolver shows a steps panel with the working and the check. For 3x + 5 = 20, the steps read: 3x + 5 = 20. 3x = 20 − 5 = 15. x = 15 ÷ 3 = 5. Check: 3 × 5 + 5 = 20. This is what an equation solver with steps gives you, not just the answer but the reason, and the check line proves the answer is right by putting x back into the original equation.
What Types of Equations Can an Equation Solver Solve?
The Equation Solver handles one type directly, and the rest are worked out in this guide. The tool takes a, b and c and solves ax + b = c, which is a linear equation in one variable.
Linear Equations
A linear equation has x to the power of 1, and nothing higher. The equation 3x + 5 = 20 is linear, and the tool solves it: x = 5. The equation 5x + 3 = 3x + 11 is linear, and you solve it by collecting x on one side: 5x − 3x = 11 − 3, so 2x = 8, and x = 4.
Quadratic Equations
A quadratic equation has x², and it has two solutions. The equation x² − 5x + 6 = 0 factors into (x − 2)(x − 3) = 0, so x = 2 or x = 3. The quadratic formula gives the same answer: x = (−b ± √(b² − 4ac)) / 2a, with a = 1, b = −5 and c = 6, so D = 25 − 24 = 1, and x = (5 ± 1) / 2, which is 3 or 2. It does not solve quadratics, because it only takes a, b and c for a linear equation, so use the Quadratic Equation Solver for these, or factor them yourself.
Polynomial Equations
A polynomial equation has x to a power higher than 2. The cubic x³ − 6x² + 11x − 6 = 0 factors into (x − 1)(x − 2)(x − 3) = 0, so x = 1, 2 or 3. The quartic x⁴ − 5x² + 4 = 0 factors into (x² − 1)(x² − 4) = 0, so x² = 1 or x² = 4, and x = 1, −1, 2 or −2. It does not solve polynomials, because it only handles ax + b = c, so factor them yourself, testing the small integers first: 1, −1, 2 and −2.
Simultaneous Equations and Systems of Equations
A system of equations has two or more equations with two or more unknowns, and you solve them together. The system x + y = 10 and x − y = 4 gives x = 7 and y = 3: add the equations and 2x = 14, so x = 7, then y = 10 − 7 = 3.
Differential Equations
A differential equation has a derivative in it, and the answer is a function, not a number. The equation dy/dx = 2x solves to y = x² + C, where C is a constant, because the derivative of x² is 2x. The equation dy/dx = y solves to y = Ce^x, because the derivative of e^x is e^x.
Boolean Equations
A Boolean equation uses true and false, written as 1 and 0, and the operations AND, OR and NOT. The equation A AND B = 1 is true only when A = 1 and B = 1. The equation A OR B = 1 is true when A = 1 or B = 1, or both. The equation NOT A = 1 is true only when A = 0.
Exponential and Logarithmic Equations
An exponential equation has the unknown in the exponent, and a logarithmic equation has the unknown inside a log. The equation 2^x = 16 solves to x = 4, because 2^4 = 16. The equation log₂(x) = 3 solves to x = 8, because 2³ = 8. To solve an exponential equation, take the log of both sides: for 2^x = 16, log₂(2^x) = log₂(16), so x = 4.
How to Solve Equations Step by Step?
Solving an equation with the Equation Solver is a routine, and the same five steps work for every linear equation. Identify the parts, simplify both sides, apply the operations, isolate x, and check the answer.
Identify the Variables and Constants
First, name the unknown and the knowns. In 3x + 5 = 20, the unknown is x, and the knowns are 3, 5 and 20. I check the parts first, because the tool takes a, b and c, and if you put the wrong number in the wrong box, the answer is wrong.
Simplify Both Sides of the Equation
Next, simplify each side on its own before you move anything. The equation 2(x + 3) + 4 = 18 simplifies to 2x + 6 + 4 = 18, then to 2x + 10 = 18.
Apply the Appropriate Mathematical Operations
Then, undo the operations in reverse order. For 3x + 5 = 20, subtract 5 from both sides, because addition is undone by subtraction: 3x = 15. Then divide both sides by 3, because multiplication is undone by division: x = 5.
Isolate the Unknown Variable
Isolating x means getting x alone on one side, with nothing else. The tool does it as x = (c − b) ÷ a: for 3x + 5 = 20, x = (20 − 5) ÷ 3 = 15 ÷ 3 = 5. For the division itself, the Long Division Calculator works out the quotient and the remainder, and a remainder of 0 means the number divides exactly.
Check and Verify the Final Answer
Last, put the answer back into the original equation and see if both sides match. Put x = 5 into 3x + 5 = 20: the left side becomes 3 × 5 + 5 = 20, which matches the right side. Put x = 7 into 2x − 4 = 10: the left side becomes 2 × 7 − 4 = 10, which matches the right side. When the sides do not match, the answer is wrong, so work back through the steps to find the mistake. Every answer comes with a check line, and you should check yours the same way.
Solving Multiple Equations With Multiple Variables
The Equation Solver does not do systems, because it takes one equation with one unknown. A system has two or more equations with two or more unknowns, and you solve them together, by substitution or by elimination.
Understanding Systems of Equations
A system is a set of equations that share the same unknowns, and the answer is the values that make every equation true at once. The system x + y = 10 and x − y = 4 has the answer x = 7 and y = 3, because 7 + 3 = 10 and 7 − 3 = 4.
Substitution Method
For 2x + 3y = 12 and x − y = 1, solve the second equation for x: x = y + 1. Put that into the first equation: 2(y + 1) + 3y = 12, which is 2y + 2 + 3y = 12, so 5y + 2 = 12, 5y = 10, and y = 2. Then x = y + 1 = 3. Check: 2 × 3 + 3 × 2 = 12, and 3 − 2 = 1, so both equations hold.
Elimination Method
For 2x + y = 7 and x + y = 4, subtract the second equation from the first: (2x + y) − (x + y) = 7 − 4, which is x = 3. Then put x = 3 into x + y = 4, so 3 + y = 4, and y = 1. Check: 2 × 3 + 1 = 7, and 3 + 1 = 4, so both equations hold.
Finding Solutions for Two or More Variables
To find the solutions for two or more variables, solve the system, then check each value in every equation. For x + y = 10 and x − y = 4, the solution is x = 7 and y = 3, and the check is 7 + 3 = 10 and 7 − 3 = 4. The working often involves fractions, because the coefficients divide unevenly, and for the fraction arithmetic, the Fraction Calculator works out the sums, differences and products.
Understanding Equation Solutions, Intervals, and Domains
A solution is a value that makes the equation true, and the domain is the set of values the variable is allowed to take. An interval is a way of writing a range of values, and a solution set is the set of all the values that work.
What Does It Mean to Solve an Equation?
To solve an equation means to find every value of the unknown that makes both sides equal. For 3x + 5 = 20, the Equation Solver returns x = 5, because 3 × 5 + 5 = 20. For 2x + 4 = 2(x + 2), every value of x is a solution, because both sides are the same.
How to Check Whether an Equation Is Correct?
To check whether an equation is correct, put the answer back into the original equation and see if both sides match. With x = 5 in 3x + 5 = 20, the left side is 3 × 5 + 5 = 20, which equals the right side. For x² − 5x + 6 = 0 with x = 2, the left side is 4 − 10 + 6 = 0, and the right side is 0, so they match. I check the answer by substituting it back, because a wrong sign or a missed step shows up at once when the sides do not match. The check line is there for every answer, so do the same with your own working.
Understanding the Domain of an Equation
The domain of an equation is the set of values the variable is allowed to take. For 1/(x − 2), x cannot be 2, because division by zero is undefined, so the domain is all numbers except 2. For √(x − 3), x must be 3 or more, because you cannot take the square root of a negative number, so the domain is x ≥ 3.
Using Intervals to Represent Solutions
An interval is a way of writing a range of numbers with brackets. The interval (3, ∞) means x is greater than 3, with no upper limit, and the round bracket means 3 itself is not included. The interval [2, 5) means x is 2 or more and less than 5, and the square bracket means 2 is included while 5 is not.
Equations With No Solution or Infinite Solutions
Some equations have no solution, and some have infinitely many. The equation x + 3 = x + 5 has no solution, because subtracting x from both sides gives 3 = 5, which is false. The equation 2x + 4 = 2(x + 2) has infinitely many solutions, because both sides are the same, and every value of x works.

Benefits of Using an Online Math Equation Solver
A math equation solver on CalcSolver is fast, and it shows the working, which is why it helps you learn as well as answer.
Get Quick and Accurate Calculations
The tool gives the answer in a second, and it does not make arithmetic mistakes. For the fraction arithmetic inside a solution, the Fraction Calculator works out the sums, differences and products. For 3x + 5 = 20, it says x = 5 at once, with the steps and the check.
Learn Through Step-by-Step Explanations
The steps are the reason the tool teaches as well as answers. Each step undoes one operation, and you can follow it: subtract 5 from both sides, then divide both sides by 3. This is what an equation solver with steps gives you, not just the answer but the method, and after a few examples you can do the same working by hand.
Solve Different Types of Math Problems
The guide covers more types than the tool, and that is the point: the tool solves linear equations, and the guide shows you quadratic, polynomial, systems, differential, Boolean, exponential and logarithmic equations, all worked by hand.
Improve Mathematical Skills and Understanding
Using the tool well makes you better at math, not worse, because you see the method every time. I check my own working against the tool, and when they disagree, I find my mistake, which is how I learn.
Who Can Benefit From an Equation Solver?
It helps anyone who meets an equation, from a school student to a researcher.
Students and Learners
Students use the tool for homework, revision and exam practice. A student with 3x + 5 = 20 types a = 3, b = 5 and c = 20, and the tool says x = 5 with the steps, so the student can copy the working and learn the method.
Teachers and Educators
Teachers use the tool to check answers, to set homework, and to show the working on a board. A teacher with 30 students can check 30 answers in a minute, because the tool does each one the same way.
Professionals and Researchers
Professionals use equations in engineering, finance and science, and researchers use them in models and experiments. A researcher with a differential equation works it by hand, because the tool does not do it, but the method in this guide is the starting point.
Anyone Practicing Mathematics
Anyone who practices mathematics can use the tool, from a parent helping with homework to an adult relearning algebra. A parent with 3x + 5 = 20 types the numbers in and gets x = 5 with the steps, so the parent can explain it to the child.
Frequently Asked Questions
What Is the Best Equation Solver?
The best solver is the one that shows the steps and the check, not just the answer. The tool on CalcSolver shows the answer, the steps and a check line, so you can see why x = 5 and prove it by putting 5 back into the equation. The best solver is the one you can learn from, and the steps are what make the difference.
What Types of Equations Can This Solver Solve?
This solver solves linear equations in one variable, in the form ax + b = c. For 3x + 5 = 20, it gives x = 5. It does not solve quadratic equations, polynomial equations, systems of equations, differential equations or Boolean equations, because it only takes a, b and c.
Can I Use an Online Equation Solver for Free?
Yes, you can use this solver for free, with no sign-up and no payment. The tool on CalcSolver is free to open and free to use, as often as you like, and there is no limit on the number of equations you solve. The guide on this page is free too, and it covers the types the tool does not solve.
How Accurate Are Equation Solver Results?
The results are exact for linear equations, because the tool works out x = (c − b) ÷ a with 6-decimal rounding. For 3x + 5 = 20, x = 5 exactly, with no rounding. For an answer that does not divide evenly, like x = 7 ÷ 3, the tool gives 2.333333, which is 7 ÷ 3 rounded to 6 decimal places. The check line proves the answer: it puts the rounded x back into the equation and shows the result, so you can see how close it is.
Can an Equation Solver Show Step-by-Step Solutions?
Yes, the tool on CalcSolver shows step-by-step solutions for every answer. For 3x + 5 = 20, the panel shows 3x = 15, then x = 5, then the check 3 × 5 + 5 = 20. This is what an equation solver with steps gives you, not just the answer but the method, and the steps are the same ones you would write by hand in a notebook.
Can I Solve Multiple Equations With Multiple Variables?
The tool cannot solve multiple equations with multiple variables, because it takes one equation with one unknown. Work it by substitution or elimination instead: for this system, add the equations and 2x = 14, so x = 7, then y = 10 − 7 = 3.
How Do I Check Whether an Equation Is Correct?
Put the answer back into the original equation and see if both sides match. With x = 5 in 3x + 5 = 20, both sides come to 20. A mismatch means the answer is wrong, so work back through the steps to find the mistake. Every answer has a check line, and you should check yours the same way.
Can an Equation Solver Solve Differential Equations?
The tool cannot solve differential equations, because it only handles ax + b = c. A differential equation like dy/dx = 2x has a derivative in it, and the answer is a function, y = x² + C, not a number. Work it by hand: integrate both sides, so y = x² + C, then use the initial condition to find C.
Do I Need to Download an App to Solve Equations?
No, you do not need to download an app to solve equations. The tool on CalcSolver works in your browser, on a phone, a tablet or a computer, with no download and no sign-up. Open the page, type the three numbers, and press Solve for x.
How Does an Equation Solver Work?
The Equation Solver on CalcSolver works by rearranging the equation until x stands alone, using inverse operations in reverse order.
Mathematical Rules and Solving Algorithms
The tool follows two rules. First, whatever you do to one side, do to the other, because the equals sign is a balance. Second, undo the operations in reverse order: addition is undone by subtraction, multiplication is undone by division, and a power is undone by a root.
Understanding the Calculation Process
The calculation is x = (c − b) ÷ a, in three steps. First, the tool takes a, b and c from the three boxes. Second, it works out c − b, which is the number left after the constant is removed: for 3x + 5 = 20, c − b = 20 − 5 = 15. Third, it divides by a, which is the number in front of x: x = 15 ÷ 3 = 5.
Source Code and Technical Implementation
The tool is a small piece of JavaScript, and the whole calculation is one function, calcEquation. It reads a, b and c from the three boxes, and if a is 0, it shows “Error: a cannot be 0.” and stops, because you cannot divide by zero. Otherwise it works out x = (c − b) / a, rounds the answer to 6 decimal places, and shows the steps and the check line.
Related Math Calculators and Tools
This page sits well with a small set of neighbors on CalcSolver. The Quadratic Equation Solver handles x² equations, the Long Division Calculator works out the division in the last step, and the Fraction Calculator handles the fraction arithmetic in systems and simplifications. An equation solver calculator is the same tool under its other name, and a math equation solver is the same tool under its other name too, so whichever name you search for, this page is the one you want.
Try your own numbers now on CalcSolver: the homework problem you have been avoiding, the equation that looks hard but might be simple, or the tool’s own example, 3x + 5 = 20. The Equation Solver does the arithmetic in a second, but the habit of checking the answer is what actually keeps you right.
