Linear equation in one variable
Solve linear equation in one variable with your values and follow each calculation step.
Inputs
Use the units shown—
Enter your values and select Calculate.
Formula & explanation
ax+b=c ⇒ x=(c−b)/a
Variables & units
- Coefficient of x
- Numeric value · minimum -1000000, maximum 1000000
- Constant on the left
- Numeric value · minimum -1000000, maximum 1000000
- Value on the right
- Numeric value · minimum -1000000, maximum 1000000
Worked example
3x+4=19 gives x=5.
Assumptions
Apply the same operation to both sides. This tool requires a unique solution.
Formula version 1.0.0. JavaScript floating-point arithmetic applies. Results display up to 6 decimal places; stored values retain available precision. Use the units shown.
Practice with an example
Use the default input values to find the answer. The reset icon restores those values.
Calculated on your device. Your latest 100 calculations stay in this browser.