← SciSim / Physics

Simple Pendulum Lab: What Sets the Swing Time?

🕰️ Grades 6–8 · NGSS MS-PS3-2, MS-PS3-5 · fair-test practice · High school / AP: T = 2π√(L/g), SHM graphs, chaos
Two pendulums side by side: change one thing on pendulum B and see if it still keeps time with A. Press Start, then try a heavier bob, a shorter string, a bigger swing or the Moon.

🕰️ What sets a pendulum’s swing time? Test it side by side

Pendulum A vs B

period swings 0
period swings 0

Change one thing

Change
Bob mass (kg)
Planet

Options

Air resistance

Teaching model, sped up: the bobs are the same material, so a heavier (bigger) bob is slowed a little less.

Speed
Share to Google Classroom✅ Go to the quiz

🧪 All the labs in one place: which experiment do you want to try?

Every pendulum lab on this page, one tab each. Start with the fair-test lab (time 10 swings, fill the table, graph the period). The 3D lab has the conical swing; the AP / college lab has the double and driven pendulum, the phase portrait and the FFT.

⏱️ Fair-test lab: what changes the period?

1. Choose what to test. 2. Set its value (the other two stay the same). 3. Time 10 full swings: let the timer do it, or press the stopwatch yourself. 4. Change the value and repeat. Your table and graph fill in as you go.

Test
Bob mass (kg)

By hand, time
Timer speed

Your results

Each row is one run. Period = time ÷ number of swings.
#TestLength (m)Mass (kg)Angle (°)HowSwingsTime (s)Period (s)

Period against length (your runs)

What affects the period of a pendulum?

A pendulum’s period, the time for one full swing there and back, depends only on the length of the string and the strength of gravity. On Earth a 1 m pendulum takes about 2.0 s; a string 4 times longer takes twice as long. The mass does not change it, and the size of a small swing hardly matters.

🧭 How do you use the pendulum simulation?

  1. Press Start: pendulums A and B are let go at the same moment. Under the picture you see each period, the swing counts and the energy bars.
  2. Change one thing on B (length, bob mass, release angle or planet) and leave A alone as the control. Does B still keep time with A?
  3. Open Missions beside the picture: predict first, then test it (7 short missions and a certificate).
  4. In the lab box under the simulator, the fair-test lab times 10 swings for you (or you time them by hand) and graphs your results. The 3D lab and the AP / college lab are the next tabs.
  5. Teachers: Full screen for a projector; Worksheet + key, Share to Google Classroom and the quiz are right under the simulator.

⚖️ How do you do a fair test with a pendulum?

  1. Change only one thing: the independent variable (for example the length).
  2. Measure what happens: the dependent variable, here the period.
  3. Keep everything else the same: the controlled variables (bob mass, release angle, planet, no push).
  4. Let go without pushing. Start the stopwatch as the bob passes the middle, count 10 full swings (there and back), stop, and divide by 10. Your reaction time (about 0.2 s) is then shared over 10 swings.
  5. Repeat each value 3 times and take the average. Then graph the period against the variable you changed.

In every test the dependent variable (what you measure) is the period.

Test: you change (independent)Keep the same (controlled)What you find
String lengthmass, release angle, planetlonger string → longer period (4× longer → 2× the time)
Bob masslength, release angle, planetno change
Release anglelength, mass, planetalmost no change for small swings
Gravity (planet)length, mass, release angleweaker gravity → longer period

👉 Do it in the fair-test lab right under the simulator.

