Inequality Calculator

Solve linear inequalities step-by-step. Enter the coefficients to find the solution for x, and see exactly when and why the inequality sign flips.

Equation Format

ax + b [sign] c
Current Inequality 2x + 3 > 7

Solution

Final Result

x > 2

Step-by-Step Solution

Quick Answer: What is an inequality?

An inequality is a mathematical statement showing that two expressions are not strictly equal. Instead of an equals sign (=), it uses symbols like greater than (>), less than (<), greater than or equal to (≥), or less than or equal to (≤). Solving an inequality finds the range of values that makes the statement true.

Introduction to the Inequality Calculator

Whether you're balancing a budget, calculating safe load limits, or solving algebra homework, inequalities are everywhere. The Inequality Calculator allows you to input a linear expression and instantly see the step-by-step process required to isolate the variable.

Unlike standard equations, inequalities have special algebraic rules—most notably, flipping the sign when multiplying or dividing by a negative number. This tool handles that logic automatically, making it perfect for verifying your manual work.

How to Use the Inequality Calculator

Using this calculator is straightforward. The tool solves inequalities in the standard format ax + b [sign] c. Follow these steps:

  • Step 1: Enter the coefficient (a), which is the number multiplied by your variable (x).
  • Step 2: Enter the constant (b), which is the number added or subtracted on the left side.
  • Step 3: Select the correct inequality sign (<, ≤, >, or ≥).
  • Step 4: Enter the result value (c) on the right side of the inequality.

The calculator will update instantly as you type, providing the final solved range for x and the step-by-step breakdown.

How the Calculation Works

Solving a linear inequality is very similar to solving a basic equation. The goal is to isolate the variable x on one side. The calculator performs two main steps:

  1. Addition/Subtraction: It removes the constant (b) from the left side by doing the inverse operation to both sides.
  2. Multiplication/Division: It divides both sides by the coefficient (a) to leave x by itself.

The Golden Rule of Inequalities: If the coefficient (a) is a negative number, dividing both sides by that negative number causes the inequality sign to flip to its exact opposite (e.g., > becomes <).

Key Factors That Affect Inequalities

  • Sign Direction: Determines the boundary of your solution set. "Greater than" implies an open boundary pushing infinitely higher.
  • Strict vs. Non-Strict: A strict inequality (< or >) means the boundary number itself is not part of the solution. A non-strict inequality (≤ or ≥) means the boundary number is included.
  • Negative Coefficients: Any negative multiplier or divisor will invert your logic. For example, if -2x < 10, then x > -5.

Assumptions and Limitations

This specific calculator is designed for linear inequalities with a single variable (degree of 1). It assumes:

  • The equation can be formatted as ax + b [sign] c.
  • You are solving for real numbers, not complex numbers.
  • This tool does not currently graph the inequality on a number line, nor does it solve absolute value inequalities or quadratic inequalities.

Practical Inequality Examples

Here are a few real-world scenarios where inequality calculations apply:

Example 1: Budgeting

You have $500 to spend on a party. The venue costs $200, and catering costs $15 per person (x). How many people can you invite?
Equation: 15x + 200 ≤ 500
Solution: 15x ≤ 300 → x ≤ 20 (You can invite up to 20 people).

Example 2: Temperature Drops

The current temperature is 40°F and drops by 3°F per hour (x). When will the temperature be below freezing (32°F)?
Equation: -3x + 40 < 32
Solution: -3x < -8 → x > 2.66 (It will be below freezing after 2.66 hours). Note how dividing by -3 flipped the sign.

Quick Reference Table

Symbol Meaning Number Line Representation Example Solution
< Strictly less than Open circle, shade left x < 5 (..., 3, 4)
Less than or equal to Closed circle, shade left x ≤ 5 (..., 4, 5)
> Strictly greater than Open circle, shade right x > 5 (6, 7, ...)
Greater than or equal to Closed circle, shade right x ≥ 5 (5, 6, 7, ...)

Frequently Asked Questions

Why does the inequality sign flip when dividing by a negative number?

Think about numbers on a number line. We know that 3 < 5. If we multiply both sides by -1, we get -3 and -5. On the number line, -3 is actually greater than -5. Because negative numbers mirror positive numbers, multiplying or dividing by a negative reverses the order, requiring the sign to flip.

What happens if the coefficient (a) is zero?

If the variable's coefficient is zero, there is no variable left to solve for. You are left with a simple statement (e.g., 3 > 7). If that statement is true, the solution is "all real numbers." If the statement is false, there is "no solution."

What is a compound inequality?

A compound inequality combines two separate inequalities into one statement using "and" or "or" (e.g., -5 < x < 10). This calculator handles single, simple inequalities, but compound inequalities follow the same basic algebraic rules applied to all parts simultaneously.

Conclusion

The Inequality Calculator simplifies linear algebra by automatically handling inverse operations and negative sign-flipping. By providing step-by-step solutions, it helps students check their logic and professionals quickly calculate limits and boundary conditions without manual errors.

Disclaimer

This inequality calculator is provided for educational and informational purposes only. While we strive for mathematical accuracy, users should manually verify critical calculations before applying them to engineering, financial, or academic applications.

Need a different tool?

Browse our complete directory of free mathematical calculators and converters.

View All Tools

Save this page

This lets you quickly come back anytime.