Spring vs Pendulum Period: What Is the Difference?
The period of a mass on a spring depends on that mass. The period of a simple pendulum does not depend on the bob's mass at all. Both are 2 pi times a square root: mass over spring constant for the spring, length over g for the pendulum. Change the mass and only the spring oscillator notices.
AP Physics: Unit 7 (topics 7.1 Defining Simple Harmonic Motion (SHM), 7.2 Frequency and Period of SHM, 7.5 Simple and Physical Pendulums). Both period formulas are stated in AP Physics 1 Unit 7, Oscillations, weighted at 5 to 8 percent of the multiple-choice section over about 5 to 10 class periods. Topic 7.2, Frequency and Period of SHM, carries learning objective 7.2.A, describe the frequency and period of an object exhibiting SHM, with EK 7.2.A.1 giving T = 1/f and its two sub-statements giving the two formulas: EK 7.2.A.1.i for the period of an ideal-spring oscillator and EK 7.2.A.1.ii for the period of a simple pendulum displaced by a small angle. The small-angle restriction is part of the CED's own sentence, and EK 7.1.A.2.iii adds that the motion of a pendulum with a small angular displacement can be modeled as SHM because the restoring torque is proportional to the angular displacement. Suggested skills are 1.C, 2.A, 2.B and 3.B for Topic 7.1, and 1.B, 2.A, 2.D, 3.A and 3.C for Topic 7.2. AP Physics C: Mechanics Unit 7 is weighted at 10 to 15 percent over about 12 to 17 class periods, uses the same EK numbering for both formulas with T = 2 pi over omega = 1/f at EK 7.2.A.1, and adds Topic 7.5, Simple and Physical Pendulums, which AP Physics 1 does not have. Both formulas are printed in the mechanics table of all four booklets; the physical pendulum period is printed only on the two Physics C booklets. The mass cancellation in the pendulum rests on EK 2.6.D.3, that inertial mass and gravitational mass have been experimentally verified to be equivalent.
Mass moves one period and not the other
Both oscillators are treated as simple harmonic motion in this course, both periods are times a square root, and the two square roots hold opposite answers to the same question. The spring period depends on the oscillating mass. The pendulum period does not depend on the bob's mass.
The AP Physics 1 CED states both at essential knowledge 7.2.A.1, under learning objective 7.2.A, describe the frequency and period of an object exhibiting SHM.
- EK 7.2.A.1.i gives the period of an ideal-spring oscillator as .
- EK 7.2.A.1.ii gives the period of a simple pendulum displaced by a small angle as .
Read the two symbol lists rather than the shapes. The first contains and the second does not. Nothing else about the two formulas is worth remembering as hard as that.
The consequence is testable in a way most physics facts are not. Hang a steel bob and then a cork bob of the same size on the same string, and the swing takes the same time. Put a kg block and then a kg block on the same spring, and the second takes twice as long. Worked example one runs both experiments side by side and prints the four numbers.
This page is about that one difference. If you want the routines for solving period problems, the simple harmonic motion guide has them, and the SHM practice set has problems to work.
Spring period vs pendulum period, side by side
| Question you are asking | Object and ideal spring | Simple pendulum |
|---|---|---|
| CED essential knowledge | 7.2.A.1.i | 7.2.A.1.ii |
| Period | ||
| Depends on the oscillating mass | Yes, as | No |
| Depends on a length | No | Yes, as |
| Depends on | No | Yes, as |
| Depends on the stiffness | Yes, as | Not applicable |
| Depends on amplitude | No | No, within the small-angle model |
| Restoring agent | The deformed spring | The gravitational force on the bob |
| Restoring law | , exact for an ideal spring | Restoring torque proportional to angle only for small angles |
| Angle restriction | None | Small angular displacement, EK 7.1.A.2.iii |
| Works in free fall or in orbit | Yes | No |
| What you can measure with it | An unknown mass, or | The local value of , or a length |
| Printed on the AP sheet | All four booklets | All four booklets |
Four rows are worth unpacking.
The mass row and the length row are mirror images. Quadruple the mass on a spring and the period doubles. Quadruple the length of a pendulum and the period doubles. Each formula has exactly one quantity you can adjust to tune the period, and they are different quantities.
The row cuts both ways. appears in the pendulum formula and nowhere in the spring formula, so a spring oscillator keeps its period on the Moon while an identical pendulum slows down. That is not a subtlety about hanging the spring vertically: a hanging spring's equilibrium position shifts, but and are unchanged, so is unchanged.
The amplitude row hides different reasons. For the spring, amplitude independence follows from being linear in the displacement, which is EK 7.1.A.2's condition for SHM: the magnitude of the restoring force is proportional to the displacement from equilibrium. For the pendulum, amplitude independence is a property of the small-angle model, not of the real pendulum. A pendulum released from a large angle really does take longer per swing.
The free-fall row is the cleanest test of the distinction. It is also one of the AP Physics 1 Unit 7 essential questions: how can an astronaut be weighed in space? Worked example two answers it, and the answer is a spring.
The case that separates them: change the mass, time the swing
Set up two oscillators that start with the same kg object.
- A block of mass kg on a horizontal spring of stiffness N/m.
- A bob of mass kg on a string of length m, released from a small angle.
Now swap in a kg object, four times heavier, and change nothing else.
| Oscillator | With kg | With kg | Change |
|---|---|---|---|
| Spring, N/m | s | s | Doubled |
| Pendulum, m | s | s | None |
Same mass change, same factor of four, and one oscillator responds while the other does not move at all. A stopwatch pointed at these two setups is an instrument that can tell mass from length.
The arithmetic is in worked example one. What matters here is that the two columns are not close: the spring period changed by s, which is most of a second on a swing that started under a second, while the pendulum period changed by nothing that a stopwatch could resolve. This is not a small correction that gets ignored for convenience. The mass is absent from , so within the model it has no effect whatsoever.
The reverse experiment is just as clean, and it is the one that catches people who have memorised only half the rule. Keep the masses fixed and change the geometry instead: shorten the string and the pendulum speeds up, while stretching or compressing the spring further before release does nothing to the spring's period at all. The CED's own Topic 7.2 sample activity does exactly this, asking students to clamp a swinging pendulum's string between their fingers and pull it through so the length shortens while the bob oscillates, then explain why the period decreases and the amplitude angle increases.
Why the mass cancels for the pendulum and not for the spring
The cancellation is not a coincidence of algebra. It happens because gravity plays two roles in the pendulum and only one of them survives.
Start with what SHM requires. EK 7.1.A.2 says SHM results when the magnitude of the restoring force exerted on an object is proportional to that object's displacement from its equilibrium position, and the CED gives the derived equation . So the period is set by the ratio of the restoring stiffness to the inertia.
For the spring, those two are unrelated quantities. The stiffness is a property of the spring. The inertia is a property of the block. Nothing forces them to move together, so the ratio changes whenever either one changes, and carries both.
For the pendulum, gravity supplies both. The restoring force on the bob is the component of the gravitational force along the arc, and the gravitational force on the bob is proportional to the bob's mass, EK 2.6.A.3 writing it as . So a heavier bob is pulled back harder, in exact proportion to how much harder it is to accelerate. Writing the restoring force for a small displacement along the arc of a string of length :
The on the left is inertial mass and the on the right is gravitational mass. They cancel because those two masses are the same number, which is not a definition but an experimental result: EK 2.6.D.3 states that inertial mass and gravitational mass have been experimentally verified to be equivalent. The pendulum's mass independence is that equivalence made audible with a stopwatch.
What is left after the cancellation, , contains no reference to the bob. That is the square of the angular frequency, so .
The same accounting explains the free-fall row in the table above. In a freely falling frame there is no restoring force on the bob at all, so there is nothing to divide by the inertia and no oscillation happens. The spring is untouched by any of this, because a stretched spring pulls whether or not anything is falling.
The small-angle condition, and why neither formula is exact
The pendulum formula carries a restriction that the spring formula does not, and the CED states it in the equation's own sentence rather than in a footnote.
EK 7.2.A.1.ii, in full: the period of a simple pendulum displaced by a small angle is given by the equation . The words "displaced by a small angle" are part of the statement of the equation. Drop them and you have quoted something the CED did not say.
EK 7.1.A.2.iii carries the same restriction in the other direction, explaining why a pendulum belongs in this unit at all: the motion of a pendulum with a small angular displacement can be modeled as simple harmonic motion because the restoring torque is proportional to the angular displacement. Can be modeled as is the operative phrase. A pendulum is not a simple harmonic oscillator; it is a system that a simple harmonic oscillator models well over a limited range.
AP Physics C: Mechanics spells out the step that gets taken. At EK 7.5.A.2.ii, under Topic 7.5, Simple and Physical Pendulums, the CED says that for small amplitudes of motion the small-angle approximation can be applied to the restoring torque, with the derived equations and . The approximation is the whole bridge from the true restoring torque , at EK 7.5.A.2.i, to a torque that is proportional to the angle and therefore produces SHM. See /glossary/small-angle-approximation for the approximation on its own.
Now the part that is easy to get backwards. The spring formula is not exact either, and saying so is not pedantry. It rests on assumptions the exam makes for you rather than on an approximation you apply:
- The spring obeys over the whole range of the motion. Real springs stop doing that when they are overstretched or fully compressed.
- The spring's own mass is negligible compared with the oscillating mass. A spring with mass oscillates more slowly than predicts.
- Nothing dissipates energy.
The AP Physics 1 exam grants the first two by convention. The Table of Information's conventions box states that springs and strings are assumed to be ideal unless otherwise stated, and that air resistance is assumed to be negligible unless otherwise stated. So the honest way to state the difference is not exact against approximate. It is that the pendulum's restriction is on the motion, which you control, and the spring's restrictions are on the apparatus, which the exam idealises for you. A pendulum released from 40 degrees breaks its formula while sitting on a perfect apparatus; a spring oscillator breaks its formula only if the spring itself is not ideal.
What each oscillator can measure that the other cannot
Because the two periods depend on different things, each one is a measuring instrument for what the other ignores. The CED's Topic 7.2 sample activities are built on exactly this split.
The pendulum measures . Solve for the field strength and you get , which needs only a length and a time. One CED sample activity for Topic 7.2 asks students to use a pendulum to determine the acceleration due to gravity, refining from a single-trial calculation to an average and then to a graph of linearized data. The bob's mass never enters, which is precisely why the method works with whatever is on the end of the string.
The spring measures mass. Solve for the mass and you get . Another Topic 7.2 sample activity asks students to determine the spring constant of a spring twice, first with known masses and a meterstick, then with known masses and a stopwatch only. The second method is the one that keeps working when there is no weight to hang: it uses the period, not the stretch.
That second point is the answer to the unit's own essential question about weighing an astronaut in space. A balance compares weights and needs a gravitational field. A spring oscillator compares inertias and does not. Worked example two takes a spring-mounted chair through the measurement.
One more Topic 7.2 sample activity puts the two side by side and is the cleanest demonstration on this page: have students choose a song, find its tempo in beats per minute, then build a pendulum that swings on each beat, and separately find the mass that makes a given spring oscillate on each beat. Same target period, and the two knobs you turn are different quantities. Worked example three tunes both to the same song and then shows what happens when you turn the wrong knob.
Where the confusion costs a mark
Each of these is a specific scoring error rather than a general caution.
- Saying a heavier bob swings faster, or slower. It does neither. This wrong answer comes in both directions, depending on which half of the reasoning the student stopped at.
- Saying a heavier block on a spring keeps the same period. The symmetric error, made by students who learned the pendulum result first and generalised it. is in .
- Putting into a spring problem. A vertically hanging spring shifts its equilibrium position by , and that shift changes nothing about the period. Writing or anything like it invents a term.
- Using the pendulum formula outside the small angle. EK 7.2.A.1.ii applies to a simple pendulum displaced by a small angle. A question that specifies a large release angle is telling you the formula does not apply, and it usually wants a conservation-of-energy answer instead.
- Confusing the string length with the arc or the drop height. is the distance from the pivot to the center of mass of the bob, not the length of the swing.
- Using where the mass belongs, or the reverse. Under exam pressure the two square roots blur into one. The units settle it: and both reduce to seconds, but only one of them accepts a mass.
- Doubling the period when you double the mass. The dependence is on , so doubling the mass multiplies by . You need four times the mass to double the period.
- Changing the amplitude and expecting the period to move. It does not, for either oscillator, within the models this course uses. Amplitude changes the maximum speed and the energy, not the timing.
- Treating a physical pendulum as a simple one. A swinging rod or a hoop is not a point mass on a string, and gives the wrong answer for it. That case is simple vs physical pendulum, and only AP Physics C: Mechanics requires it.
- Quoting the pendulum formula as exact. It is a small-angle result, and a free-response answer that says so is answering the question the rubric asked.
What the CED requires, and which booklets print the two formulas
Both oscillators sit in Unit 7, Oscillations, in the two mechanics courses, and the two courses weight that unit very differently.
AP Physics 1 Unit 7, Oscillations: 5 to 8 percent of the multiple-choice section, about 5 to 10 class periods. Topic 7.1, Defining Simple Harmonic Motion, carries LO 7.1.A with EK 7.1.A.1 and 7.1.A.2 and the three sub-statements 7.1.A.2.i through 7.1.A.2.iii. Topic 7.2, Frequency and Period of SHM, carries LO 7.2.A with EK 7.2.A.1 and its two sub-statements, which are the two formulas on this page. Suggested skills are 1.C, 2.A, 2.B and 3.B for Topic 7.1, and 1.B, 2.A, 2.D, 3.A and 3.C for Topic 7.2.
AP Physics C: Mechanics Unit 7, Oscillations: 10 to 15 percent, about 12 to 17 class periods. Its Topic 7.2 uses the same EK numbering and the same two formulas, with the period statement written as at EK 7.2.A.1. Suggested skills for that topic are 1.C, 2.A, 2.D and 3.B. C: Mechanics then adds Topic 7.5, Simple and Physical Pendulums, which AP Physics 1 does not have.
On the equation sheets, checked against the appendix pages of all four Course and Exam Descriptions:
| Booklet | |||
|---|---|---|---|
| AP Physics 1 | Printed | Printed | Not printed |
| AP Physics 2 | Printed | Printed | Not printed |
| AP Physics C: Mechanics | Printed | Printed | Printed |
| AP Physics C: E and M | Printed | Printed | Printed |
The last row surprises people. The AP Physics C: Electricity and Magnetism booklet carries a full MECHANICS table alongside its electricity and magnetism table, and the three period formulas are in it. The two Physics C booklets print the same mechanics page.
The symbol key on the sheets defines as length, as spring constant, as mass and as period, so the letters in the two formulas are not left to guess. The constants box prints and, on a separate line, , both on all four booklets. Note that EK 2.6.B.2 says that near the surface of Earth the strength of the gravitational field is N/kg, so the CED body and the printed table give different roundings; is g 9.8 or 10 works through which to use and when.
For the CED framing of each topic, see Topic 7.1 and Topic 7.2, or the C: Mechanics versions at Topic 7.2 and Topic 7.5. The full sheet is at the AP Physics 1 formula page.
One mass change, two oscillators, four periods
A block of mass kg oscillates on a horizontal spring with spring constant N/m. A bob of mass kg hangs on a string of length m and is released from a small angle. Find both periods. Then replace each kg object with a kg object, changing nothing else, and find both periods again. Use .
Spring with the kg block. EK 7.2.A.1.i: . The square root is exactly , so .
Pendulum with the kg bob. EK 7.2.A.1.ii: . The mass kg was given and was never used, because it does not appear in the formula.
Spring with the kg block. .
Pendulum with the kg bob. Nothing in changed, because neither nor changed. , the same number as before.
Check the spring ratio against the functional dependence. , and the mass went up by a factor of , so the period should go up by . It did: . This is the reasoning skill 2.D asks for, predicting new values using functional dependence between variables, and it is faster than recomputing.
Check the pendulum ratio the same way. has no in it, so the predicted factor is , and .
Line the four up. Spring: s and s. Pendulum: s and s. The same fourfold mass change doubled one period and moved the other by nothing.
Spring: s with kg and s with kg, a factor of exactly because . Pendulum: s with both bobs, because the bob's mass does not appear in . One stopwatch, two oscillators, and only one of them can tell you what mass is on it.
Weighing an astronaut with a spring, because a pendulum cannot
AP Physics 1 lists among its Unit 7 essential questions how an astronaut can be weighed in space. A chair is mounted on springs with a combined spring constant N/m and oscillates horizontally. Empty, the chair's measured period is s. With an astronaut strapped in, the measured period is s. Find the astronaut's mass. Then explain why a pendulum could not have done this.
Rearrange EK 7.2.A.1.i for the mass. From , square both sides: , so .
Empty chair. , that is kg to three figures.
Chair plus astronaut. , that is kg.
Subtract. .
Sanity check with the functional dependence. The period doubled from s to s, and , so the total mass should be times the chair's mass. It is: .
Why a pendulum fails here. A pendulum's restoring force is the gravitational force on the bob, and the whole apparatus is in free fall around Earth. EK 2.6.C.3 puts the situation exactly: a system appears weightless when the force of gravity is the only force exerted on the system. Relative to the falling spacecraft there is no restoring force on a hanging bob, so it does not return to a hanging position and does not oscillate. There is no period to measure.
Why the spring does not care. does not appear in . The spring is compressed or stretched by the chair's displacement, not by any gravitational field, so it pulls back exactly as it would on a bench on Earth. The quantity being measured is inertia, not weight, which is why the word weighed belongs in quotation marks in the CED's own question.
The astronaut's mass is kg, from a chair plus astronaut total of kg minus the empty chair's kg. A pendulum cannot make this measurement: its restoring force is gravitational and there is none available in a freely falling frame, while the spring's restoring force comes from the spring itself and works anywhere.
Tuning both oscillators to the same song, then turning the wrong knob
A CED sample activity for Topic 7.2 asks students to pick a song, find its tempo, then build a pendulum that oscillates once per beat and find the mass that makes a given spring oscillate once per beat. Take a song at beats per minute. Find the pendulum length and, for a spring of N/m, the required mass. Then change the bob to kg and the block to kg, and find what each oscillator does. Use .
Target period. At beats per minute, one beat lasts .
Pendulum length. Rearranging gives , that is cm.
Spring mass. Rearranging gives .
Now turn the wrong knob on the pendulum. Replace the bob with a kg one and leave the string at cm. . Still on the beat. Adding four times the mass changed nothing.
Turn the same knob on the spring. Replace the kg block with a kg one and leave N/m. .
Convert that back to a tempo. beats per minute. The spring oscillator has fallen to less than half the song's tempo, a ratio of , which is as the functional dependence predicts.
The instrument reading. Two oscillators were in time with each other and with the song. One mass change knocked one of them out by a factor of two and left the other exactly where it was.
A pendulum of length cm and a kg block on a N/m spring both have period s and keep time with a beat per minute song. Swapping both objects for kg leaves the pendulum at s and stretches the spring oscillator to s, a tempo of beats per minute. The knob that tunes a pendulum is its length; the knob that tunes a spring oscillator is its mass.
Frequently asked questions
Does the mass of the bob affect the period of a pendulum?
No. The period of a simple pendulum displaced by a small angle is 2 pi times the square root of the string length divided by g, and the bob's mass does not appear in it. The AP Physics 1 CED states this equation at essential knowledge 7.2.A.1.ii, and the mass is absent there too. The physical reason is that gravity supplies both the restoring force and the thing being accelerated: a heavier bob is pulled back harder in exact proportion to how much harder it is to accelerate, so the two effects cancel. That cancellation works because inertial mass and gravitational mass are equivalent, which the CED states as an experimental result at essential knowledge 2.6.D.3.
Does mass affect the period of a mass on a spring?
Yes. The period of an object on an ideal spring is 2 pi times the square root of the mass divided by the spring constant, so the period grows with the square root of the mass. Doubling the mass multiplies the period by about 1.41, and quadrupling the mass exactly doubles it. This is the opposite of the pendulum result and it is the difference worth memorising between the two formulas. A 0.45 kg block on a 20 N/m spring has a period of 0.942 s; a 1.80 kg block on the same spring has a period of 1.885 s.
Does gravity affect the period of a mass on a spring?
No. The quantity g does not appear in the spring period formula, so the same block and spring have the same period on Earth, on the Moon, or in orbit. Hanging the spring vertically instead of laying it horizontally shifts the equilibrium position downward by mg divided by k, but it leaves both the spring constant and the mass unchanged, so the period is unchanged. This is exactly why a spring oscillator can measure mass where a balance cannot: the AP Physics 1 CED lists among its Unit 7 essential questions how an astronaut can be weighed in space, and a spring-mounted chair is the answer.
Why does the pendulum formula only work for small angles?
Because the restoring torque on a pendulum is proportional to the sine of the angle, not to the angle itself, and simple harmonic motion requires a restoring influence proportional to the displacement. For small angles the sine of an angle in radians is close to the angle, so the two agree and the motion is simple harmonic. The AP Physics 1 CED builds the restriction into the statement of the equation at essential knowledge 7.2.A.1.ii, which describes the period of a simple pendulum displaced by a small angle, and into essential knowledge 7.1.A.2.iii, which says the motion of a pendulum with a small angular displacement can be modeled as simple harmonic motion. AP Physics C: Mechanics names the step directly at essential knowledge 7.5.A.2.ii, applying the small-angle approximation to the restoring torque. A pendulum released from a large angle takes measurably longer per swing than the formula predicts.
Is the spring period formula exact?
Not by itself. It assumes the spring obeys Hooke's law over the whole range of the motion, that the spring's own mass is negligible next to the oscillating mass, and that nothing dissipates energy. The AP exams grant the first two by convention rather than by physics: the conventions box printed with the AP Physics 1 Table of Information states that springs and strings are assumed to be ideal unless otherwise stated and that air resistance is assumed to be negligible unless otherwise stated. So the useful contrast is not exact against approximate. The pendulum's limitation is on the motion you choose, since a large release angle breaks the formula on perfect apparatus, while the spring's limitations are on the apparatus, which the exam idealises for you.
Are both period formulas on the AP Physics equation sheet?
Yes, and on all four of them. The spring period and the simple pendulum period are printed in the mechanics table of the AP Physics 1, AP Physics 2, AP Physics C: Mechanics and AP Physics C: Electricity and Magnetism booklets, checked against the appendix pages of the current Course and Exam Descriptions. The two Physics C booklets also print the physical pendulum period, 2 pi times the square root of the rotational inertia divided by m g d, which the two algebra-based booklets do not carry. The C: Electricity and Magnetism booklet includes a full mechanics table alongside its own, which is why the period formulas appear there as well.
Does amplitude change the period of either oscillator?
Not within the models these courses use. For a mass on an ideal spring, amplitude independence follows directly from the restoring force being proportional to the displacement, which is the AP definition of simple harmonic motion at essential knowledge 7.1.A.2. Pull the block twice as far and it travels twice as far each cycle but also moves twice as fast, and the timing is unchanged. For a pendulum, amplitude independence is a property of the small-angle model rather than of the real pendulum: a real pendulum released from a large angle takes longer per swing. Amplitude does change the maximum speed and the total energy of both oscillators.