📝 What are the key facts about pendulums?

  1. The period is the time for one full swing, there and back. A 1 m pendulum on Earth has a period of about 2.01 s (the formula gives 2.006 s).
  2. Only the length and gravity change the period of a simple pendulum; the mass does not, and it is nearly the same for any swing smaller than about 15°. (source: OpenStax College Physics 2e, 16.4)
  3. Four times the length gives twice the period: 1.00 s for 0.25 m, 2.01 s for 1.00 m (released at 10°).
  4. The Moon’s surface gravity is 1.62 m/s², 0.165 of Earth’s, so the same pendulum takes about 2.46 times as long for each swing. (source: NASA Moon Fact Sheet)
  5. In 1656 Christiaan Huygens built the first pendulum clock; it was off by less than 1 minute a day, the best timekeeping until then. (source: NIST, A Walk Through Time)
  6. A pendulum that swings one way in 1 s (period 2 s) is about 0.994 m long on Earth: the “seconds pendulum” of old clocks.
  7. Energy changes from potential (height, at the ends) to kinetic (motion, at the bottom) and back. Air and friction slowly turn it into heat, so a real pendulum stops.
Planetg (m/s²)Period of a 1 m pendulum: formula 2π√(L/g)Simulator, let go at 10°
Earth9.812.01 s2.01 s
Moon1.624.94 s4.95 s
Mars3.713.26 s3.27 s
Jupiter (cloud tops)24.791.26 s1.26 s
Go deeper: why are the two columns different?

The formula is the small-swing value. A real swing from 10° takes 0.2 % longer, from 30° 1.7 % and from 90° 18.0 % longer. The simulator solves the full equation, so it shows the real value. g values are rounded textbook values (Jupiter has no surface: its value is at the cloud tops).

🔬 Go deeper (high school / AP): why is T = 2π√(L/g), and where does it break?

👉 See it move: the AP / college lab in the lab box draws θ(t), ω(t), energy, the phase portrait, the FFT and the tension live, and has the double and driven pendulum.

Open the full explanation: the idea step by step, the derivation, the large-angle table, energy and common high school errors

Start simple: a swing keeps its own time

Sit on a playground swing and give one push. You glide forward, slow, pause, and come back, over and over. Here is the surprising part: whether you swing in a big arc or a small one, each round trip takes almost the same amount of time. A heavier friend on the same swing keeps the same rhythm too. The only thing that really changes the timing is the length of the ropes: a long swing is slow and lazy, a short one is quick and busy. That steady back-and-forth beat is what a pendulum is all about.

Build it up: what sets the timing?

One full back-and-forth is called the period, T. Two things control it: the length L of the string and the strength of gravity g pulling the bob down. Longer string → longer period; stronger gravity → shorter period. For gentle swings these combine into one clean formula:

Period of a simple pendulum (small swing): T = 2π√(L/g)

Try a real number: a 1 m string on Earth (g = 9.81 m/s²) gives T = 2π√(1/9.81) ≈ 2.0 s, about one second to swing out and one to swing back. Notice what is missing: the mass m and the size of the swing do not appear at all.

Why, and where it breaks (AP / intro college)

Gravity pulls straight down, but only the part along the arc, −mg sin θ, pushes the bob back toward the bottom. Newton’s law along the arc gives d²θ/dt² = −(g/L) sin θ. For small angles sin θ ≈ θ, so the restoring pull is proportional to the displacement (the signature of simple harmonic motion), and out pops T = 2π√(L/g). Because m cancels (gravity pulls harder on a heavy bob but inertia resists exactly as much), mass drops out. At large angles sin θ < θ, so the restoring pull is a little weaker than SHM assumes and every swing takes longer: about 1.7 % longer at 30° and 18.0 % longer at 90°.

How much longer a real swing takes than the small-angle formula (exact: T = 2π√(L/g) / AGM(1, cos(θ0/2)))
Release angleExact period compared with 2π√(L/g)
5°+0.0 %
10°+0.2 %
15°+0.4 %
20°+0.8 %
30°+1.7 %
45°+4.0 %
60°+7.3 %
80°+13.7 %
90°+18.0 %

Equation derivation

Governing equation, nonlinear damped pendulum:

d²θ/dt² + (b/m) dθ/dt + (g/L) sin θ = 0

Small-angle limit (θ0 ≲ 15°, sin θ ≈ θ; the period is off by under 0.5 %):

d²θ/dt² + (g/L) θ = 0  ⇒  T = 2π√(L/g),   f = (1/2π)√(g/L)

