Loading...
Find the absolute value of any number, solve |ax + b| = c equations, and work through |ax + b| < c inequalities - all with step-by-step solutions you can follow and export.
Quick examples:
Enter a value to calculate
The absolute value is always zero or positive
Absolute value is zero only when the number itself is zero
The absolute value of a product equals the product of absolute values
The absolute value of a sum is at most the sum of absolute values
A number and its negative have the same absolute value
The absolute value of a quotient equals the quotient of absolute values
Quick reference for frequently looked-up absolute values.
Three modes, one tool. Pick what you need and get answers fast.
Type any number - whole, decimal, or fraction (like -2/3) - and the calculator instantly shows the absolute value. A number line below the input marks where the original number sits and how far it is from zero. Tap any quick example to see it in action.
Enter the coefficients a, b, and the constant c. The calculator splits the equation into two cases, works through each one, and hands you both solutions with every algebraic step written out. If there is no solution (c is negative) or only one solution (c is zero), it explains why.
Enter your coefficients, pick the inequality direction (less than, less than or equal, greater than, greater than or equal), and enter c. The tool outputs the solution in both inequality notation and interval notation, with a full step-by-step breakdown. Share or export the result for homework or study notes.
Every equation and inequality is broken down into individual algebraic steps. You see exactly how each answer is reached, making it a study tool, not just an answer machine.
Basic absolute value, equation solving, and inequality solving are all here. Switch between modes without leaving the page or opening a different calculator.
The basic mode plots the original number and its absolute value on a number line so you can see the distance-from-zero concept instead of just reading about it.
Type -3/4 directly and get the absolute value as a fraction. No need to convert to decimals first. The calculator understands slash notation natively.
Inequality solutions come in both algebraic form and interval notation. Helpful for students who need to write answers in a specific format for class or standardized tests.
Copy your result to clipboard for messaging apps or export a full text file with the problem, solution, and all steps. Useful for homework submissions or tutoring sessions.
Strip away the textbook jargon and absolute value is just distance. Stand at zero on a number line: |-7| asks "how many steps to get to -7?" The answer is 7. |7| asks the same question for the positive side and gets the same answer. Direction does not matter, only magnitude. That single idea underpins everything else on this page.
Formally, |x| is defined as a piecewise function: it equals x when x is non-negative and equals -x when x is negative. Writing -x does not mean "make it negative" - it means "flip the sign." Flipping a negative gives you a positive, which is exactly the distance we want. The notation with vertical bars was introduced by Karl Weierstrass in 1841 and has been standard in mathematics ever since.
An equation like |2x - 5| = 9 asks: "When is the expression 2x - 5 exactly 9 units away from zero?" That happens in two scenarios. Either 2x - 5 itself equals 9, or 2x - 5 equals -9. Solving the first gives x = 7, solving the second gives x = -2. Both satisfy the original equation, and plugging them back in confirms it.
The trap to watch for is a negative constant on the right side. |anything| = -3 has no solution because absolute value cannot produce a negative output. Students lose easy marks on exams by plowing through the algebra without checking this first. Another subtlety: |expression| = 0 means the expression inside is exactly zero, so there is only one solution, not two.
More complex equations might have absolute value on both sides, like |x - 1| = |2x + 3|. The strategy is similar - you consider four combinations of signs - but two of them will be duplicates, leaving two cases to solve. Our calculator handles the standard |ax + b| = c form. For double-absolute-value equations, apply the same split-into-cases logic by hand.
Inequalities with absolute value split into two flavors depending on the direction of the comparison. "Less than" problems trap the variable in a range: |x - 4| < 3 means x sits within 3 units of 4, giving 1 < x < 7. In interval notation that is (1, 7). Picture a number line: you are looking at the neighborhood around 4 that extends 3 units in each direction.
"Greater than" problems push the variable away from the center: |x - 4| > 3 means x is more than 3 units from 4, so x < 1 or x > 7. In interval notation, (-infinity, 1) union (7, infinity). The solution is two separate pieces of the number line instead of one connected interval.
A useful shortcut to remember: "less thAND" (compound inequality, one interval) versus "greatOR" (two separate inequalities joined by OR). This mnemonic has saved countless students on timed tests. Our calculator produces both forms of the answer plus every algebraic step so you can follow the reasoning.
Six properties of absolute value come up repeatedly in algebra and beyond. Non-negativity (|a| is always at least 0) and positive-definiteness (|a| = 0 only when a = 0) are the foundation. Multiplicativity says |ab| = |a| times |b|, which extends naturally to division: |a/b| = |a|/|b|. Symmetry tells us |-a| = |a| - flipping the sign does not change the absolute value.
The triangle inequality, |a + b| <= |a| + |b|, is the workhorse property. It shows up in proofs about metric spaces, convergence of sequences, error bounds, and dozens of other places in mathematics. It essentially says that a detour can never be shorter than the direct route. If you remember one property beyond the definition, make it this one.
Beyond basic algebra, absolute value appears in calculus (limits, continuity, and the epsilon-delta definition), linear algebra (norms of vectors extend the idea of absolute value to higher dimensions), complex analysis (the modulus |a + bi| = sqrt(a squared + b squared)), and statistics (mean absolute deviation, mean absolute error).
In programming, the abs() function or Math.abs() is one of the most called utility functions. It shows up in distance calculations, sorting algorithms, error checking, and game physics. Financial applications use it to compute profit or loss magnitude regardless of direction. Signal processing relies on it when measuring amplitude without caring about phase.
Understanding absolute value at the conceptual level - distance from a reference point - makes all of these applications intuitive. Whether you are solving a homework problem or writing production code, the idea is the same: strip the sign and keep the magnitude.
Answers to common questions about absolute value and how to use this calculator.
This calculator is for educational purposes. Always verify solutions with your instructor or textbook. Results are computed using standard algebraic methods and floating-point arithmetic, which may produce small rounding differences for irrational or very large numbers.