The PhET Masses and Springs lab is one of the easiest ways to teach Hooke’s law and oscillations without a cabinet full of spring scales and slotted masses. Students hang masses on virtual springs, measure how far each spring stretches, time the bounce and watch kinetic, gravitational and elastic potential energy trade places in real time. Because every variable can be changed with a slider, students can run a clean, controlled experiment in a single class period.
This guide gives you a complete Masses and Springs lesson plan for middle and high school physics: a pre-lab question, three investigations (Hooke’s law, period of oscillation and energy), a data table, analysis questions, an extension using mystery masses, and tips for running it on Chromebooks. Everything runs free in the browser from the official PhET Masses and Springs page at the University of Colorado Boulder.
In this guide9 sections
- What students learn in the Masses and Springs simulation
- Before the lab: a 5-minute prediction
- Investigation 1: Hooke’s law and the spring constant
- Investigation 2: What changes the period?
- Investigation 3: Energy in a bouncing spring
- Analysis questions
- Extension: find the mystery mass
- Tips for running the lab
- Frequently asked questions
What students learn in the Masses and Springs simulation
The simulation lets students hang one or more masses from springs, change the spring constant (stiffness), add damping (friction) and even change gravity to match other planets. Tools such as a ruler, a stopwatch, an equilibrium-position marker and energy graphs make it a full virtual lab. Typical learning goals:
- Describe how the stretch of a spring depends on the force applied (Hooke’s law, F = kx).
- Calculate a spring constant from a graph of force versus displacement.
- Identify which variables change the period of oscillation (mass and spring constant) and which do not (amplitude, for an ideal spring).
- Explain how energy moves between kinetic, gravitational potential and elastic potential energy, and where it goes when damping is turned on.
The lab lines up well with high school physics standards on forces, energy conservation and mathematical models of motion, and with middle school units on energy transfer.
Before the lab: a 5-minute prediction
Start with a quick prediction so students have something to test. Write this on the board:
“If you hang a mass twice as heavy on the same spring, will it stretch twice as far, more than twice as far, or less? Will it bounce faster, slower or at the same speed?”
Have students write a prediction and one reason. Collect a few answers out loud but do not correct anyone yet. The simulation will settle the argument, which is far more convincing than you telling them.
Investigation 1: Hooke’s law and the spring constant
- Open the simulation and choose the screen with one or two springs and the ruler. Turn damping to zero or low so the spring settles quickly when you want to measure (or use the equilibrium marker).
- Hang a known mass (for example 50 g) on spring 1. Use the ruler to measure the stretch from the spring’s natural length to the equilibrium position.
- Repeat with 100 g, 150 g, 200 g and 250 g, keeping the spring constant slider fixed.
- Calculate the force on the spring for each mass using F = mg (with mass in kilograms and g = 9.8 N/kg on Earth).
- Graph force (y-axis) against stretch in meters (x-axis). The slope of the best-fit line is the spring constant k in N/m.
- Change the spring constant slider to a stiffer setting and repeat a few trials. Students should see a steeper line.
Sample data table
| Mass (g) | Mass (kg) | Force F = mg (N) | Stretch x (cm) | Stretch x (m) | F ÷ x (N/m) |
|---|---|---|---|---|---|
| 50 | 0.050 | 0.49 | |||
| 100 | 0.100 | 0.98 | |||
| 150 | 0.150 | 1.47 | |||
| 200 | 0.200 | 1.96 | |||
| 250 | 0.250 | 2.45 |
The last column should come out nearly the same in every row. That constant ratio is the whole point of Hooke’s law, and students discover it instead of copying it from the textbook.
Investigation 2: What changes the period?
The period is the time for one full bounce, down and back up. Students test three variables one at a time while keeping the others constant.
- Mass: pull a 100 g mass down a little, release it and use the stopwatch to time 10 full oscillations. Divide by 10 to get the period. Repeat with 200 g and 400 g.
- Spring constant: keep the mass the same and test a soft, medium and stiff spring.
- Amplitude: keep mass and spring the same, but release from a small pull and then a larger pull.
Timing 10 oscillations instead of one cuts reaction-time error a lot, and it is a good habit to teach for every lab. Students should find that a heavier mass gives a longer period, a stiffer spring gives a shorter period, and the amplitude makes little or no difference. Advanced classes can compare their results with the model T = 2π√(m/k): quadrupling the mass should roughly double the period.
Investigation 3: Energy in a bouncing spring
- Switch to the energy screen and display the energy bar graph.
- With damping off, release a mass and pause the simulation at the top, the middle and the bottom of the motion. Students sketch the bars at each point.
- Ask: “Where is kinetic energy greatest? Where is elastic potential energy greatest? What happens to the total?”
- Turn damping on and run it again. Students should see the oscillation shrink and thermal energy increase while the total stays the same.
This connects nicely with the Energy Skate Park lab, where the same energy bars appear for a skater on a track.
Analysis questions
- What does the slope of your force vs. stretch graph represent? What are its units?
- Spring A has k = 10 N/m and spring B has k = 40 N/m. Which stretches more with the same mass, and by how much?
- Your prediction said the heavier mass would bounce faster or slower. Was it correct? Use your data to explain.
- Why did timing 10 oscillations give more reliable results than timing one?
- When damping is on, the spring eventually stops. Did energy disappear? Explain where it went.
- Real springs eventually stop obeying Hooke’s law if you stretch them too far. What do you think happens to a real spring past that point?
Extension: find the mystery mass
The simulation includes masses whose values are hidden. Challenge students to find one using two different methods: first by measuring the stretch on a spring with a known k, then by timing its period and solving for mass. If the two answers agree within a few percent, they have used both models correctly. Teams can race, and the first team to explain its method clearly wins. For a full class period version, add a station where students change gravity to another planet and predict how the stretch and the period change. (Stretch changes with gravity; the period of a mass on a spring does not.)
Tips for running the lab
- Devices: the HTML5 version runs in Chrome on Chromebooks, laptops and tablets. Test it on a student device the day before.
- Pairs: one student controls the simulation, the other records data; switch roles for each investigation.
- Timing: plan 50–60 minutes for Investigations 1 and 2, or split across two days and add Investigation 3 on day two.
- Middle school version: skip the period formula, keep the force table and ask students to describe patterns in words.
- Check for understanding: close with one of our exit ticket ideas, such as “Draw the energy bars at the lowest point of the bounce.”
If your class has already done the PhET pendulum lab, ask students to compare the two oscillators: what affects the period of a pendulum, and what affects the period of a mass on a spring? It is a great discussion that exposes the common misconception that “heavier always means faster or slower.” Students who need a refresher on forces first can start with the Forces and Motion Basics lab.
Frequently asked questions
Is the PhET Masses and Springs simulation free?
Yes. PhET simulations from the University of Colorado Boulder are free to use in the browser, and the HTML5 version works on Chromebooks without installing anything.
What grade level is the Masses and Springs lab for?
It works for grades 7–12. Middle school students focus on patterns in stretch and energy, while high school physics students graph force vs. stretch, calculate the spring constant and test the period formula.
How do you find the spring constant in the simulation?
Hang several known masses, measure the stretch for each, calculate force with F = mg and graph force against stretch in meters. The slope of the line is the spring constant in N/m.
Does amplitude affect the period of a spring?
For an ideal spring, no. Students should find that pulling the mass farther makes it move faster, so one full oscillation takes about the same time.
The Masses and Springs lab turns a formula students usually memorize into something they can measure, graph and argue about. Run the three investigations, let the data correct their predictions, and finish with the mystery mass challenge. For more free virtual labs, browse our classroom simulations hub, including Gravity and Orbits and other PhET guides.