Symbol definitions
SymbolQuantitySI unit
θAngle from the verticalrad
dθ/dt, d²θ/dt²Angular velocity, angular accelerationrad/s, rad/s²
LString length (pivot to the center of the bob)m
mBob masskg
gGravitational field strengthm/s²
bLinear damping coefficientkg/s
TPeriod of oscillations
  1. Tangential restoring force. Of the bob’s weight mg, only the part along the arc, Ft = −mg sin θ, pulls it back. The string tension balances the part along the string.
  2. Newton’s second law. Arc length s = Lθ, so the acceleration along the arc is at = L d²θ/dt². Then mL d²θ/dt² = −mg sin θ, so d²θ/dt² = −(g/L) sin θ.
  3. String tension. Along the string: Ts = m(g cos θ + Lω²). It is largest at the bottom of the swing (θ = 0), where the bob is fastest.
  4. Linear damping. Air resistance adds −(b/m) dθ/dt. The damped angular frequency is ωd = √(ω0² − (b/2m)²), so the period gets slightly longer.
  5. Small-angle simple harmonic motion. For θ0 ≲ 15°: θ(t) = θ0 e−bt/2m cos(ωdt + φ). The period T = 2π√(L/g) does not depend on the mass or the amplitude.
  6. Large-angle correction. The exact period is T = 2π√(L/g) (1 + θ0²/16 + 11θ04/3072 + …), always longer than the small-angle value (exact form: an elliptic integral, see the table above).
  7. Numerical method. The simulators use 4th-order Runge–Kutta (RK4) with small time steps (a few milliseconds or less), accurate at all amplitudes and in every mode, including the chaotic double pendulum.

Energy. At the ends KE = 0 and PE = mgh with h = L(1 − cos θ); at the bottom all of it is kinetic, so vmax = √(2gL(1 − cos θ0)): 0.55 m/s for a 1 m pendulum let go at 10°. A graph of T² against L is a straight line with slope 4π²/g = 4.02 s²/m on Earth, a classic way to measure g.

Variable → equation map (AP / college lab)
SliderSymbolPhysical effect
Length LLT ∝ √L: a longer pendulum swings more slowly
Mass mmCancels when there is no damping; changes the damping rate b/m
Angle θ0θ(0)Sets the amplitude; large angles make the period longer (nonlinear)
Gravity ggT ∝ 1/√g: compare the Moon and Jupiter
Damping bbThe swing shrinks exponentially; b = 0 swings forever

High school misconceptions

Wrong idea: T = 2π√(L/g) is exact for any starting angle.
Right idea: It is valid only for small amplitudes. At 30° the formula is about 1.7 % too short, at 90° about 18.0 %. A clock that swings 30° but is set by the small-angle formula runs slow by roughly 25 minutes a day, which is why real pendulum clocks keep the swing to a few degrees.
Wrong idea: The restoring force is the full weight mg, straight down.
Right idea: Only the part along the arc, −mg sin θ, pulls the bob back toward the middle. The part along the string is balanced by the tension. Mixing these up gives wrong free-body diagrams.
Wrong idea: Damping only makes the swing smaller; the period stays the same.
Right idea: Damping also lengthens the period slightly: ωd = √(ω0² − (b/2m)²) < ω0. Very strong damping stops the swinging altogether (overdamped): in the AP lab set b to 2 kg/s and the mass to 0.1 kg, and the bob creeps back without swinging.
Wrong idea: The double pendulum is unpredictable because its equations are unknown.
Right idea: The equations are known exactly from Newton’s laws. It is chaotic, not random: perfect knowledge of the start would give a perfectly determined future, but any tiny uncertainty grows very fast.

References: OpenStax College Physics 2e §16.4; Halliday, Resnick & Walker, Fundamentals of Physics, 10th ed., §15-4 and §15-6; Serway & Jewett, Physics for Scientists and Engineers, 8th ed., §15.5; Kleppner & Kolenkow, An Introduction to Mechanics, 2nd ed., §7.4; Marion & Thornton, Classical Dynamics, §4.3; Strogatz, Nonlinear Dynamics and Chaos, ch. 9; Arons, A Guide to Introductory Physics Teaching (1990).

