Algebra Calculator: Step by Step

Updated 15 November 2026

Solve or transform an algebra expression. Choose your task and variable, then follow the worked method.

Algebra Calculator

Maths solver
Have a maths question in a picture?

Use a photo, screenshot, or scanned question.

Supported images · up to 20 MB

JPG, PNG, WebP, GIF, AVIF, BMP, ICO, SVG, HEIC/HEIF, and TIFF. Animated and multipage files use the first image. If a file cannot be opened, export it as JPG or PNG.

For a system, separate equations with semicolons. Choose the variable to solve for.

Write maths as it looks on paper. Use fractions, roots, powers, and the keys below. Separate equations or statements with a semicolon (;), like a line break. For example: x + y = 5; x − y = 1. Tap a placeholder or use the box arrows below the keyboard to move between index, limits, and expression fields.

Angles without a stated unit
Try:

AI-assisted worked solutions. Check the result against your original question. Please leave out personal information.

Choose the algebra job before entering the expression

Algebra uses letters to keep track of quantities that are unknown, changing, or shared across several statements. This calculator separates four jobs that often look alike on a worksheet: solving, simplifying, expanding, and factoring. Choosing the job first tells the solver what kind of result you need. The same input can have several useful forms, so a longer-looking answer is not automatically a worse one.

Select Solve when an equation gives a condition to satisfy. Select Simplify to combine like terms or reduce an expression. Expand opens products and powers into sums. Factor rewrites a sum as a product when possible. The variable selector identifies the letter you want to solve for; other letters may remain as parameters.

A worked equation: keep both sides balanced

Suppose a question asks you to solve \(3(2x-1)=4x+9\). Start by distributing the three across the bracket. Multiplying only the first term would change the equation, so both terms inside the bracket must be included.

\[6x-3=4x+9\]

Subtract \(4x\) from both sides, then add three to both sides. Each operation preserves equality because the same change is applied to each side.

\[2x-3=9\quad\Longrightarrow\quad2x=12\quad\Longrightarrow\quad x=6\]

Check the value in the original equation rather than only in the final simplified line. The left side becomes \(3(12-1)=33\), and the right side becomes \(24+9=33\). That agreement checks the proposed value against the question you actually entered.

Expressions and equations need different answers

The expression \(2x+6\) has no single numerical value until you specify \(x\). Factoring it gives \(2(x+3)\); it does not mean \(x=-3\). The value \(-3\) solves the different statement \(2x+6=0\). Add the equality when you want a solution, rather than asking the calculator to invent a missing right-hand side.

Expansion and factorisation reverse one another. For example, \((x+4)(x-2)=x^2+2x-8\). Expanding helps identify coefficients; the factored form makes the zeros visible when the expression is set equal to zero. Neither form changes the underlying expression.

Keep restrictions when simplifying fractions

Consider \((x^2-9)/(x-3)\). The numerator factors as \((x-3)(x+3)\), so cancellation gives \(x+3\), but only when \(x\ne3\). The original denominator still rules out three. A simplified expression can look defined at a point where the original expression was not.

\[\frac{x^2-9}{x-3}=x+3\qquad(x\ne3)\]

Cancellation applies to factors, not isolated terms in a sum. You cannot cancel the \(x\) in \((x+5)/x\) to obtain five. Instead, separate the quotient as \(1+5/x\), retaining \(x\ne0\).

Enter systems and interpret special outcomes

Use a semicolon to separate equations that belong to one system. Entering \(x+y=9;\ x-y=3\) supplies two conditions for the same pair of unknowns. Adding the equations gives \(2x=12\), so \(x=6\) and \(y=3\). A complete result must satisfy both equations at once.

Some equations have no solution, while others are identities. Simplifying \(2(x+1)=2x+5\) leads to \(2=5\), which is impossible. Simplifying \(2(x+1)=2x+2\) gives a true statement for every real \(x\). These outcomes should be described, not forced into an arbitrary single value.

Practise the method

Try solving \(5x-7=18\), expanding \((x+2)^2\), and factoring \(x^2-16\). The respective results are \(x=5\), \(x^2+4x+4\), and \((x-4)(x+4)\). Before opening the steps, write down which operation should come first. Afterwards, compare the method with your own and check any restrictions. For a problem mixing algebra with another topic, use the general Step by Step Math Solver.