✦ Interactive calculatorFree · No sign-up
Enter the values shown in each labelled field. Invalid values return a specific explanation.
YOUR RESULT
Ready to calculate
Enter your values and choose Calculate.
Results are calculated locally in your browser. Verify critical calculations independently.
How to use this calculator
Use a, b and c to represent the one-variable equation ax + b = c. Enter the coefficient and constants, then select Calculate.
- Enter the coefficient of x in a, the left-hand constant in b and the right-hand value in c.
- Select Calculate to solve for x. The displayed steps subtract b and divide by a when a is nonzero.
- Use Reset to restore the starting example.
Formula and worked example
If a ≠ 0, x = (c − b) ÷ a.
Example: 5x − 4 = 21 → 5x = 25 → x = 5 (a = 5, b = −4, c = 21).
Input requirements and limitations
If a = 0, the equation has no solution when b ≠ c, or infinitely many solutions when b = c. This tool solves only equations of the form ax + b = c.