Skip to main content
math

Absolute Value Equation Calculator

Solve equations of the form |ax + b| = c, finding all solutions and checking for extraneous roots.

Reviewed by Christopher FloiedPublished Updated

This free online absolute value equation calculator provides instant results with no signup required. All calculations run directly in your browser — your data is never sent to a server. Enter your values below and see results update in real time as you type. Perfect for everyday calculations, homework, or professional use.

Coefficient of x inside absolute value

Constant added to ax inside absolute value

The value the absolute value equals

Results

Solution x₁ (positive case)

0

Solution x₂ (negative case)

0

Solutions exist

1

How to Use This Calculator

1

Enter your input values

Fill in all required input fields for the Absolute Value Equation Calculator. Most fields include unit selectors so you can work in your preferred unit system — metric or imperial, whichever matches your problem.

2

Review your inputs

Double-check that all values are correct and that you have selected the right units for each field. Incorrect units are the most common source of calculation errors and can produce results that are off by factors of 2, 10, or more.

3

Read the results

The Absolute Value Equation Calculator instantly computes the output and displays results with units clearly labeled. All calculations happen in your browser — no loading time and no data sent to a server.

4

Explore parameter sensitivity

Try adjusting individual input values to see how the output changes. This is a quick and effective way to develop intuition about how different parameters influence the result and to identify which inputs have the largest effect.

When to Use This Calculator

  • Use the Absolute Value Equation Calculator when you need a quick mathematical result without writing out all the steps manually, saving time on repetitive calculations.
  • Use it to verify hand calculations on tests or assignments and catch arithmetic mistakes.
  • Use it when teaching or explaining mathematical concepts to others, demonstrating how changing inputs affects the result.
  • Use it to explore the behavior of mathematical functions across a range of inputs.

Related Calculators

About Absolute Value Equation Calculator

The Absolute Value Equation Calculator solves equations of the form |ax + b| = c by splitting them into two linear cases. Absolute value represents the distance of a number from zero on the number line, making it always non-negative. Because the absolute value function creates a V-shaped graph, an equation like |ax + b| = c typically has two solutions (when c > 0), one solution (when c = 0), or no solution (when c < 0). Absolute value equations appear in tolerance analysis in engineering, error bounds in numerical methods, distance problems in geometry, and deviation calculations in statistics. Understanding how to solve these equations is essential for working with piecewise functions, inequalities, and more complex absolute value expressions.

The Math Behind It

The absolute value of a real number x, written |x|, equals x when x is non-negative and -x when x is negative. Geometrically, |x| measures the distance from x to 0 on the number line. More generally, |a - b| measures the distance between a and b. To solve |ax + b| = c, we recognize that the expression inside the absolute value bars can be either positive or negative while still yielding c. This gives two cases: Case 1, ax + b = c (the expression is already non-negative), yielding x = (c - b)/a; Case 2, ax + b = -c (the expression is negative, and the absolute value negates it), yielding x = (-c - b)/a. If c > 0, both cases produce valid solutions. If c = 0, both cases give the same solution x = -b/a. If c < 0, no solution exists because absolute values are never negative. After solving, always verify solutions by substituting back, especially in more complex absolute value equations where extraneous solutions can arise. Absolute value functions are piecewise linear, and their graphs form V-shapes (or W-shapes for more complex expressions). Absolute value inequalities extend these ideas: |ax + b| < c defines an interval, while |ax + b| > c defines a union of two rays.

Formula Reference

Absolute Value Definition

|x| = x if x ≥ 0, -x if x < 0

Variables: The absolute value is always non-negative

Solving |ax+b| = c

ax+b = c or ax+b = -c (when c ≥ 0)

Variables: Split into two linear equations

Worked Examples

Example 1: Two solutions

Solve |2x - 3| = 7

Step 1:Since 7 > 0, there are two cases
Step 2:Case 1: 2x - 3 = 7 → 2x = 10 → x = 5
Step 3:Case 2: 2x - 3 = -7 → 2x = -4 → x = -2
Step 4:Verify: |2(5) - 3| = |7| = 7 ✓
Step 5:Verify: |2(-2) - 3| = |-7| = 7 ✓

x = 5 or x = -2

Example 2: No solution

Solve |3x + 1| = -4

Step 1:The right side is -4 < 0
Step 2:Absolute value is always ≥ 0
Step 3:No value of x can make |3x + 1| negative

No solution

Common Mistakes & Tips

  • !Forgetting that |expression| = negative number has no solution
  • !Only solving one case instead of both ax + b = c and ax + b = -c
  • !Not checking for extraneous solutions in compound absolute value equations
  • !Confusing absolute value equations with absolute value inequalities (which use intervals)

Related Concepts

Used in These Calculators

Calculators that build on or apply the concepts from this page:

Frequently Asked Questions

Can absolute value equations have more than two solutions?

Simple equations |ax + b| = c have at most two solutions. However, equations with multiple absolute value terms (like |x - 1| + |x + 2| = 5) can have infinitely many solutions in certain intervals.

How do absolute value equations relate to distance?

|x - a| = d means x is exactly d units from a on the number line. This gives x = a + d or x = a - d, which is the geometric interpretation of the two algebraic cases.

Embed this calculator on your site

Paste this snippet into your blog, course page, or documentation to drop a live, interactive Absolute Value Equation Calculator into your page.

Free to embed — includes a link back to MegaCalc.