Skip to content

Calculating Beam Deflection With a Spreadsheet

How far will a 2x4 sag under your weight? This movement is called deflection. On Day 1, build a Google Sheet to predict the deflection of a board supported at both ends and loaded in the middle. On Day 2, test the board and compare your measurement with your prediction.

A 2x4 lying flat, 3.50 inches wide and 1.50 inches tall.

In lab 20, you chose a bridge design. Here you’ll see how the shape and material of a beam affect how much it bends.

Before you start

Sign in to Google and have your notebook open. You'll need a new notebook entry titled Beam Deflection on Day 2.

Materials (Day 2)

  • One 2x4, about 8 feet long
  • Two supports of the same height, no taller than a step
  • Tape measure
  • Ruler
  • Bathroom scale
  • A partner to read the ruler

Safety

The supports stay low, no higher than a single step, and sit flat on the floor. One person on the beam at a time, with a partner standing by as a spotter. Nobody puts a hand or a foot under the beam while it is loaded. If you hear it crack, step off.

You've got it when…

  • Your Beam Deflection Sheet calculates deflection from width, height, force, length, and modulus, and recalculates on its own when you change any of them.
  • With the starting values it reports about 1.24 inches.
  • Calculated cells look different from the cells you type into, and every calculation is a formula, not a typed number.
  • An Error row compares a measured deflection to the calculated one as a percentage.
  • Your Beam Deflection notebook entry has a test photo, a spreadsheet screenshot, your percent error, and possible sources of error.

Collaboration & AI

Work: Build your own Sheet. On Day 2 you'll need a partner to read the ruler, and you'll each enter your own measurements.

AI — AIAS Level 1, No AI: The point of this lab is to build the model yourself and understand every cell in it, so set AI aside. What the levels mean.


Set Up the Sheet

A spreadsheet is only useful if someone else can read it, so we start with column headings.

  1. Create a new Google Sheet.

  2. Click the title in the upper left corner and rename the Sheet Beam Deflection.

    The Sheet title field reading Beam Deflection.

  3. Enter Item in cell A1.

  4. Enter Unit in cell B1.

  5. Enter Value in cell C1.

  6. Click row number 1 to select the entire row.

  7. Click the Bold button Bold to apply the bold style to the whole row.

Your screen should look like this.

Row 1 reads Item, Unit, Value in bold.


Area Moment of Inertia

Two wooden beams with the same cross-sectional area carry equal weights. The upright beam has a small bend and the flat beam has a larger bend.1

Imagine looking straight at the end of the board. The dashed line in each figure marks the bending axis through the center of the cross-section. The area moment of inertia (I) measures how the cross-sectional area is distributed around that axis. Area farther from the axis contributes more to I.1

End views of the same 2x4 lying flat and standing on edge. The horizontal dashed line passes through the center of each.

Turn the board on edge and more wood lies far above and below the axis. That gives the board a larger I. With the same span and center load, it bends less.

End views with the bending axis marked. Material spread further from the bending axis gives greater resistance to bending.1

An upright rectangle and an I-section of equal height and area. The I-section places more material in the top and bottom flanges.

An I-beam takes this idea further. Its wide top and bottom flanges put more material far from the axis. The thin middle web connects them.

  1. Enter the label Width (w) in cell A2.

  2. Enter the label Height (h) in cell A3.

  3. Enter the unit inches in both cells B2 and B3.

    Why a 2x4 isn't 2 by 4

    "2x4" is the board's nominal size, its rough-sawn size before it was dried and planed smooth. The finished board is 1.5 by 3.5 inches. Lying flat, as in the drawing at the top of this page, it is 3.5 inches wide and 1.5 inches tall.

  4. Enter 3.5 in cell C2.

  5. Enter 1.5 in cell C3.

Your screen should look like this.