✅ Pendulum quiz: can you predict the swing? (10 questions)

Pick one answer for each question, then press Check my answers to see the explanations. New questions picks another 10 from a bank of 24.

👩‍🏫 For teachers: how can I teach pendulums with this page?

Two lessons (about 30 + 15 minutes; worksheet parts B–F can be homework): predict first (heavy or light?), test in the side-by-side simulator with the 7 missions, collect fair-test data in the lab box, then the quiz. The worksheet and its answer key use the simulator’s own numbers.

Model notes: the simulators solve the full pendulum equation (no small-angle shortcut), so the periods shown are exact for the release angle; the small-angle formula appears next to them. Air resistance is a teaching model (illustrative values): bobs of the same material, so a heavier bob is slowed a little less. g values: Earth 9.81, Moon 1.62, Mars 3.71, Jupiter 24.79 m/s².

Labs: the fair-test lab has an automatic 10-swing timer and a stopwatch by hand (1 or 10 swings: compare the errors), a results table, a CSV download and a graph (high school: T² against L gives g). The 3D lab has the conical swing; the AP / college lab has the double and driven pendulum, phase portrait, FFT, tension and CSV.

Tools under the simulator: Share to Google Classroom, Copy link, Worksheet + answer key, and a link to the quiz (10 questions from a bank of 24). Full screen for a projector.

Standards: NGSS MS-PS3-2 (potential energy changes with the height of the bob), MS-PS3-5 (kinetic energy changes as energy is transferred; air takes energy away); practices: planning and carrying out investigations (fair test), analyzing and interpreting data (period graph). High school: HS-PS3-1 and HS-PS3-2 (supports: energy in a system), AP Physics 1 oscillations (Go deeper, AP / college lab).

TimeStepWhat students doGo to
5 minLesson 1: hookPredict: does the 10 kg bob or the 1 kg bob swing faster? Then try it (the wow).Simulator
10 minExploreMissions 1–4: energy, length, release angleMissions
15 minFair testFair-test lab: time 10 swings for 4 lengths, fill table A of the worksheet, look at the graphFair-test lab
10 minLesson 2: explainMissions 5–7 (Moon, clock, air resistance); worksheet parts B–E (or as homework)Fair test
5 minCheckQuiz (10 questions)Quiz

Worksheet: a print-out for students and a separate answer key page for the teacher (opens the print dialog; choose "Save as PDF" to keep a file).

⚠️ What do students often get wrong about pendulums?

Wrong idea: A heavier bob swings faster.
Right idea: The period does not depend on the mass: a 10 kg and a 1 kg bob on the same string stay in step. Gravity pulls harder on the heavy bob, but it is also harder to speed up.
Wrong idea: A bigger push (pulling it back farther) makes each swing take much longer.
Right idea: For small swings the period hardly changes: 10° and 30° differ by only about 1.5 %. Only very big swings (60° or more) are clearly slower.
Wrong idea: The pendulum stops because gravity pulls it down.
Right idea: Gravity is what keeps it swinging. It stops because the air (and friction at the pivot) take a little energy away on every swing, as heat. With no air it would swing forever.
Wrong idea: The period is the time to swing from one side to the other.
Right idea: The period is a FULL swing: there and back. A clock pendulum that “ticks” once a second has a period of 2 s.
Wrong idea: The bob is fastest at the ends of its swing.
Right idea: At the ends it stops for an instant (all potential energy). It is fastest at the bottom (all kinetic energy).
Wrong idea: On the Moon a pendulum swings 6 times more slowly, because gravity is 6 times weaker.
Right idea: The period goes with 1/√g, so it is about √6 ≈ 2.5 times longer, not 6 times.

❓ Pendulum FAQ: what do students ask?

