What is a step-by-step math solver?
A step-by-step math solver takes a typed problem and shows the operations that lead to its answer. This page handles numerical arithmetic, simplification of expressions in x, and equations in x up to degree two. Type 2/3 * 2/3 for an exact fraction, 3(x+2)-x to collect like terms, or 2(x+3)=5x-3 to find the value that makes both sides equal.
Look for an equals sign when deciding what you want to do. An expression such as 2x+4 can be simplified and still contain x. An equation such as 2x+4=10 asks which values of x make the statement true. A problem containing only numbers can be evaluated directly.
How does the Math Solver work?
The solver reads the expression from the inside out according to the order of operations. It evaluates parentheses first, handles powers, then works through multiplication and division before addition and subtraction. Operations at the same level generally run from left to right. A chain of powers groups from the right, so 2^3^2 means 2^(3^2) and gives 512.
Typed decimals are treated as exact fractions. For example, 0.1+0.2 gives 3/10. When an arithmetic answer is a fraction, the result also shows a decimal approximation. Using the exact fraction makes later calculations easier to check. An approximation is helpful when you need to compare sizes or recognize a familiar decimal.
For algebra, the solver tracks the constant term, the coefficient of x, and the coefficient of x squared separately. Each operation changes those coefficients. The steps show smaller operations as they are evaluated, so an early line can describe one part of the problem before the final line reconnects it to the whole expression.
What formulas and methods does the Math Solver use?
Arithmetic and fraction operations
To add fractions, express them with a common denominator and add their numerators. Multiplication multiplies the numerators together and the denominators together. Division multiplies the first fraction by the reciprocal of the second. Reduce the resulting fraction by dividing numerator and denominator by their greatest common divisor. For more practice with specific fraction operations, use the Fraction Calculator.
Distribute and collect like terms
Distribute a factor to every term inside the brackets. Then combine terms that share the same power of x. For instance, 4x²+3x−x²+2 becomes 3x²+3x+2. The squared terms combine with each other. The first-power term and the constant each keep their own place.
Linear equations
Subtract the right side from both sides, then collect like terms. Once the equation has the form bx+c=0 with a nonzero b, subtract c from both sides and divide by b. That produces x=−c/b. The Linear Equation Calculator is useful when the problem already gives its coefficients separately.
Quadratic equations
For ax²+bx+c=0, first compute the discriminant b²−4ac. A positive discriminant gives two distinct real solutions. A zero discriminant gives one repeated real solution. A negative discriminant gives no real solutions. When the square root is rational, the solver returns exact reduced roots. In other real cases, it shows the exact formula with the coefficients substituted and lists rounded decimal values. The Quadratic Formula Calculator provides a dedicated coefficient form for this method.
How do you use the Math Solver?
- Type one expression or equation into the problem field. Use
xfor the unknown. - Use parentheses around a group that should be evaluated together. For a fraction with a sum in the numerator, type
(x+1)/2. - Choose Solve Math Problem. The calculator determines whether the input calls for evaluation, simplification, or equation solving.
- Read the answer on the right. Follow the worked steps to see how the result was obtained, and use the diagram under the buttons to compare the entered problem with a key step and the final result.
- Edit the problem to try a variation, or choose Reset to return to an empty form. Use Copy Result, Download, or Print to keep the answer and its steps.
The example buttons load a problem into the field so you can inspect its notation before solving it. For homework, try predicting the first step before pressing Solve. If your answer differs, compare the first line where your work takes a different direction and check the signs and brackets at that point.
For optional handheld tools to check numerical steps, see related equipment and affiliate disclosure.
Math Solver examples
Use this table to find the closest example before entering your own problem. Each expression can be typed directly into the calculator.
| Task | Input | Result |
|---|---|---|
| Evaluate parentheses first | 18-2(3+4) | 4 |
| Multiply two fractions | 2/3 * 2/3 | 4/9 |
| Expand and collect terms | (x+2)(x-3)+x | x² − 6 |
| Solve with x on both sides | 2(x+3)=5x-3 | x = 3 |
| Find two quadratic roots | x^2-5x+6=0 | x = 2 or 3 |
For the quadratic example, plotting x^2-5x+6 shows where the curve crosses the horizontal axis. Both crossings correspond to solutions of the equation. Graphing Calculator
Expressions vs. equations
An expression can be evaluated when it contains only numbers or simplified when it has terms in x. For example, 3(x+2)-x simplifies to 2x+6. It can take different values depending on what you substitute for x.
An equation includes an equals sign and asks which values make both sides equal. For example, 2x+6=10 gives x=2. If variable terms cancel, compare the constants. An identity such as 2(x+1)=2x+2 holds for all real numbers, while x=x+1 has no solution.
Rounding, accuracy, and practical use
Exact fractions are useful when an answer will be used in another calculation. For example, three times 1/3 is exactly 1. Three times the rounded decimal 0.3333 gives 0.9999. Keep the fraction until the last step if the question asks for a rounded answer.
The solver displays approximations of irrational quadratic roots to up to ten significant digits. For x^2=2, the two decimal answers are approximately −1.414213562 and 1.414213562. Use the radical expression in the worked steps if you need the exact values. When checking a rounded root by substitution, expect a small residual.
Worked example and a way to check it
For 2(x+3)=5x-3, distribute the 2 to get 2x+6=5x-3. Subtract the right side from both sides and collect terms to get −3x+9=0. Subtract 9 and divide by −3 to get x = 3.
Check the answer in the original equation. The left side gives 2(3+3)=12. The right side gives 5(3)−3=12. The two values match, so 3 is a solution.
Check each root separately when two are shown. In x^2-5x+6=0, substitution gives 4−10+6=0 for 2 and 9−15+6=0 for 3.
How do you check the inputs and read the result?
Group the parts that belong together
Use 1/(2*3) if 2 and 3 both belong in the denominator. Without parentheses, 1/2*3 is evaluated left to right. A leading minus follows the power, so -2^2 gives −4. Use (-2)^2 to get 4.
Start with the answer type
For arithmetic, the result is a number. A simplified expression can still contain x. For equations, the answer can list real roots, all real numbers, or no real solutions. Use the result diagram to identify the key transformation and follow the detailed steps for the full calculation.
Check supported notation
Use up to 160 characters, one variable x, and whole-number exponents from −12 to 12. Negative exponents apply to numbers. Polynomial expressions must stay at degree two or less during evaluation, and division requires a nonzero constant denominator.
When is the Math Solver useful?
Use it to check the order of operations, practice distributing and combining like terms, or solve an equation that has terms on both sides. For a word problem, translate the relationship first. “Three more than twice a number is eleven” becomes 2x+3=11, which gives x=4.
Use the System of Equations Calculator when two equations share two unknowns or the Inequality Calculator when the answer is a range of values.
Frequently asked questions about the Math Solver
Definitions and methodology
The solver stores supported numerical values as ratios of integers and groups algebraic coefficients by the power of x. It selects the equation method after simplifying both sides.