Rows 2 and 3 hold Width (w) 3.5 inches and Height (h) 1.5 inches.

  1. Enter the label Area Moment of Inertia (I) in cell A4.

  2. Enter the unit inches^4 in cell B4. Read it as "inches to the fourth power." The label in A4 is partly hidden by the contents of B4; we'll fix that later.

The formula for the area moment of inertia of a rectangular cross-section is

\[ I = \frac{w h^3}{12} \]

where w and h are the width and height of the cross-section. Notice that height is cubed and width isn't. Keep that in mind for the Challenges.

We'll enter a formula in cell C4, an instruction that tells the spreadsheet to calculate a value from other cells instead of storing a number you typed.

  1. Select cell C4 and begin typing: =(

  2. Click cell C2 to add it to the formula.

  3. Type: *

  4. Click cell C3 to add it to the formula.

  5. Type: ^3)/12

    The complete formula should look like this in the formula bar, the long field above the column letters that shows what a cell really contains.

    The formula bar reading =(C2*C3^3)/12.

    =(C2*C3^3)/12
    
  6. Press Enter to enter the formula. The result appears immediately. If you change the value in C2 or C3, it recalculates on its own.

Your screen should look like this.

Row 4 shows Area Moment of Inertia (I) in inches^4 with the value 0.984375.

Formulas start with =

If C4 shows the text (C2*C3^3)/12 instead of a number, the equals sign is missing. Every formula begins with =; without it, the spreadsheet stores what you typed as plain text.


Force and Length

We'll calculate the deflection we can expect when a load is applied to the center of the beam while its ends are supported. This is a point load, applied at one focused spot, as opposed to a distributed load spread across the whole beam. For now we'll assume a weight and a length; on Day 2 you'll measure real ones.

  1. Enter the label Force (F) in cell A5.

  2. Enter the unit lbf in cell B5. "lbf" is the abbreviation for pounds-force.

    Pounds versus pounds-force

    1 lbf is the force of Earth's gravity pulling on a mass of 1 pound. A bathroom scale is a pound-force meter: the number it shows is how hard gravity is pulling you down, even though everyone just calls it "pounds."

  3. Enter the value 100 in cell C5.

  4. Enter the label Length (L) in cell A6, the unit inches in cell B6, and the value 96 (8 feet) in cell C6.

Your screen should look like this.

Rows 5 and 6 hold Force (F) 100 lbf and Length (L) 96 inches.


Modulus of Elasticity

Shape was the first half of stiffness. Material is the second. The modulus of elasticity (E), also called Young's modulus, measures how much a material resists elastic (reversible) deformation under stress. It comes from testing samples of a material, so for a given material we look it up.

  1. Enter the label Modulus of Elasticity (E) in cell A7.

  2. Enter the unit psi in cell B7. Pounds per square inch is a unit of pressure: one pound of force spread over an area of one square inch.

  3. Go to MatWeb's property search and navigate to Wood and Natural Products ▸ Wood ▸ Softwood. Find the Modulus of Elasticity for Interior West Douglas Fir (the closest match to our local Ponderosa pine) when it is Green. Read the number from the English units column.

    ksi is not psi

    The English column reports the modulus in ksi, kilopounds per square inch, which is thousands of psi. We need psi, so the number has to be multiplied by 1,000. The formula in the next step does that for you; don't type the extra zeros yourself.

  4. In cell C7, type =1000* and then the number you found in step 27, and press Enter. The result is that number multiplied by 1,000.

    Can't find it? Open for the number to expect.

    The modulus for green Interior West Douglas Fir is about 1510 ksi, so C7 should read about 1,510,000 psi. If MatWeb shows you something very different, you're probably reading the Dry row or a different species.


Deflection

Everything the formula needs is now in column C. The deflection (δ) of a beam with a point load at its center and supports at its ends is

\[ \delta = \frac{F L^3}{48 E I} \]

where F is the force applied at the center, L is the length of the beam between supports, E is the modulus of elasticity, and I is the area moment of inertia you calculated earlier.