Only the length of the string and the strength of gravity. A longer string or weaker gravity gives a longer period. The mass of the bob does not matter, and for small swings (under about 15°) the size of the swing hardly matters. In the simulator a 1 m pendulum on Earth takes 2.01 s and a 2 m pendulum 2.84 s.

Key takeaway: length and gravity set the period.

No. Gravity pulls a 10 kg bob 10 times harder than a 1 kg bob, but the 10 kg bob is also 10 times harder to speed up, so both speed up and slow down at the same rate. Let them go side by side and they stay in step. In real air a very light bob (like a ping-pong ball) loses its swing sooner, but it still keeps almost the same time.

Key takeaway: mass does not change the period.

Only a little for small swings. In the simulator a 1 m pendulum takes 2.01 s from 10°, 2.04 s from 30° and 2.15 s from 60°. Below about 15° the difference from the formula is under half a percent, which is why T = 2π√(L/g) works for small swings.

Key takeaway: small swings take almost the same time.

Air pushes against the moving bob and the pivot rubs a little, so on every swing some energy is turned into heat. The swing gets smaller until it stops. Gravity does not stop it: gravity pulls it back to the middle and keeps it swinging. Turn on air resistance in the simulator and watch the “lost to the air” part of the energy bar grow.

Key takeaway: air and friction take its energy away as heat.

For small swings T = 2π√(L/g), where T is the period in seconds, L the length in meters (pivot to the center of the bob) and g the gravitational field strength (9.81 m/s² on Earth). For L = 1 m: T = 2π√(1/9.81) ≈ 2.01 s. Four times the length gives twice the period.

Key takeaway: T = 2π√(L/g).

A “seconds pendulum” swings one way in 1 s, so its full period is 2 s. T = 2π√(L/g) with g = 9.81 m/s² gives L = g/π² ≈ 0.994 m, just under 1 meter. In the simulator set B to 0.99 m: one way takes 1.000 s.

Key takeaway: about 1 meter.

The Moon’s gravity is 1.62 m/s², about one sixth of Earth’s, so the pull back toward the middle is weaker and each swing takes longer. The period grows with 1/√g, so it is about √6 ≈ 2.5 times longer, not 6 times: a 1 m pendulum takes about 4.94 s on the Moon.

Key takeaway: weaker gravity, longer period (about 2.5 times).

Let it go from a small angle without pushing, start the stopwatch as the bob passes the middle, count 10 full swings (there and back), stop the watch and divide the time by 10. Repeat three times and average. Your reaction time (about 0.2 s) is then shared over 10 swings instead of spoiling one. Try it in the fair-test lab.

Key takeaway: time 10 swings and divide by 10.

Pendulum clocks use the steady swing to keep time (Christiaan Huygens built the first one in 1656). Foucault’s pendulum in Paris showed that Earth rotates (1851). Taipei 101 has a 660-metric-ton tuned mass damper, a giant pendulum that steadies the tower in strong wind. Seismometers, playground swings and even your legs when you walk follow the same physics.

Key takeaway: clocks, towers, swings and walking.

At the ends of the swing the bob stops for an instant: all its energy is potential energy (height). At the bottom it has all turned into kinetic energy (motion), so the bob is fastest there: v = √(2gL(1 − cos θ0)), 0.55 m/s for a 1 m pendulum let go at 10°. With no air the total stays the same; with air a little is lost as heat on every swing.

Key takeaway: energy swaps between kinetic and potential.

A plot of the angular velocity ω against the angle θ. An undamped swing draws a closed loop (it repeats); damping makes it spiral in toward the center; a driven or double pendulum can draw a tangled path. Open the AP / college lab and choose the Phase graph.

Key takeaway: one picture of the whole motion.

Its two coupled, nonlinear equations are known exactly from Newton’s laws, but tiny differences in the starting angles grow very fast, so two runs that start almost the same soon look completely different. Nothing random is involved: it is deterministic chaos. Try the Double mode in the AP / college lab.

Key takeaway: chaotic, not random.