A formula is a rule written with symbols that shows how quantities are related. It is an equation with two or more variables, such as A = lw for the area of a rectangle. Formulas help solve problems the same way each time: substitute the values you know, then compute the one you need.
A formula names each quantity with a letter and shows how they connect. Put in the values you know, with their units, and the formula gives the one you need.
Formal definition and notation
A formula is an equation that states a general relationship between two or more variables, usually with one variable (the subject) alone on one side, as in C = 2 π r. It holds for every allowed value of the variables, so it can be reused. You evaluate a formula by substituting known values, and you solve a formula for a variable by rearranging it with the same steps used to solve equations: d = rt becomes t = dr for r ≠ 0.
A formula is one kind of mathematical model: it describes a real relationship with symbols.
A model formula: distance, rate and time
A model formula: distance, rate and time
d = rt
d
distance traveled (for example, miles)
r
rate, or constant speed (miles per hour)
t
time spent moving (hours)
The same formula answers three kinds of questions. Solved for time it is t = dr; solved for rate it is r = dt. The units must match: miles per hour with hours, not minutes.
Formula examples, step by step
Example 1: Substitute into a formula
Warm-up
A rectangle is 9 cm long and 4 cm wide. Use A = lw to find its area.
Write the formula: A = lw.
Substitute l = 9 and w = 4: A = 9 × 4.
Multiply: A = 36. Centimeters times centimeters gives square centimeters.
Answer: The area is 36 square centimeters.
Example 2: A formula with order of operations
Core
Use F = 95C + 32 to convert 25 degrees Celsius to Fahrenheit.
Substitute C = 25: F = 95(25) + 32.
Multiply first: 95 × 25 = 2255 = 45.
Then add: 45 + 32 = 77.
Answer: 25 degrees Celsius is 77 degrees Fahrenheit.
Example 3: Solve a formula for another variable
Test-style
Solve d = rt for t. Then find how long a trip of 210 miles takes at a constant 60 miles per hour.
Divide both sides of d = rt by r: t = dr.
Substitute d = 210 and r = 60: t = 21060.
Simplify: 21060 = 72 = 3.5. Miles divided by miles per hour gives hours.
3.5 hours is 3 hours 30 minutes.
Answer:t = dr, and the trip takes 3.5 hours (3 hours 30 minutes).
Common mistakes
✗ MistakeA rug is 2 m by 50 cm, so A = 2 × 50 = 100 square meters.
✓ InsteadUse one unit: 2 × 0.5 = 1 square meter, or 200 × 50 = 10,000 square centimeters.
Substitute values carefully and keep units consistent. Mixing meters and centimeters makes the answer 100 times too large.
✗ MistakeP = 2(l + w) with l = 7, w = 3: 2 × 7 + 3 = 17.
✓ InsteadP = 2(7 + 3) = 2 × 10 = 20
Substituting into a formula keeps its grouping. Work inside the parentheses first.
✗ MistakeA circle has diameter 10, so C = 2 π (10) = 20 π.
✓ InsteadThe radius is 5, so C = 2 π (5) = 10 π ≈ 31.4.
Match each value to the right letter. r is the radius, half the diameter.
✗ MistakeA = π r2 with r = 3: (3 π)2 ≈ 88.8.
✓ InsteadA = π × 32 = 9 π ≈ 28.3
The exponent applies only to r. Square the radius first, then multiply by π.
Any statement with an equal sign is an equation. A formula is an equation that states a general rule with several variables. 3x − 4 = 11 is an equation with one answer (x = 5); A = lw is a formula for every rectangle.
A model is any math description of a real situation: a graph, table, diagram or equation. A formula is one type of model, written as an equation.
Quick check: 3 questions
Question 1 of 3
Which formula gives the perimeter of a rectangle with length l and width w?
Show answer and explanation
Answer: B. The perimeter goes around all four sides: two lengths and two widths. lw is the area, l + w covers only half the boundary, and 4l works only for a square.
Question 2 of 3
A box is 5 in long, 4 in wide and 3 in high. Using V = lwh, what is its volume in cubic inches?
Show answer and explanation
Answer: D.V = 5 × 4 × 3 = 60. 12 adds the dimensions, 94 is the surface area 2(20 + 15 + 12), and 20 uses only length and width.
Question 3 of 3
Solve A = 12bh for h.
Show answer and explanation
Answer: A. Multiply both sides by 2 to get 2A = bh, then divide by b. Choice B divides by 2 instead of multiplying, choice C multiplies by b instead of dividing, and choice D subtracts a factor.
Formula: frequently asked questions
Is a formula the same as an equation?
A formula is a special equation. Every formula has an equal sign, so it is an equation, but it states a general rule connecting several quantities, such as A = lw for any rectangle. An equation like 4x = 20 is a single puzzle with one answer, x = 5. Formulas are reused; most equations are solved once.
How do you solve a formula for a different variable?
Treat the other letters like numbers and undo operations the same way you solve an equation. For P = 2l + 2w solved for w: subtract 2l to get P − 2l = 2w, then divide by 2 to get w = P − 2l2. This is called solving a literal equation.
Why do units matter in a formula?
A formula multiplies or divides the numbers you substitute, so the units must fit together. In d = rt, a speed in miles per hour needs a time in hours: 45 minutes must be 0.75 hours. Mixing units gives answers that are off by a factor of 60, 100 or 1,000. Convert first, then substitute.
EquationAn equation is a statement that two expressions are equal. It always has an equal sign, such as x + 5 = 12 or 3a = 18. Solving an equation means finding the value of the variable that makes it true: here x = 7 and a = 6. An expression like 4x + 7 has no equal sign, so it is not an equation.Algebra · Grade 6, Grade 7, Grade 8VariableA variable is a letter or symbol that represents a number or value, usually one that can change or is not yet known. In n + 5 = 12, the variable n is an unknown that equals 7. In A = lw, the variables l and w can take many values. Any letter can be a variable, not just x.Algebra · Grade 6, Grade 7, Grade 8SideA side is one of the straight line segments that form the outline of a polygon. Two sides meet at each corner, or vertex. A triangle has 3 sides and a square has 4, and adding the lengths of all the sides gives the perimeter.Geometry · Kindergarten, Grade 1, Grade 2EvaluateEvaluate means to find the single number value of an expression. Replace each variable with the number you are given, then calculate using the order of operations. For example, 2x + 7 evaluated at x = 3 is 2(3) + 7 = 13. The result is one number, not a new expression.Algebra · Grade 6, Grade 7, Algebra 1VolumeVolume measures the amount of space inside a three-dimensional figure, in cubic units such as cubic centimeters or cubic feet. You can find it by counting the unit cubes that fill the solid. For a rectangular prism, V = l × w × h; for any prism, it equals the area of the base multiplied by the height.Geometry · Grade 5, Grade 6, Grade 7LengthLength is how long something is: the distance from one end of an object to the other. You measure it by counting equal units laid end to end with no gaps or overlaps, such as inches, feet, centimeters or meters. A new pencil is about 7 inches long.Measurement · Grade 1, Grade 2, Grade 3SquareA square is a quadrilateral with four equal sides and four right angles. It is a special rectangle and a special rhombus at the same time. For a square with side s, the perimeter is 4s, the area is s2, and each diagonal is s√2.Geometry · Kindergarten, Grade 2, Grade 3SubstituteSubstitute means to replace a variable with a number or with an equal expression. In 4x − 1, substituting 3 for x gives 4(3) − 1. You substitute to evaluate expressions, to check whether a number is a solution, and to solve systems of equations by swapping in an equal expression.Algebra · Grade 6, Grade 7, Grade 8Order of OperationsThe order of operations is the agreed sequence for evaluating an expression: parentheses first, then exponents, then multiplication and division from left to right, then addition and subtraction from left to right. Without it the same expression would have several answers. Many students remember it as PEMDAS.Algebra · Grade 5, Grade 6, Grade 7PerimeterPerimeter is the total distance around a two-dimensional shape. To find it, add the lengths of all the sides. A rectangle with sides 5 and 3 has perimeter 5 + 3 + 5 + 3 = 16. Perimeter is a length, so it uses length units such as inches or meters, never square units.Geometry · Grade 3, Grade 4, Grade 5AreaArea is the amount of surface a flat shape covers, measured in square units. It counts how many unit squares fit inside the shape, which is why the units are squared. A rectangle’s area is length times width, so a 5 by 3 rectangle has area 15 square units.Geometry · Grade 3, Grade 4, Grade 5TriangleA triangle is a polygon with three sides and three angles. Its three corners are called vertices, and the angle measures in any triangle add to 180 degrees. Triangles are classified by their sides (equilateral, isosceles, scalene) and by their angles (acute, right, obtuse).Geometry · Grade 3, Grade 4, Grade 5CircumferenceCircumference is the distance around a circle, found by multiplying the diameter by pi, or the radius by 2 pi: C = π d = 2π r. It is the circle’s perimeter, measured in units of length. A circle with diameter 10 has a circumference of about 31.4, because π ≈ 3.14.Geometry · Grade 6, Grade 7, Grade 8Pythagorean TheoremThe Pythagorean theorem says that in a right triangle, a2 + b2 = c2. The legs are a and b, the two sides that form the right angle. The hypotenuse, c, is the longest side across from the right angle. Legs of 3 and 4 give 9 + 16 = 25, so the hypotenuse is 5.Geometry · Grade 8, Algebra 1Mathematical ModelA mathematical model represents a real situation using numbers, equations, diagrams, or graphs, well enough to make predictions. The equation C = 15 + 9m can model the cost of a subscription after m months. Every model simplifies, and knowing what a model leaves out is as important as knowing what it includes.Problem Solving · Grade 6, Grade 7, Grade 8CentimeterA centimeter is a metric unit of length equal to one hundredth of a meter, about the width of a fingernail. Its symbol is cm. There are 100 centimeters in 1 meter and 10 millimeters in 1 centimeter, and 1 inch equals 2.54 centimeters.Measurement · Grade 3, Grade 4, Grade 5DegreeA degree is the standard unit for measuring an angle, written with the symbol °. One degree is 1360 of a full turn, so a full turn is 360°, a straight angle is 180° and a right angle is 90°. An angle that turns through 25 one-degree angles measures 25°.Geometry · Grade 4, Grade 5, Grade 7MileA mile (mi) is a US customary unit of length for long distances, equal to 5,280 feet or 1,760 yards. One mile is about 1.61 kilometers, so it is longer than a kilometer. Road distances and speed limits in the United States use miles and miles per hour.Measurement · Grade 4, Grade 5, Grade 6SimplifySimplify means to rewrite a number or expression in a shorter, easier form without changing its value. To simplify a fraction, divide the numerator and denominator by a common factor until none is left: 1824 = 34. To simplify an expression, combine like terms and do the operations you can: 3x + 2x = 5x.Number System · Grade 4, Grade 5, Grade 6MeterA meter (m) is a metric unit of length equal to 100 centimeters. It is the base unit of length in the metric system, a little over three feet (about 3.28 feet). A doorway is about 2 meters tall, and 1,000 meters make a kilometer. To change meters to centimeters, multiply by 100.Measurement · Grade 3, Grade 4, Grade 5ExpressionAn expression is a number, variable, or combination of numbers and variables joined by operations, without an equal sign. Examples are 7, 4x + 9 and 3(a − 2). Expressions can be simplified, but they are not solved unless they are part of an equation. You evaluate one by replacing each variable with a number.Algebra · Grade 6, Grade 7, Grade 8Distance-Rate-Time FormulaThe distance-rate-time formula is d = rt: distance equals rate (speed) times time, for anything moving at a constant rate. Solve it for the other two letters to get r = dt and t = dr. Driving at 45 miles per hour for 3 hours covers 45 × 3 = 135 miles.Problem Solving · Grade 6, Grade 7, Algebra 1