Introduction
This free online Algebra Calculator solves math problems and shows you the steps. Type an equation like x^2 - 5x + 6 = 0, pick what you want done, and the answer appears with the working.
It works with many kinds of algebra problems:
- Equations: linear, quadratic, polynomial, rational, and absolute value
- Inequalities: with answers written as intervals
- Systems of equations: by substitution, elimination, Cramer's Rule, or Gaussian elimination
- Basic operations: simplify, factor, and expand
- Polynomials: add, multiply, long division, and synthetic division
- Rational expressions: combine fractions and split them with partial fractions
- Functions and graphs: roots, intercepts, slope, vertex, range, inverse, tangent lines, and plots
You can also switch answers between fractions and decimals, move sliders to see how numbers change a result, check your own answer, and browse a topic list of ready-made examples. If your problem is on paper, use the photo input to snap a picture and type the expression in.
How to use our Algebra Calculator
Type a math problem, pick what you want the calculator to do, and press Calculate. You get the answer, the step-by-step work, and a graph when one fits the problem.
Expression or equation box: Type your problem here, like x^2 - 5x + 6 = 0, 2x + 3 > 7, or (x + 3)(x - 4). Use ^ for powers, * for times, / for divide, and | | for absolute value.
Mode buttons: Choose the job you want done, such as Solve, Simplify, Factor, Expand, Roots, Divide, Graph, or Evaluate. The steps you see match the mode you pick.
Topics list: Open the topic tree and click a lesson, like Quadratic Formula or Partial Fractions. It fills the box with a ready example and sets the right mode for you.
Solve for variable: When a problem has more than one letter, pick the letter you want to solve for, like solving A = P(1 + r) for r.
Variable values: In Evaluate mode, type a number for each letter, such as a = 3 and n = 10. The calculator plugs them in and shows the value.
Tangent x value: In Tangent mode, type the x where you want the tangent line. The tool gives the slope and the line at that point.
Graph window (Xmin, Xmax, Ymin, Ymax): Set how far the graph goes left, right, down, and up. Click Redraw to see the new view.
Sliders switch: Turn sliders on to drag values for each letter. The live line shows the value, or tells you if the statement is true or false.
Fraction or decimal toggle: Click it to switch answers between exact fractions and decimals.
Check an answer box: Type a value, like x = 3, to test it in your equation. The tool tells you if it works.
Image input: Upload or snap a photo, drag a box around the problem, then fix the text and load it into the calculator.
Calculate and Reset: Press Calculate to solve, or Reset to clear everything and start over.
What Is Algebra?
Algebra is the part of math that uses letters to stand for numbers. A letter like x is called a variable. It holds the spot of a number you do not know yet. Your job is to find out what that number is.
Expressions, Equations, and Inequalities
- Expression: a mix of numbers, letters, and signs, like 3x + 5. It has no equals sign, so you can only simplify it.
- Equation: two expressions set equal, like 3x + 5 = 11. You solve it to find the value of the variable.
- Inequality: uses <, >, ≤, or ≥, like 2x + 3 > 7. The answer is a range of numbers, not just one.
How to Solve an Equation
Think of an equation as a balance scale. Whatever you do to one side, you must do to the other side. Add, subtract, multiply, or divide both sides until the variable is alone. Then check your answer by putting it back into the first equation.
Main Algebra Topics
- Linear equations: the variable has a power of 1, like 4x + 2 = 2(x + 6). Their graphs are straight lines.
- Quadratic equations: they have an x² term, like x² − 5x + 6 = 0. You can solve them by factoring, by completing the square, or with the quadratic formula. Their graphs are U-shaped curves called parabolas.
- Polynomials: sums of terms with whole-number powers, like 5x⁴ − 2x² + 7. You can add, subtract, multiply, and divide them.
- Factoring: writing an expression as a product. For example, x² − 9 becomes (x + 3)(x − 3). Factoring makes hard problems easier.
- Rational expressions: fractions with variables, like 1/x + 1/(x + 2). The bottom can never equal zero.
- Systems of equations: two or more equations at once. You can solve them by substitution, elimination, Cramer's rule, or Gaussian elimination.
- Absolute value: the distance from zero, so |2x − 3| = 7 gives two cases and often two answers.
- Sequences: number patterns. Arithmetic ones add the same amount each time; geometric ones multiply by the same amount.
Functions and Graphs
A function takes an input and gives one output. When you graph a function, you can see key parts: the x-intercepts (where it crosses the x-axis, also called roots or zeroes), the y-intercept, the slope of a line, and the vertex (the top or bottom point of a parabola). The domain is the set of inputs that work, and the range is the set of outputs you get.
Order of Operations
Always work in this order: parentheses, exponents, multiply and divide (left to right), then add and subtract (left to right). Skipping this order is the most common way to get a wrong answer.
Why Algebra Matters
Algebra is the base for geometry, trigonometry, statistics, and calculus. People use it every day to work out money, loans, distances, speeds, recipes, and building plans. Once you can solve for a missing number, you can solve real problems.