Algebra Calculator
Solve linear and quadratic equations, clear fractions, expand brackets, and work through systems of equations. Every answer comes with the steps and an exact fraction or surd where one exists.
Use ^ for powers, / for fractions, and put each equation of a system on its own line.
Your answer will appear here
Type an equation above or tap an example to see the worked solution.
Get the answer and the reasoning behind it
An answer on its own does not help much when you are stuck on a homework problem or revising for an exam. This calculator shows the same steps a teacher would write on the board, from clearing fractions to reading off the discriminant, so you can find the exact line where your own attempt went wrong.
Why use this algebra calculator?
Exact answers, not rounded ones
Coefficients are stored as fractions, so 1/3 stays 1/3 and irrational roots keep their square root. A rounded decimal appears underneath when you need one.
Handles fractions and denominators
Equations such as x/2 + x/3 = 10 and 1/x + 2 = 5 work as typed. The calculator clears the denominators and warns you about the values that would divide by zero.
Systems of equations
Enter two or three equations on separate lines and the elimination method runs automatically, including the cases with no solution or infinitely many.
Nothing leaves your browser
The parser and the solver are plain JavaScript running on your device. No account, no upload, no limit on how many problems you work through.
How this Algebra Calculator works
Type an equation and this calculator reads it the way a person does: left side, equals sign, right side. It splits the input into numbers, letters, and operators, then rebuilds it as a polynomial that stores every coefficient as an exact fraction. That is why one third stays 1/3 and never drifts into 0.3333.
What happens next depends on what you typed. If a variable sits in a denominator, the calculator multiplies both sides by that denominator first and records which values you now have to exclude. It then moves every term to the left so the equation reads "something = 0" and collects like terms.
From there the degree decides the method. A first-degree equation gets divided by the coefficient of the variable. A second-degree equation goes through the quadratic formula, where the discriminant tells you whether you get two clean numbers, one repeated number, a square root that will not cancel, or a complex pair. Cubic and quartic equations rarely factor by hand, so the calculator traces the curve, finds each point where it crosses zero, and narrows every crossing to about six decimal places.
Put two or three equations on separate lines and it switches to elimination instead, clearing one unknown at a time until each variable stands alone.
Every step appears under the answer, so you can compare your own work line by line and spot exactly where a mistake crept in. Nothing is uploaded — the arithmetic runs entirely in your browser.
How to use this Algebra Calculator
Type the equation
Write it the way it appears on paper, for example 3x + 5 = 20. Use ^ for powers and / for fractions.
Press Solve
The calculator picks the right method on its own: division for linear equations, the quadratic formula for squares, elimination for systems.
Read the working
Compare each step against your own, then copy the answer or open the graph to see where the curve meets the x-axis.
Example Usage
Solving a system of two linear equations with two unknowns:
Frequently Asked Questions
What kinds of equations does this algebra calculator solve?
How do I type powers, fractions, and multiplication?
Can it solve two equations with two unknowns?
Why does the answer show a fraction instead of a decimal?
What is the discriminant and why does it appear?
Why did the calculator say there is no solution when my equation clearly has an x in it?
What does the note about values that are not allowed mean?
Can I use this to check my homework?
Does it solve inequalities such as x > 5?
Is anything I type sent to a server?
Why are cubic answers shown as decimals?
Related Tools
Scientific Calculator
Run trigonometry, logarithm, power, and root calculations in your browser.
Unit Converter
Convert between various units of measurement.
Binary Calculator
Perform arithmetic on binary numbers.
Integral Calculator
Find antiderivatives and evaluate definite integrals, with the integration rules and numeric area shown for each step.
Percentage Calculator
Work out what percent of a number, what percent one number is of another, percentage increase and decrease, and discounts or markups. Five calculators on one page.
Compound Interest Calculator
See how savings and investments grow with compound interest. Add regular deposits, pick a compounding frequency, and read the year-by-year balance breakdown.
The Algebra Calculator is maintained by CodeItBro. We aim to provide the best free developer tools on the web. If you have feedback or suggestions, please visit our contact page.

