
System Of Equations Solver
Use this free system of equations solver to solve two linear equations (ax + by = c, dx + ey = f) for x and y using Cramer's rule, elimination, and matrices.
Open toolEnter Coefficient a, Constant b, and Right side c into this linear equation solver to solve any single-variable equation a × x + b = c over the real numbers (x = (c − b) / a) in one click. Handles unique real roots, No solution, and Infinitely many solutions locally in your browser.
Enter the inputs, then select Calculate result.
Result will appear here
A solver for linear equations isolates the unknown variable x in the first-degree algebraic equation a × x + b = c, where a, b, and c are finite real numbers between -1,000,000,000 and 1,000,000,000. Enter your three values to see how to solve linear equations (2x + 3 = 11 returns x = 4) or classify degenerate a = 0 cases immediately in your browser.
If a ≠ 0, x = (c − b) / a; if a = 0 and b ≠ c, No solution; if a = 0 and b = c, Infinitely many solutions.
Isolates x in a × x + b = c by subtracting Constant b from Right side c and dividing by Coefficient a (up to 12 significant digits), or classifies a = 0 into No solution vs. Infinitely many solutions (for 2×2 linear systems, see our System of Equations Solver).
Compare 10 standard algebra problems showing how textbook equations map to Coefficient a, Constant b, Right side c, the algebraic isolation step, and the exact calculator output.
| Equation Form | Coefficient a | Constant b | Right side c | Isolation Step ((c − b) / a) | Exact Calculator Output | Solution Regime |
|---|---|---|---|---|---|---|
| 2x + 3 = 11 (Default) | 2 | 3 | 11 | (11 − 3) / 2 = 8 / 2 | x = 4 | Unique integer root |
| 5x − 15 = 0 (x-intercept form) | 5 | -15 | 0 | (0 − (-15)) / 5 = 15 / 5 | x = 3 | Unique positive root |
| -4x + 9 = 25 (Negative slope) | -4 | 9 | 25 | (25 − 9) / -4 = 16 / -4 | x = -4 | Unique negative root |
| 4x + 7 = 9 (Terminating fraction) | 4 | 7 | 9 | (9 − 7) / 4 = 2 / 4 | x = 0.5 | Exact decimal root |
| -3x + 7 = 2 (Repeating fraction) | -3 | 7 | 2 | (2 − 7) / -3 = -5 / -3 | x = 1.66666666667 | 12-sig-fig rational root |
| 0.25x + 1.5 = 6.25 (Decimals) | 0.25 | 1.5 | 6.25 | (6.25 − 1.5) / 0.25 | x = 19 | Decimal coefficient run |
| 5x − 4 = 2x + 11 (a = 5 − 2) | 3 | -4 | 11 | (11 − (-4)) / 3 = 15 / 3 | x = 5 | Variables on both sides |
| -8x + 6 = 6 (Zero numerator) | -8 | 6 | 6 | (6 − 6) / -8 = 0 / -8 | x = 0 | Normalized -0 to 0 |
| 0x + 3 = 11 (Contradiction) | 0 | 3 | 11 | 0x = 8 (b !== c) | No solution | Inconsistent (∅) |
| 0x + 5 = 5 (Algebraic identity) | 0 | 5 | 5 | 0x = 0 (b === c) | Infinitely many solutions | Identity (all real x) |
Follow these three steps to run this solving linear equations calculator in your browser.
Type the multiplier of x (2 preloaded, allowed range -1,000,000,000 to 1,000,000,000) into the Coefficient a field.
Type the left-hand constant b (3 preloaded) and right-hand total c (11 preloaded), using negative signs for subtracted terms.
Press Calculate result to solve for x immediately, then click Copy or Download (result.txt) to save the answer.
Review three algebra scenarios covering standard two-step equations, negative coefficients with repeating fractions, and zero-coefficient boundary checks.
Running the preloaded baseline (a = 2, b = 3, c = 11) outputs x = 4. Subtracting 3 from 11 leaves 2x = 8, and dividing by 2 gives x = 4 (verified by substituting 2(4) + 3 = 11). If your equation includes an x² term, switch to our Quadratic Equation Solver.

For the equation -3x + 7 = 2, set a to -3, b to 7, and c to 2. The solver computes (2 − 7) / -3 = -5 / -3 and displays x = 1.66666666667 rounded to 12 significant digits. If you also want the exact reduced fraction 5/3, paste the decimal or numerator/denominator into our Decimal to Fraction Converter or Fraction Simplifier.

