functions

Algebra Calculator

Solve linear equations, quadratic equations and systems of equations with step-by-step working

edit_calendar Last updated: Jul 22, 2026 | verified Reviewed by Calkulator Team | timer 2 min read
Math illustration
Math

Solve linear equations, quadratics, and systems of equations

From simple equations like 2x + 3 = 11 to systems with two unknowns — enter the coefficients and get instant solutions with step-by-step explanations. Essential for students preparing for board exams and competitive tests.

tips_and_updates Always verify your answer by substituting it back into the original equation.

Linear: ax + b = c — solve for x

x +
=

functions Key Formulas

Linear: x = (c - b) / a

Quadratic: x = (-b — v(b²-4ac)) / 2a

Discriminant: Δ = b²-4ac; Δ>0 two roots, Δ=0 one root, Δ<0 complex

Cramer's Rule: x = Dx/D, y = Dy/D where D = a1b2 - a2b1

Solution

Enter values and click Solve to see the result here.

insights
Live Result Illustration
Visual summary — updates instantly as you enter values above
LIVE
Calculation Breakdown Updates in real-time Base / Original 2,500 Result / Change 500 Final Result 2,000 Percentage 20% Change any input above to see this chart update instantly in real-time.
tips_and_updates

Real-Life Guide to Using the Algebra Calculator

Solve linear and quadratic equations. Use the examples and checks below to turn the number into a practical decision.

When this calculator is useful

Use this to solve for an unknown variable in a linear equation like 4x − 9 = 19, or a quadratic equation, when you want to check your own algebra homework or skip repetitive manual isolation steps.

For most people, the best way to use the Algebra Calculator is to try the real case first, then change one input at a time. That makes the trade-off visible. For example, with a loan calculator you can change tenure while keeping the same rate; with an investment calculator you can change return assumption while keeping the same monthly contribution; with a health, education or measurement calculator you can check how much one input changes the final category.

The result should answer a practical question: Can I afford this? How much should I save? Is this score enough? Is this measurement within range? What is the safer or cheaper option? If the output does not answer the decision clearly, adjust the inputs until the scenario matches your real situation.

lightbulb Real-Life Example
Solving for an unknown x: A student needs to solve 4x − 9 = 19 for a homework assignment.
14x − 9 = 19 → 4x = 28 → x = 7. Checking: 4(7) − 9 = 28 − 9 = 19, which matches the right-hand side.
2Now change one input, such as rate, time, quantity, unit or score, and compare the new result with the first one.
Isolate x by undoing operations in reverse order — addition or subtraction first, then division or multiplication.

Practical Advice

Use the Algebra Calculator as a planning tool, not just a number generator. Write down the inputs you used, because the final answer is meaningful only when you remember the assumptions behind it.

If the decision affects money, health, tax, safety, academics or legal compliance, keep a second check ready. That second check may be a bank quote, payslip, official rule, prescription, site measurement, mark sheet or invoice.

Common Mistakes

  • Applying an operation to only one side of the equation, such as adding 5 to the left side of 2x + 5 = 15 without adding it to the right side too.
  • Forgetting to flip the sign when moving a term across the equals sign — 3x − 7 = 8 becomes 3x = 8 + 7 = 15, not 3x = 8 − 7 = 1.
  • Dividing both sides by a variable that could equal zero, which silently discards a valid solution — dividing x² = 3x by x loses the root x = 0.
  • Distributing incorrectly across parentheses, treating 2(x + 3) as 2x + 3 instead of 2x + 6.
  • Combining unlike terms, such as adding 3x and 5 together to get 8x, when they cannot be combined until x is known.

How to Interpret Results

The value(s) shown are the x that make the original equation true — substitute the answer back into the equation exactly as it was written to confirm both sides come out equal before trusting the result.

A good interpretation looks at both the main result and the supporting values. If a page shows totals, ratios, categories, schedules or warnings, read those together instead of focusing only on the biggest number.

quiz

Algebra Calculator FAQs

Useful answers for interpreting the output, avoiding mistakes and using the result responsibly.

What kinds of equations can this calculator solve?
It solves linear equations (like 4x − 9 = 19) and quadratic equations (like x² − 5x + 6 = 0), returning one or two values of x depending on the equation type.
What method does it use?
For linear equations it isolates x by performing inverse operations on both sides; for quadratics it applies the quadratic formula after identifying the a, b, and c coefficients.
Why do quadratics sometimes give one answer and sometimes two?
A quadratic can have two distinct real roots, one repeated root, or two complex roots depending on the discriminant (b² − 4ac). This calculator reports however many real solutions actually exist.
How can I use this to check my exam preparation?
Solve the equation by hand first, then substitute your answer back into the original equation as a check — if both sides do not match, compare against this calculator's steps to find where the arithmetic went wrong.
What does it mean if an equation has no solution?
An equation like x + 3 = x + 5 simplifies to 0 = 2, which is never true, so there is no value of x that works — this is different from x = 0 being the answer.
What if an equation is true for every value of x?
An equation like 2(x + 1) = 2x + 2 simplifies to 0 = 0, meaning every real number is a solution — this is called an identity rather than a conditional equation.
Can it handle equations with fractional or decimal coefficients?
Yes — coefficients like 0.5x + 1.25 = 3 or (2/3)x − 1 = 5 are processed the same way as whole-number coefficients, just with decimal or fraction arithmetic at each step.
When should I use the dedicated quadratic formula calculator instead?
If you already know your equation is in standard ax² + bx + c = 0 form and want to see the discriminant and both roots laid out explicitly, the quadratic formula calculator shows that breakdown in more detail.

