Equation Solver - Free Linear, Quadratic & System of Equations Calculator

Equation Solver – Solve Linear, Quadratic & System of Equations Free
x= Math Calculator

Equation Solver

Solve linear equations, quadratic equations, and systems of two equations instantly. Enter coefficients and get exact solutions with full step-by-step working.

ax + b = c  →  x = (c − b) ÷ a
x + =
SOLUTION FOR x Enter coefficients above
x VALUE
VERIFICATION (ax+b)
ax² + bx + c = 0  →  x = (−b ± √(b²−4ac)) / 2a
x² + x + = 0
ROOTS (x₁ and x₂) Enter coefficients above
x₁
x₂
DISCRIMINANT (Δ)
TYPE OF ROOTS
SUM (x₁+x₂)
PRODUCT (x₁×x₂)
a₁x + b₁y = c₁  and  a₂x + b₂y = c₂

Equation 1:

x + y =

Equation 2:

x + y =
SOLUTION (x, y) Enter coefficients above
x VALUE
y VALUE
DETERMINANT
VERIFY EQ1

f Formulas Used

Linear Equationax + b = c → x = (c − b) ÷ a
Quadratic Formulax = (−b ± √(b²−4ac)) ÷ 2a
DiscriminantΔ = b² − 4ac (determines root type)
Cramer's Rule (system)x = Dx/D, y = Dy/D

? How To Use

1
Choose equation type — Linear (ax+b=c), Quadratic (ax²+bx+c=0), or System of two equations.
2
Enter coefficients — type values for a, b, c in the input boxes. Results update instantly.
3
For quadratic — both roots x₁ and x₂ are shown, plus the discriminant and type of roots (real/complex).
4
For systems — enter coefficients for both equations and get x and y values solved using Cramer's Rule.
5
Tap Steps to see the full working including formula substitution and verification of the answer.

Key Features

x=

3 Equation Types

Linear, quadratic, and simultaneous systems all in one tool.

Full Step-by-Step

Formula substitution and verification shown for every solution.

Instant Solutions

Results update the moment you enter or change any coefficient.

Mobile Optimized

Large touch-friendly coefficient inputs — easy to use on phones.

Real-World Example

❓ A ball is thrown upward. Its height is h = −5t² + 20t + 1. When does it hit the ground (h=0)?
Equation: −5t² + 20t + 1 = 0 → a=−5, b=20, c=1
Δ = b²−4ac = 400 − (−20) = 420
t = (−20 ± √420) / (−10)
t₁ ≈ 4.049, t₂ ≈ −0.049 (negative rejected)
✓ The ball hits the ground after approximately 4.05 seconds.

Q Frequently Asked Questions

The quadratic formula solves ax² + bx + c = 0: x = (−b ± √(b²−4ac)) / 2a. The ± means there are two solutions (roots). The discriminant (b²−4ac) tells you how many real roots exist: positive = 2 real, zero = 1 real, negative = no real roots.
Δ = b²−4ac. If Δ > 0: two distinct real roots. If Δ = 0: one repeated real root. If Δ < 0: no real roots (two complex/imaginary roots). Our calculator shows the discriminant value and root type automatically.
We use Cramer's Rule with the determinant D = a₁b₂ − a₂b₁. Then x = (c₁b₂ − c₂b₁) / D and y = (a₁c₂ − a₂c₁) / D. If D = 0, the system has no unique solution (lines are parallel or identical).
Enter a=3, b=0, c=15. The form is ax + b = c. So 3x + 0 = 15, and the calculator solves x = (15−0)/3 = 5. You can also enter decimals and negative coefficients — all are supported.

Equation Solver - Solve Linear, Quadratic, and System Equations with Full Steps

"Solve for x" is probably the single most repeated instruction in algebra class, but it means genuinely different things depending on what kind of equation is sitting in front of you. A straightforward equation like 3x + 5 = 20 solves in two easy steps. Add a squared term, and suddenly you're pulling out the quadratic formula. Add a second equation with a second variable, and now you're solving a system rather than a single equation. An equation solver that treats these as three distinct problem types — rather than one generic "solve for x" button — genuinely reflects how differently these problems actually work.