Google Sheets doesn't have a simple way to type the Greek letter δ (delta), so we'll use a lowercase d for deflection.

  1. Enter the label Deflection (d) in cell A8.

  2. Enter the unit inches in cell B8.

  3. Enter this formula in cell C8:

    =(C5*C6^3)/(48*C7*C4)
    

    This is the formula above, cell by cell. The numerator and the denominator are each wrapped in parentheses so that each is calculated first and then one is divided by the other.

  4. Press Enter. The result should be approximately 1.24 inches.

    If you got a different number

    • Check that C7 holds the modulus from MatWeb times 1,000.
    • Check that the other inputs in column C match the figure below.
    • If the inputs match, check the formulas: C4 should be =(C2*C3^3)/12 and C8 should be =(C5*C6^3)/(48*C7*C4). Click the cell and read the formula bar; the formula bar never lies.

Your screen should look like this.

Rows 1 through 8 complete, with Deflection (d) calculating to about 1.24 inches.

Checkpoint

Change C5 to 200 and watch C8 double. Change it back. A model that answers "what if" without being rebuilt is the whole reason engineers use spreadsheets.


Tidying Up

The spreadsheet works. Now let's make it easy to read and use.

  1. Float your mouse over the divider between the column A and column B headers until the cursor turns into two vertical bars, as shown here.

    The cursor over the divider between column headers A and B.

  2. Double-click the divider to right-size column A to fit its longest label. You should now be able to read all of Modulus of Elasticity (E) in cell A7.

  3. Repeat for the dividers between columns B and C, and between C and D, to shrink columns B and C to fit their contents.

Your screen should look like this.

Columns A through C sized to fit their contents.

Two decimal places are plenty for readability. The spreadsheet still uses the full value internally.

  1. Select cell C4.

  2. Click the Decrease decimal places button Decrease decimal places repeatedly until only two decimal places are displayed. If you overshoot, the Increase decimal places button Increase decimal places brings them back.

  3. Repeat for cell C8.

    Display, not accuracy

    Changing the number of decimal places rounds what you see. It does not change the value stored in the cell or any calculation that uses it. C4 still holds 0.984375; it just shows 0.98.

  4. Double-click between the C and D column headers again to right-size column C.

Your screen should look like this.

Cells C4 and C8 showing two decimal places.

Last, let's make it obvious which cells a user types into and which cells the spreadsheet calculates. Color should always mean something in a spreadsheet, and here it means "don't type over this."

  1. Select cell C4.

  2. Hold Cmd (or Ctrl on a Windows computer) and click cell C8 so that both C4 and C8 are selected.

  3. Click the Fill color button Fill color and apply a color of your choice to the two calculated cells.

  4. Click the Borders button Borders and apply All borders to the same two cells.

Check your formatting before adding the measurement rows.

Calculated cells C4 and C8 filled and bordered.

Measuring the Error

Let's try the calculation on a real beam. We'll add a cell to record a real measurement and a cell that calculates the error, how far the measurement is from the prediction, as a percentage of the prediction.

  1. Change the label in cell A8 to Deflection (d), Calculated.

  2. Enter the label Deflection (d), Measured in cell A9.

  3. Enter the unit inches in cell B9.

  4. Enter the label Error in cell A10.

  5. Enter the unit % in cell B10.

The formula for error is

\[ \text{Error} = \frac{\lvert\, \text{measured} - \text{calculated} \,\rvert}{\text{calculated}} \]

The vertical bars mean absolute value: drop the minus sign if there is one, because we care how far off we are, not which direction.

  1. Enter this formula in cell C10:

    =abs(C9-C8)/C8
    

    C10 reads 1 for now (an error of 100 percent), because an empty C9 counts as zero. It will fix itself when you enter a measurement.

  2. Select cell C8 and click the Paint format button Paint format.

  3. Click cell C10. The fill and border from C8 are applied to C10, which marks it as a calculated cell.

  4. With cell C10 still selected, click the Format as percent button Format as percent.