When simplifying an equation cancels the variable term on both sides (for example, 4x + 3 = 4x + 11 => 0x + 3 = 11), entering 0, 3, and 11 leaves 3 !== 11 and outputs No solution. Conversely, an identity like 2(x + 2.5) = 2x + 5 simplifies to 0x + 5 = 5 and returns Infinitely many solutions.

Use these three algebraic rules to convert textbook problems into the a, b, and c fields before solving:
First, for equations with x on both sides (px + q = rx + s), subtract rx from both sides so all variable terms sit on the left: (p − r)x + q = s. Enter Coefficient a = p − r, Constant b = q, and Right side c = s. For fractional coefficients like x/4 − 1/2 = 3, either enter decimals (a = 0.25, b = -0.5, c = 3) or multiply every term by the least common multiple from our LCM Calculator (4) to enter integers (a = 1, b = -2, c = 12 => x = 14).
Second, geometrically, solving ax + b = c finds the x-coordinate where the line y = ax + b intersects the horizontal line y = c (see our Line Equation Calculator and Line Intersection Calculator). If you need to solve two equations in x and y, open our System of Equations Solver, or use our Diophantine Equation Solver for integer solutions to ax + by = c.

Check these three technical constraints before exporting results:
First, each field (#a, #b, #c) accepts finite real numbers between -1,000,000,000 and 1,000,000,000. Leaving a field blank or exceeding ±1,000,000,000 triggers "Enter a valid Coefficient a.", "Enter a valid Constant b.", or "Enter a valid Right side c."
Second, solutions are computed in IEEE 754 double-precision arithmetic and formatted to at most 12 significant digits via toPrecision(12), with negative zero (-0) normalized to x = 0. To evaluate higher-degree polynomials up to 100 coefficients at a given x, use our Polynomial Calculator.


Use this free system of equations solver to solve two linear equations (ax + by = c, dx + ey = f) for x and y using Cramer's rule, elimination, and matrices.
Open toolUse this free quadratic equation solver to solve ax² + bx + c = 0 for real, repeated, or complex roots (a ± bi) and discriminant Δ = b² − 4ac in one click.
Open toolFree Diophantine equation solver for ax + by = c over the integers with 100-digit BigInt precision. Returns gcd(a,b), one (x,y) pair, and all integer solutions.
Open toolChoose another tool for your next calculation, conversion, or text task.

Find the straight-line equation y = mx + b or vertical x = c through any two points (x1, y1) and (x2, y2) with our free browser line equation calculator.
Open tool
Find the unique intersection of two 2D lines in Ax + By + C = 0 form.
Open tool
Evaluate a polynomial at a supplied real value.
Open toolUse this free fraction simplifier to reduce proper and improper fractions to lowest terms, find the greatest common divisor (GCD), and get mixed numbers.
Open toolAnswers about using Linear Equation Solver and understanding its results.
Isolate the variable term ax by subtracting b from both sides of the equation (ax = c - b), then divide both sides by the nonzero coefficient a: x = (c - b) / a. For 2x + 3 = 11, subtracting 3 gives 2x = 8, and dividing by 2 gives x = 4.
You can either enter fractional coefficients directly as decimals (for example, enter 0.25 for 1/4 or 0.125 for 1/8) or multiply every term on both sides of the equation by the least common denominator (LCD) to convert all fractions into whole numbers before entering a, b, and c.
Combine the two x terms on the left by subtracting rx from both sides to form (p - r)x + q = s. Put the net multiplier p - r into #a, the left-hand constant q into #b, and the right-hand number s into #c. For instance, 8x + 2 = 3x + 17 simplifies to 5x + 2 = 17, which solves to x = 3.
Both outcomes happen when the variable multiplier a equals zero. An equation where the two constant sides disagree (b ≠ c, such as 0x - 4 = 9) is a contradiction with No solution, whereas an equation where both constants are identical (b = c, such as 0x + 12 = 12) is true for every real x and reports Infinitely many solutions.
A single equation with two variables (ax + by = c) defines an infinite line of real points (x, y); to find integer-only solutions, use our Diophantine Equation Solver. To find the unique (x, y) intersection of two linear equations (a1x + b1y = c1 and a2x + b2y = c2), use our System of Equations Solver.
Choose another tool for your next calculation, conversion, or text task.