The real value in a tool like this isn't just speed, either. It's confirming you're using the right method for the right equation type, and seeing the full working laid out so a mistake doesn't quietly slip through unnoticed. Quadratics in particular have a lot of moving pieces — a discriminant, two possible roots, the possibility of complex numbers entirely — and getting a clear breakdown of each piece matters more than just getting a final answer.

Three Equation Types, Three Different Approaches

Linear Equations

ax + b = c → x = (c − b) ÷ a

This is the foundational case — one variable, no exponents, solved by isolating x through basic inverse operations. Move the constant to the other side, then divide by the coefficient.

Quadratic Equations

ax² + bx + c = 0 → x = (−b ± √(b²−4ac)) / 2a

The quadratic formula handles any equation with a squared term, and the ± symbol means there are typically two solutions rather than one. The exact number and type of solutions depends entirely on a single value hiding inside that formula: the discriminant.

Systems of Two Equations

a₁x + b₁y = c₁ and a₂x + b₂y = c₂, solved using Cramer's Rule

When two equations share two unknowns, you need both equations simultaneously to pin down exact values for x and y. Cramer's Rule uses a determinant-based approach to solve for both variables directly, without needing substitution or elimination by hand.

Understanding the Discriminant

The discriminant (Δ = b² − 4ac) is genuinely the most important number hiding inside the quadratic formula, because it tells you upfront what kind of answer you're about to get, before doing any further calculation:

  • Δ > 0:  two distinct real roots — the equation crosses the x-axis at two separate points
  • Δ = 0:  one repeated real root — the equation just barely touches the x-axis at a single point
  • Δ < 0:  no real roots — the equation never touches the x-axis at all, and the solutions become complex numbers

This tool computes the discriminant automatically and tells you exactly which case you're dealing with before showing the final roots, which genuinely saves a lot of confusion when a quadratic doesn't behave the way you expected.

Equation Solver — Equation Types

General form: f(x) = 0 Every equation type below can be rearranged into this standard form before solving
TypeGeneral Form
Linearax + b = 0
Quadraticax² + bx + c = 0
Cubicax³ + bx² + cx + d = 0
System (2 variables)a₁x + b₁y = c₁ ; a₂x + b₂y = c₂
Exponentialaᵃ = b

How to Use This Equation Solver

  1. Pick your equation type — Linear, Quadratic, or System 2×2 — from the tabs at the top
  2. For linear equations, enter values for a, b, and c following the form ax + b = c
  3. For quadratics, enter a, b, and c for ax² + bx + c = 0, and both roots appear along with the discriminant and root type
  4. For systems, enter coefficients for both equations separately, and x and y are solved simultaneously using Cramer's Rule
  5. Tap "Steps" on any tab to see the complete working, including formula substitution and a verification check against the original equation

Real Example: When Does a Ball Hit the Ground?

A ball is thrown upward, and its height over time follows h = −5t² + 20t + 1. The question: when does it hit the ground, meaning when does h equal zero?

Setting up the equation: −5t² + 20t + 1 = 0, so a=−5, b=20, c=1.

Discriminant: Δ = b² − 4ac = 400 − 4(−5)(1) = 400 − (−20) = 420.

Applying the quadratic formula: t = (−20 ± √420) / (−10), which gives t₁ ≈ 4.049 and t₂ ≈ −0.049.

Since negative time doesn't make physical sense in this context, the negative root gets rejected, leaving the ball hitting the ground at approximately 4.05 seconds. This is a great example of a case where the math produces two mathematically valid answers, but only one makes sense given the real-world context of the problem.

Equation Solver — Solved Examples

Solve for the unknown that makes the equation true These examples cover linear, quadratic, cubic, and system equations
EquationSolution
x + 4 = 10x = 6
x² − 4 = 0x = 2, −2
2x + y = 10, x − y = 2x = 4, y = 2
x³ − 8 = 0x = 2

