ThisCalculator

Everyday

Change Subject of Formula Calculator

Updated · Standard formula, shown below

The calculator for this page is switched off while it is checked. The formula is below, and the worked example in the article shows how to use it by hand.

Change Subject of Formula Calculator

This calculator rearranges a given formula to solve for any chosen variable, showing the algebraic steps and the final expression. You enter the original formula (using standard operators and one equals sign), select the variable you want to isolate, and the calculator returns the rearranged formula, a simplified result, and a worked example with the default values. It handles linear, quadratic, and simple exponential relationships, though it does not solve systems of equations or perform symbolic integration.

Formula

The calculator uses algebraic manipulation to isolate the target variable. For a linear equation of the form a·x + b = c, the steps are:

  • Subtract b from both sides: a·x = c − b
  • Divide both sides by a (provided a ≠ 0): x = (c − b) / a

Here, a, b, and c are constants (with units as given), and x is the variable to solve for. The calculator applies the same principle to more complex formulas: it uses inverse operations (addition/subtraction, multiplication/division, powers/roots) to undo everything that surrounds the target variable, maintaining equality at each step.

Worked Example

Using the default formula a·x + b = c with a = 2, b = 3, c = 7, and solving for x:

  1. Start: 2·x + 3 = 7
  2. Subtract 3 from both sides: 2·x = 4
  3. Divide both sides by 2: x = 2

The calculator returns x = (7 − 3) / 2 = 2, matching the manual calculation.

When to Use This Calculator

Use it whenever you have a formula (like those from physics, finance, or geometry) and you need to solve for a variable that is not already isolated. Common examples include converting Celsius to Fahrenheit (solving for °C), finding the radius from the area of a circle (A = πr² → r = √(A/π)), or computing the time in a distance-rate-time problem (d = rt → t = d/r). It is especially helpful for students checking homework, engineers rearranging design equations, or anyone who wants to verify their algebra quickly.

The calculator accepts formulas with one equals sign and one unknown variable. It can handle parentheses, exponents, and basic functions like sqrt, but it does not handle trigonometric identities or logarithms with unknown bases. For those, you may need to isolate the variable manually first.

How to Read the Result

The output shows the solved expression with the target variable on the left-hand side. For example, if you enter F = (9/5)C + 32 and select C, the result is C = (F − 32) × 5/9. The calculator also displays a numeric evaluation using the default values (if you provided any), which helps you verify that the rearrangement is correct.

Pay attention to the domain: if the formula involves a square root, the result is only valid for non‑negative radicands. Similarly, if you divide by a variable, that variable cannot be zero. The calculator will show a warning if a division by zero is possible.

Common Mistakes and Pitfalls

  • Forgetting to apply operations to both sides – always do the same thing to both sides of the equation.
  • Misordering inverse operations – undo addition/subtraction before multiplication/division, just as you would when solving a simple equation.
  • Ignoring parentheses – when a variable is inside parentheses, you must expand or use the distributive property first.
  • Sign errors – when moving terms across the equals sign, the sign flips (e.g., + becomes −).
  • Unit mix‑ups – if the formula uses mixed units (e.g., meters and centimeters), convert them to the same unit before substituting numbers.

A frequent misconception is that you can “move� a term to the other side without changing the equation. In reality, you are adding or subtracting the same quantity from both sides, which is why the sign changes.

Limitations of the Calculator

This tool is designed for formulas with a single unknown. It cannot solve systems of equations, nor can it handle inequalities or absolute value equations. It also does not simplify trigonometric expressions or perform symbolic integration/differentiation. For those tasks, you would need a computer algebra system (CAS) like Mathematica or a dedicated solver.

Additionally, the calculator assumes the variable appears only once in the formula. If the variable appears multiple times (e.g., x² + 3x = 5), it will rearrange to a quadratic form but will not solve for x numerically unless you specify the quadratic formula. In that case, the output will be the general solution using the quadratic formula, which you can then evaluate with your constants.

Alternatives and Verification

If you prefer to do the algebra by hand, the key is to work backwards: identify the last operation applied to the variable and undo it first. For example, in y = (x + 5)/2, the last operation is division by 2, so you multiply both sides by 2, then subtract 5, yielding x = 2y − 5. You can verify your result by substituting a test value into both the original and the rearranged formula – they should give the same output.

For more complex formulas, you can use online CAS tools or graphing calculators to check your work. But for most everyday formulas, this calculator gives you the rearrangement instantly, saving time and reducing arithmetic errors.

Frequently Asked Questions

Can I change the subject of any formula with this calculator?

It works for formulas with one unknown variable that appears once, using standard algebraic operations. If the variable appears multiple times or in a transcendental function (like sin or log), the calculator may not produce a closed-form solution.

What if the formula has a square root?

The calculator will isolate the square root term and then square both sides, but you must consider that squaring can introduce extraneous solutions. Always check that the result satisfies the original equation, and remember that the radicand must be non-negative for real numbers.

How do I enter a fraction like 9/5?

Use the slash (/) operator: type (9/5)*C + 32. The calculator follows standard order of operations, so parentheses are important when the fraction is part of a larger expression.

Why does the calculator show a warning about division by zero?

If your formula includes a variable in the denominator, the solution may be undefined when that variable equals zero. The calculator flags this so you know to exclude that value from the domain.

Can I use this for physics formulas with units?

Yes, but the calculator treats all numbers as unitless. You must ensure your input values are in consistent units. For example, if you use meters and seconds, the result will be in meters per second, but you have to keep track of the units yourself.

What if I want to solve for a variable that appears twice?

If the variable appears twice, the calculator will try to combine like terms. For instance, in a·x + b·x = c, it will factor out x: x(a + b) = c, then solve. If the variable appears in a more complex way, you may need to use the quadratic formula or other methods.

Related

Formula used
in f | Formula | - | a*x + b = c | 0
in v | Variable to solve for | - | x | 0
out result | Solved expression | - | (c - b)/a | 2

Each line is one input (in, sel, list) or one result (out: label, unit, formula, decimals). How the calculators work

Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.