lazycatthemes
Equation Solver

Rational Equation Solver

Free rational equation solver. Evaluates arithmetic expressions and solves linear equations in one variable, with step-by-step working, in your browser.

Rational Equation Solver tool

Supports + − × ÷ ^ % and functions sqrt, abs, sin, cos, tan, log, ln, exp, round, floor, ceil. Use = to solve for x.

Result

14

Supported input

It is a calculator and a linear equation solver in one box. Arithmetic goes straight through the parser; anything with an x on both sides is rearranged and isolated, printing each step rather than only the result.

Operators are +, −, ×, ÷, %, ^ and unary minus, with normal precedence — “2 + 3 × 4” is 14, not 20. The function set is sqrt, abs, sin, cos, tan, log (base 10), ln, exp, round, floor, and ceil. Implicit multiplication is handled, so “3x + 7 = 22” parses as 3x.

Worked example

Worked through end to end: “8x + 41 = 65” rearranges to Rearrange to (8.00000)x + (-24.0000) = 0, then x = 3. The trace it prints is 8x + 41 = 65, Rearrange to (8.00000)x + (-24.0000) = 0 and x = -(-24.0000) / (8.00000).

As a pure expression, “9 * 4 + 11 * 11” is 157. Paste either line into the tool and it will show the same working.

Where it stops

Equations must be linear in one variable. A quadratic, a system, or a second variable produces a clear “not supported” message rather than a wrong number, which is the behaviour you want from an automatic tool. Everything runs client-side, so there is no account and no install.

Frequently asked questions

What input does it accept?

Linear equations in a single variable, and arithmetic expressions. Operators, powers, percentages, and the sqrt/abs/trig/log/ln/exp/round/floor/ceil functions are all supported.

Does it show the steps?

Yes. For “8x + 41 = 65” it prints the rearrangement and the division through, ending at x = 3.

Is anything sent to a server?

No. Tokenising, parsing, and the step trace are all generated in the browser.