Why Systems of Equations Need Both Equations at Once

A single equation with two unknowns — like x + y = 10 — has infinite possible solutions. Adding a second equation constrains the problem down to exactly one solution (assuming the lines aren't parallel), which is exactly why systems require solving two equations together rather than one at a time. Cramer's Rule handles this using determinants: D = a₁b₂ − a₂b₁, then x = Dx/D and y = Dy/D, where Dx and Dy are calculated by substituting the constant terms into modified versions of that same determinant.

When a System Has No Unique Solution

If the main determinant D comes out to exactly zero, something specific is happening geometrically: the two lines represented by the equations are either parallel (no solution exists at all) or identical (infinitely many solutions exist). This calculator flags a zero determinant immediately with a clear error, rather than attempting to divide by zero and returning a meaningless result.

Where These Equation Types Actually Get Used

  • Physics:  projectile motion, exactly like the ball example, relies entirely on quadratic equations
  • Finance:  break-even analysis often reduces to solving a linear or quadratic equation
  • Engineering:  systems of equations describe circuits, structural forces, and material balances
  • Business analytics:  supply and demand intersections are classic system-of-equations problems

Connecting Back to Algebra

Solving an equation is really just a specific application of broader algebraic skills. If a problem needs an expression expanded or simplified before it's ready to solve — turning (x+5)² into x² + 10x + 25, for instance — the Algebra Solver handles that preparation step before this tool takes over to actually solve for the unknown.

Systems and Matrices Are the Same Idea in Different Clothes

A system of two equations can also be represented and solved as a matrix problem, and the underlying determinant math is genuinely identical either way. For larger systems, or for anyone who wants to see the matrix representation directly, the Matrix Calculator handles the same Cramer's Rule logic through matrix operations rather than a dedicated system-solving interface.

Verifying Results With Roots

Quadratic solutions often involve square roots directly in the formula, and double-checking that square root calculation independently is a good habit when working through a problem by hand. The Square Root Calculator is useful for that exact verification step, especially when a discriminant doesn't produce a clean perfect square.

A Mistake Worth Avoiding

A frequent error with the quadratic formula is forgetting that the ± applies to the entire square root term, not just part of it — some people accidentally compute only the addition case and miss the second root entirely. Both roots genuinely exist mathematically whenever the discriminant is positive, and skipping one means missing half the actual solution.

Beyond Basic Equation Solving

For equations that combine algebra with trigonometric or logarithmic functions, the Scientific Calculator and Log Calculator extend well past what linear and quadratic solving alone can cover. And for problems involving exponential growth that need solving for an unknown exponent rather than an unknown x, that's genuinely logarithm territory rather than standard equation solving.

Frequently Asked Questions

What does the discriminant actually tell you?

It tells you how many real solutions a quadratic equation has before you even calculate them. Positive means two real roots, zero means one repeated root, and negative means no real roots at all — just complex ones.

How do I solve a system of two equations with two unknowns?

Using Cramer's Rule: calculate the main determinant D from the coefficients, then two modified determinants Dx and Dy by substituting in the constant terms. x = Dx/D and y = Dy/D give the solution.

What happens if a quadratic has a negative discriminant?

The equation has no real solutions — the roots become complex numbers involving i, meaning the equation's graph never actually crosses the x-axis.

Can I enter a simple equation like 3x = 15?

Yes — enter a=3, b=0, c=15, since the form is ax + b = c. This solves to x = (15−0)/3 = 5.

Is this equation solver free to use?

Completely free, no sign up required, working instantly on any device.

Explore more calculators: Algebra Solver | Matrix Calculator | Square Root Calculator | Scientific Calculator

Kromo Tools

Reviewed by Kromo Tools Team

Building free, reliable online calculators and utilities for students, professionals, and everyday users. Last updated:

Your Ultimate Tool Hub

Discover powerful online tools designed to simplify your daily tasks. From AI tools and SEO utilities to calculators and converters, we provide fast, reliable, and user-friendly solutions to boost productivity and enhance your digital experience.
To Top