Math Formula Calculator

Substitute values, rearrange for any variable, and solve formulas containing fractions
A = pi*r^2 with r = 3
Rearrange C = 5/9(F - 32) to solve for F
Convert 25 degrees Celsius to Fahrenheit
Solve x/3 + 1/4 = 5/6

Substituting Numbers into a Formula

A formula is a rule that connects quantities: A=πr2A = \pi r^2 says the area of a circle is fixed once you know its radius. Using one has three steps.

  1. Write the formula down first, before touching any numbers.
  2. Replace each letter with its value in brackets. The brackets are not decoration — they keep negatives and multi-digit numbers intact. Substituting x=−4x = -4 into x2x^2 has to become (−4)2=16(-4)^2 = 16; without brackets you get −16-16.
  3. Evaluate with PEMDAS: brackets, then exponents, then multiply and divide left to right, then add and subtract.

Two things sink most attempts: letters written next to each other mean multiply — 2πr2\pi r is 2×π×r2 \times \pi \times r — and units must be consistent before you substitute, since a formula in metres cannot take centimetres.

Rearranging for a Different Letter

When the letter you want is not already alone, rearrange the formula and then substitute. It keeps the algebra clean and lets you reuse the result.

The rule is a balance: whatever you do to one side, do to the other. Undo the operations that surround your target, in reverse PEMDAS order — strip the additions first, then the multiplications, then powers and roots.

Rearranging C=59(F−32)C = \frac{5}{9}(F - 32) for FF:

95C=F−32âŸđF=95C+32\frac{9}{5}C = F - 32 \quad \Longrightarrow \quad F = \frac{9}{5}C + 32

The first move multiplies both sides by 95\frac{9}{5} (the reciprocal of 59\frac{5}{9}), which also removes the bracket; the second adds 3232 to both sides.

The usual error is doing one operation to only part of a side. If you multiply the left by 95\frac{9}{5}, every term on the right gets multiplied too.

Formulas Containing Fractions

Fractions inside a formula are far easier to remove than to work around. Multiply every term on both sides by the LCD of all denominators, and the fractions disappear in one move.

For x3+14=56\frac{x}{3} + \frac{1}{4} = \frac{5}{6}, the LCD of 33, 44 and 66 is 1212:

12⋅x3+12⋅14=12⋅56âŸđ4x+3=1012 \cdot \frac{x}{3} + 12 \cdot \frac{1}{4} = 12 \cdot \frac{5}{6} \quad \Longrightarrow \quad 4x + 3 = 10

From there it is ordinary algebra: 4x=74x = 7, so x=74x = \frac{7}{4}.

Two traps. Every term gets multiplied, including the ones without a fraction — miss one and the equation is no longer balanced. And a fraction bar is an invisible bracket: x+13\frac{x+1}{3} multiplied by 33 gives x+1x+1, not x+1÷3x+1 \div 3 or just xx.

Examples

Step 1: Write the formula: A=πr2A = \pi r^2.
Step 2: Substitute with brackets: A=π(3)2A = \pi (3)^2.
Step 3: Exponent before multiplication: (3)2=9(3)^2 = 9.
Step 4: A=9πA = 9\pi.
Step 5: As a decimal, 9×3.14159â€Ķ=28.2749 \times 3.14159\ldots = 28.274 to 3 decimal places.
Answer: A=9π≈28.274A = 9\pi \approx 28.274

Step 1: Multiply both sides by 95\frac{9}{5}, the reciprocal of 59\frac{5}{9}: 95C=F−32\frac{9}{5}C = F - 32.
Step 2: Add 3232 to both sides: F=95C+32F = \frac{9}{5}C + 32.
Step 3: Substitute C=25C = 25: F=95(25)+32F = \frac{9}{5}(25) + 32.
Step 4: 9×255=2255=45\frac{9 \times 25}{5} = \frac{225}{5} = 45.
Step 5: F=45+32=77F = 45 + 32 = 77.
Answer: F=95C+32F = \frac{9}{5}C + 32, so 25°C=77°F25°\text{C} = 77°\text{F}

Step 1: Denominators are 33, 44 and 66; the LCD is 1212.
Step 2: Multiply every term by 1212: 12⋅x3+12⋅14=12⋅5612 \cdot \frac{x}{3} + 12 \cdot \frac{1}{4} = 12 \cdot \frac{5}{6}.
Step 3: That clears the fractions: 4x+3=104x + 3 = 10.
Step 4: Subtract 33 from both sides: 4x=74x = 7.
Step 5: Divide by 44: x=74=1.75x = \frac{7}{4} = 1.75. Check: 1.753+0.25=0.583â€ū+0.25=0.83â€ū=56\frac{1.75}{3} + 0.25 = 0.58\overline{3} + 0.25 = 0.8\overline{3} = \frac{5}{6}.
Answer: x=74=1.75x = \frac{7}{4} = 1.75

Frequently Asked Questions

A formula is a general rule linking quantities, usually with a subject on the left, such as A = pi r^2. An equation is a statement to be solved for an unknown, such as 4x + 3 = 10. You substitute into a formula, and you solve an equation — though rearranging a formula uses exactly the same balancing moves.

Always put it in brackets. Substituting x = -4 into x^2 gives (-4)^2 = 16, whereas writing -4^2 without brackets gives -16 because the exponent is applied before the minus sign. The brackets keep the sign attached to the number.

Undo the operations wrapping your target letter in reverse order of operations, doing the same thing to both sides each time: strip additions and subtractions first, then multiplications and divisions, then powers and roots. Rearrange before substituting, so the numbers only enter once.

Multiply every term on both sides by the least common denominator of all the fractions. For x/3 + 1/4 = 5/6 that is 12, giving 4x + 3 = 10. Remember that terms with no fraction get multiplied too, and that a fraction bar acts as a bracket over everything above it.

Related Solvers

Try AI-Math for Free

Get step-by-step solutions to any math problem. Upload a photo or type your question.

Start Solving