Absolute Value Inequality Solver
Enter a, b, c, and the inequality direction to solve for x.
Result
How it is calculated
The tool solves |ax + b| ⋄ c, where ⋄ is one of <, ≤, >, ≥ (codes lt, le, gt, ge). It finds the two boundary points where the inside equals −c and +c: x₁ = (−c − b) ÷ a and x₂ = (c − b) ÷ a, then sorts them into a lower and an upper bound, so a negative a still gives them in the right order. The "less than" types give one interval between the bounds; the "greater than" types give the two outer rays. Strict signs exclude the endpoints, ≤ and ≥ include them. With a = 0 or an empty field there is no result. If c is negative, |…| < c and |…| ≤ c have no solution and |…| > c and |…| ≥ c hold for every real number. With c = 0, < has no solution, ≤ gives the single point x = −b ÷ a, ≥ gives all reals, and > gives every x except that point. Bounds are printed to 4 decimals.
Worked example
Solve |2x − 3| < 7, so a = 2, b = −3, c = 7. The inside must lie between −7 and 7. First boundary: x₁ = (−7 − (−3)) ÷ 2 = −4 ÷ 2 = −2. Second boundary: x₂ = (7 − (−3)) ÷ 2 = 10 ÷ 2 = 5. Because the sign is a strict "less than", the answer is the open interval -2.0000 < x < 5.0000. Check x = 0: |−3| = 3, which is below 7, so it belongs. Check x = 6: |9| = 9, which is not below 7, so it does not.
Common mistakes
- Choosing the wrong direction. "Less than" gives one interval between the bounds, while "greater than" gives two outer pieces; mixing them up flips the whole answer.
- Entering b with the wrong sign. For |2x − 3| the constant is b = −3, not 3, which would move both bounds by 3 ÷ 2.
- Writing the inequality as |ax + b| > c when it is really |ax − b| > c, or forgetting that the coefficient of x belongs in a. Rewrite the expression as ax + b first, for example |3 − x| becomes a = −1, b = 3.
- Expecting a range at c = 0. For ≤ the result is the single point x = −b ÷ a, and for > it is every x except that point, which is displayed as x < p or x > p with the same number twice.
- Treating a negative c like a normal bound. An absolute value can never be below a negative number, so that case is empty by definition, and "greater than" is true for every real number.
About this calculator
Solving |ax + b| < c or |ax + b| > c means splitting the absolute value into its two cases based on the sign of the expression inside it. For a "less than" inequality, |ax+b| < c becomes the compound inequality −c < ax+b < c (only valid when c > 0), which solves to a single interval. For a "greater than" inequality, |ax+b| > c splits into two separate branches — ax+b > c or ax+b < −c — giving a solution that's the union of two disjoint rays rather than one interval.
This solver takes a, b, c, and the inequality sign (<, ≤, > or ≥), applies the correct case split, and returns the resulting solution interval or pair of rays, including the edge cases c < 0, where the inequality is either always true or has no solution, and c = 0, where the answer can shrink to a single point or exclude just one. Algebra and pre-calculus students use it to check homework and see the case-split reasoning applied to their specific numbers rather than just a final answer.
Was this helpful?
You can pick up to 3 reactions.
Popular calculators
Loan Calculator
Monthly payment, total interest and full amortization schedule.
Percentage Calculator
Percent change, percent of, and ratio calculations.
Discount Calculator
Calculate final price, savings, and discount amount.
BMI Calculator
Body mass index from height and weight (metric or imperial).
Age Calculator
Compute your exact age in years, months and days from a birth date.
Compound Interest Calculator
Calculate the final amount and interest earned with compounding.
All Calculators
- Loan Calculator
- Profit Calculator
- Discount Calculator
- BMI Calculator
- Percentage Calculator
- Ideal Weight Calculator
- Age Calculator
- Pregnancy Due Date Calculator
- Compound Interest Calculator
- BMR Calculator (Basal Metabolic Rate)
- Tip Calculator
- Fuel Cost Calculator
- Date Difference Calculator
- Sleep Cycle Calculator
- Daily Water Intake Calculator
- Simple Interest Calculator
- Heart Rate Zones Calculator
- Running Pace Calculator
- Pet Age Calculator
- Calories Burned Calculator
- Macro Calculator
- TDEE Calculator (Total Daily Energy Expenditure)
- Waist-to-Hip Ratio Calculator
- Honor Roll Calculator
- One Rep Max (1RM) Calculator
- Ovulation Calculator
- Electricity Cost Calculator
- Unit Price Calculator
- Savings Goal Calculator
- Break-Even Point Calculator
- Paint Calculator
- Course Grade Average Calculator
- Business Days Calculator
- Time Duration Calculator
- Fuel Economy Calculator
- Temperature Converter
- Tile Calculator
- Aspect Ratio Calculator
- Roman Numeral Converter
- Goal Weight Timeline Calculator
- Salary Converter (Hourly to Annual)
- Credit Card Validator (Luhn)
- Body Surface Area (BSA) Calculator
- Feels-Like Temperature Calculator
- Ohm’s Law Calculator
- PPI (Pixel Density) Calculator
- Molar Mass Calculator
- Zodiac Sign Calculator (Western + Chinese)
- IBAN Validator
- Shoe Size Converter
- Country Info & Dialing Code Lookup
- Time Zone Difference (World Clock)
- CAGR (Compound Annual Growth Rate) Calculator
- Rule of 72 Calculator
- Blood Alcohol Content (BAC) Calculator
- Lean Body Mass (LBM) Calculator
- Pythagorean Theorem Calculator
- Speed Converter
- Download Time Calculator
- Date Calculator (Add/Subtract)
No calculators found
Comments (1)
Read "|ax + b| is less than c" as a distance: x lies within c ÷ |a| of the centre −b ÷ a. For the default, |2x + 3| less than 7, the centre is −1.5 and the half-width is 3.5, giving −5 to 2. That picture also explains why a negative c has no solution with less-than. Which type gives you more trouble, less-than or greater-than?