What is an Algebra Calculator?

An algebra calculator solves linear and quadratic equations, simplifies expressions, and evaluates polynomial roots. It helps students check their work, understand step-by-step solution methods, and verify answers to algebraic problems quickly.

For linear equations (ax + b = c), the solution is straightforward. For quadratic equations (ax2 + bx + c = 0), the quadratic formula is applied to find real or complex roots, the discriminant tells us the nature of solutions, and the vertex of the parabola is computed.

lightbulb Example Calculation
Scenario: Vijay, Class 10 student from Chennai — solving a board exam problem: "A train covers a distance of 300 km. If speed is increased by 10 km/h, it takes 1 hour less. Find original speed." (leads to quadratic: x2+10x-3000=0)
1Discriminant: b²-4ac = 25-24 = 1 (two real roots)
2x = (5 — v1) / 2 → x = 3 or x = 2
3Verify: (3-2)(3-3) = 0 ✓ and (2-2)(2-3) = 0 ✓
✓ Result: x = 3 and x = 2 (factors: (x-3)(x-2))

help_outlineHow to Use the Algebra Calculator

  1. Select the equation type using the tabs — Linear (ax + b = c), Quadratic (ax2 + bx + c = 0), or System (two equations, two unknowns).
  2. For Linear: enter the coefficient a, constant b, and right-hand side c; click "Solve Linear Equation" to find x.
  3. For Quadratic: enter a, b, and c; click "Solve Quadratic" to get both roots via the quadratic formula along with the discriminant value.
  4. For System of 2 Equations: enter all 6 coefficients (a1, b1, c1 and a2, b2, c2); click "Solve System" — Cramer's Rule is used to find x and y.
  5. Review the step-by-step working shown below the result to understand the method — useful for verifying homework and exam answers.

Benefits

  • Step-by-step working shown for every equation type — learn the method, not just the answer
  • Discriminant displayed for quadratics — know nature of roots before solving
  • Three equation types in one tool — covers Class 10 to undergraduate algebra
  • Handles decimal and negative coefficients accurately
  • Cramer's Rule method for simultaneous equations — directly applicable to JEE and board exams

Key Terms

Linear Equation
ax + b = c; solution is x = (c - b) / a; exactly one solution (if a ≠ 0)
Quadratic Equation
ax2 + bx + c = 0; solved by x = (-b — vΔ) / 2a; up to two roots
Discriminant (Δ)
b2 - 4ac; Δ > 0 = two real roots, Δ = 0 = one repeated root, Δ < 0 = complex roots
System of Equations
Two equations with two unknowns (x, y); solved using Cramer's Rule via determinants
Cramer's Rule
x = Dx/D, y = Dy/D where D = a1b2 - a2b1; fails when D = 0 (no unique solution)

quizFrequently Asked Questions

What does the discriminant tell me about a quadratic equation?
The discriminant (Δ = b2 - 4ac) reveals the nature of roots without fully solving: Δ > 0 means two distinct real roots (parabola crosses x-axis twice); Δ = 0 means one repeated real root (parabola touches x-axis at one point); Δ < 0 means complex conjugate roots (parabola never crosses x-axis). Checking the discriminant first is a standard exam technique to avoid unnecessary computation.
When does a system of equations have no solution?
When the two equations represent parallel lines — same coefficient ratios (a1/a2 = b1/b2) but different right-hand sides — there is no intersection and no solution. The determinant D = a1b2 - a2b1 equals zero in this case. When D = 0 and the numerator determinants are also zero, the lines coincide and there are infinitely many solutions. Cramer's Rule is undefined when D = 0.
Can this calculator solve equations with fractions or decimals as coefficients?
Yes. Enter decimal coefficients directly (e.g., 1.5 for 3/2, 0.75 for 3/4). The calculator handles all real-number coefficients — integers, decimals, and negatives. For fractions like 2/3, convert to decimal (0.6667) before entering. Results are shown in decimal form and can be converted to fractions manually if needed.
What is the relationship between roots and factors of a quadratic?
If a quadratic ax2 + bx + c = 0 has roots r1 and r2, it factors as a(x - r1)(x - r2). Example: x2 - 5x + 6 = 0 has roots x = 2 and x = 3, so it factors as (x - 2)(x - 3). You can verify: sum of roots = r1 + r2 = -b/a = 5; product of roots = r1 — r2 = c/a = 6. These Vieta's formulas let you cross-check roots quickly without full multiplication.
How is Cramer's Rule applied to solve simultaneous equations?
For the system a1x + b1y = c1 and a2x + b2y = c2: compute the main determinant D = a1b2 - a2b1; then Dx = c1b2 - c2b1 (replace the x column with constants); Dy = a1c2 - a2c1 (replace the y column with constants); finally x = Dx/D and y = Dy/D. Cramer's Rule is especially useful in Class 12 and JEE because it is mechanical and error-resistant once determinants are set up correctly.
keyboard_arrow_up