Enter an inequality
Examples you can paste: 2x + 5 < 17, -3x ≥ 12, 4 - x ≤ 9,
or compound: 1 < x ≤ 6.
Solve one-variable linear inequalities (and common compound inequalities) with steps. Get answers in interval notation, set-builder form, and plain English. Perfect for quick homework checks and learning the “flip the sign” rule.
Examples you can paste: 2x + 5 < 17, -3x ≥ 12, 4 - x ≤ 9,
or compound: 1 < x ≤ 6.
An inequality is like an equation, except instead of asking “what value makes both sides equal,”
it asks “what values make the left side smaller or larger than the right side.” This calculator
solves one‑variable linear inequalities (the most common type you see in school, homework,
and day‑to‑day reasoning): things like 2x + 5 < 17, -3x ≥ 12, or 4 - x ≤ 9.
It also supports compound inequalities where the variable is trapped between two bounds,
like 1 < x ≤ 6.
Your result is shown in a few useful formats:
interval notation (like (-∞, 6]), set‑builder notation
(like { x | x ≤ 6 }), and a quick plain‑English interpretation.
The calculator also prints step‑by‑step working, including the only “gotcha”
that causes most mistakes: when you multiply or divide by a negative number, the inequality flips.
Most linear inequalities can be simplified into the standard form:
Ax + B < C (or ≤, >, ≥)
The solving strategy is basically the same as solving a linear equation:
get all x terms on one side and all constant terms on the other, then isolate x.
If you start with a general inequality:
a(x) + b < c(x) + d
move the variable terms together and constants together:
c(x) from both sides → (a - c)x + b < db from both sides → (a - c)x < (d - b)(a - c) → x < (d - b)/(a - c)
Important: if (a - c) is negative, dividing by it flips the sign:
(a - c)x < k becomes x > k/(a - c) when (a - c) < 0.
A compound inequality traps x between two bounds:
L < x ≤ U
You can think of it as two inequalities at the same time:
L < x (x is bigger than L)x ≤ U (x is at most U)
So the solution is the overlap: all x values that satisfy both.
In interval notation, the example above becomes (L, U].
Parentheses mean “not included,” brackets mean “included.”
Example 1: Solve 2x + 5 < 17
2x < 12x < 6(-∞, 6)Example 2: Solve -3x ≥ 12
x ≤ -4(-∞, -4]Example 3: Solve 4 - x ≤ 9
-x ≤ 5x ≥ -5[-5, ∞)Example 4 (compound): Solve 1 < x ≤ 6
(1, 6]{ x | 1 < x ≤ 6 }To solve a linear inequality, the calculator turns each side into a simple form:
(coefficient)·x + (constant)
For example, 3x - 7 becomes “coefficient = 3” and “constant = -7.”
Then it subtracts the right side from the left side to combine terms:
(aL - aR)x < (bR - bL)
Finally it isolates x by dividing by the remaining coefficient. If that coefficient is negative, the solver flips the direction automatically and formats the final answer as an interval and as a set.
This page is optimized for one‑variable linear inequalities and the most common compound inequalities (bounds around x). If you paste a more complex expression (like absolute-value inequalities or quadratics), the result may be incomplete — use it as a quick checker, then verify manually.
Multiplying by a negative reverses order on the number line. A simple way to remember:
if 2 < 5, multiplying both sides by -1 gives -2 > -5.
The direction must flip to stay true.
It means “all numbers less than or equal to 6.” Infinity always uses parentheses because it’s not a real number you can include.
< means “strictly less than” (endpoint not included), while ≤
means “less than or equal to” (endpoint included).
Use parentheses for strict bounds and brackets for inclusive bounds. For example:
2 < x < 9 → (2, 9), while 2 ≤ x < 9 → [2, 9).
Pick a test number inside your solution interval and plug it into the original inequality. Then pick a test number outside the interval. The inside number should make the inequality true, and the outside number should make it false.
Yes. If the x terms cancel out, you might end up with something like 5 < 2
(never true → no solution) or 5 < 9 (always true → all real numbers).
The solver detects this case and prints it clearly.
Educational note: This tool is designed for quick checking and learning. For graded work, always show your steps.
These are pulled from the Math & Conversions category so you can chain tools together (solve → simplify → graph → double-check).
If you want to graph the interval, try the Graphing Calculator next.