Your screen should look like this.

Rows 8 through 10: calculated deflection, measured deflection, and error formatted as a percent.

In A11, enter Midspan height, unloaded. In A12, enter Midspan height, loaded. Enter inches in B11 and B12. In C9, enter =C11-C12. Apply the same fill and border as C8 to C9.

End of Day 1

Your spreadsheet is ready for testing. With the starting inputs, C8 shows about 1.24 inches. Leave C11 and C12 empty for tomorrow. Until you take readings, C9 shows zero and C10 shows 100%.


Day 2 starts here

Open your completed spreadsheet. Add a dated Beam Deflection entry to your engineering notebook.

Taking Data

Measure from the floor to the bottom edge of the beam at midspan both times. The ruler gives you two heights. Their difference is the deflection, shown by the brace in the figure.

Side view of the straight beam and a translucent overlay of the loaded beam. A ruler stands on the floor. The brace labeled Deflection spans the two bottom-edge readings at midspan.

  1. Set the board flat across the two low supports. Enter its measured width in C2 and its height (thickness) in C3, both in inches.

  2. Weigh the team member who will stand on the beam. Enter their weight in pounds in C5.

  3. Measure the span between the supports in inches and enter it in C6. C8 now predicts the deflection for this test.

    Measure between the supports

    The board may extend past the supports. Leave that overhang out of C6. Measuring from one end of the board to the other would make the span too long.

  4. Mark the midpoint of the span. Stand the ruler on the floor beside that mark. With the beam unloaded, read the height of its bottom edge and enter it in C11.

  5. With a spotter beside them, have the team member stand still at midspan. Read the same bottom edge against the ruler and enter the loaded height in C12. Take a photo showing the team member standing on the deflecting beam. Keep the spotter free to help.

  6. Step off. Compare C9 (measured deflection) with C8 (calculated deflection). C10 gives the size of the difference as a percentage of the calculated value.

Error is information

A model uses assumptions. Real boards vary, and a ruler has limited precision. Expect some difference when you test a prediction in the physical world. Record what you observe, even when it surprises you. Your grade depends on accurate reporting and reasoning, regardless of how large or small the error is.


Challenges

Try these on your own once your data is in. Use a copy of your sheet to explore these changes so your test data stay intact.

  • Turn it on edge. Swap the width and height so the beam is 1.5 wide and 3.5 tall, the way a floor joist is installed. How much less does it deflect? Find the line in the I formula that explains why builders never lay joists flat.
  • Double the span. Change L from 96 to 192 inches. The deflection doesn't double. By what factor does it grow, and which part of the deflection formula is responsible?

Notebook Check

Your Beam Deflection notebook entry is the only deliverable. Include:

  • A photo of a team member standing on the beam and deflecting it.
  • A screenshot of your completed sheet showing A1:C12, including both ruler readings, calculated and measured deflection, and percent error.
  • A statement reporting your percent error and whether the beam bent more than predicted, less than predicted, or as predicted.
  • A list of possible sources of error your team brainstormed. For each, explain how it could affect the prediction or measurement. Think about the wood stiffness you looked up, the load position, or how precisely you could read the ruler.

How It's Graded

Score Notebook evidence
4 The photo shows the loaded beam. The screenshot shows all inputs and results. The statement accurately interprets the error, and the list explains specific possible causes.
3 The test and results are documented, with a minor omission or an unclear explanation.
2 The entry shows a test or a calculation, but important evidence or interpretation is missing.
1 The entry contains little evidence of the test or its results.
0 No notebook entry.

Next: Simulate beam deflection in Fusion.


  1. Beam illustrations and adapted diagrams from Engineering Tomorrow’s Bridges — Student Workbook, Fall 2026, slide 9. Bridges lab resources. ↩↩↩