Skip to main content
Virtual Laboratory
Physics Simulations Free · No Account Free & source-available · CC BY-NC-SA 4.0

Measuring Gravitational Acceleration with a Simple Pendulum

A simple pendulum measures local gravitational acceleration g from the small-angle period law T = 2π√(L/g), where period depends only on effective length L and g, not bob mass. In this pendulum simulation, test rigid clamping, vernier caliper diameter measurement, lowest-point cumulative timing, conical-pendulum drift, and T²–L slope fitting.

Measuring Gravitational Acceleration with a Simple Pendulum — 3D Bench Preview

Interactive 3D Lab Preview

Runs right on this page in fullscreen · No account required

  • Explain the small-angle linearization F = −mg sin θ ≈ −(mg/L)s (lesson setting θ ≤ 5°) and apply four ideal-pendulum setup rules: a split-cork rigid clamp, a dense steel ball (lesson setting d = 20.00 mm), an inextensible string, and effective length L = l₀ + d/2.
  • Measure period accurately by starting at 0 as the bob crosses the lowest equilibrium position (maximum speed) and timing 30 full oscillations (lesson setting n = 30) to compute T = t / n.
  • Compare single-trial formula calculation g = 4π²L / T² against T²–L linear-fit slope g = 4π² / k, explaining why omitting the bob radius d/2 biases the single formula but leaves the T²–l₀ slope unchanged.

Press Esc or your browser Back button anytime to return to the guide.

Principle, Mechanism & Key Concepts

Measuring Gravitational Acceleration with a Simple Pendulum

What You Will Investigate
Goal 01

Explain the small-angle linearization F = −mg sin θ ≈ −(mg/L)s (lesson setting θ ≤ 5°) and apply four ideal-pendulum setup rules: a split-cork rigid clamp, a dense steel ball (lesson setting d = 20.00 mm), an inextensible string, and effective length L = l₀ + d/2.

Goal 02

Measure period accurately by starting at 0 as the bob crosses the lowest equilibrium position (maximum speed) and timing 30 full oscillations (lesson setting n = 30) to compute T = t / n.

Goal 03

Compare single-trial formula calculation g = 4π²L / T² against T²–L linear-fit slope g = 4π² / k, explaining why omitting the bob radius d/2 biases the single formula but leaves the T²–l₀ slope unchanged.

In the same lab, Student A forgets to add the steel ball radius and gets a low gravity value (9.67 m/s²). Student B also forgets the radius, yet plots T² against string length l₀ and gets 9.79 m/s²—just 0.01 m/s² from the 9.80 m/s² baseline setting. What did the intercept absorb?

When Christiaan Huygens built the first pendulum clock in 1656 after Galileo's observations of swinging lamps, he found that at small angles (lesson setting θ ≤ 5°), a pendulum's period is independent of bob mass and depends only on effective length L and local gravity g. In precision lab work, however, wrapping the string loosely around a rod lets the pivot slip, timing at the peak where speed drops to zero blurs the turnaround, and counting the first pass as 1 drops an entire cycle. Master the mechanics and graph geometry behind each detail, and a string plus a steel ball becomes a remarkably accurate gravity meter.

Accurate gravity measurement with a simple pendulum rests on three habits: clamp the pivot rigidly so length cannot slip, measure from the pivot to the bob's center of mass, and time 30 cycles starting at 0 at the lowest point. Even if you forget the bob radius, a T²–l₀ linear fit shifts that constant offset into the vertical intercept while keeping the slope—and g—accurate.
1. Rigid Clamp & L = l₀ + d/2θ ≤ 5°(angle enlarged)l₀+d/2Lowest v_max: count from 02. Caliper & 30-Cycle Timing20-div caliper (setting):d = 20.00 mm → r = 1.00 cml₀ = 80.00 cm → L = 0.8100 mn = 30 cycles: t = 54.21 sPeriod T = t / 30 = 1.807 sCounting Error Warning:30 counted as 31 → T lowFormula g rises to 10.463. T²–L vs. T²–l₀ Equal SlopeIntercept b = 4π²r/gT²–L (origin)T²–l₀ (shifted)Slope k = 4π²/g → g = 9.79 m/s²x: L or l₀ (m), y: T² (s²)
2D Visual Guide & Diagram — Measuring Gravitational Acceleration with a Simple Pendulum

Cause-and-Effect Chain

01
Condition: Split-cork clamp + dense steel ball + θ ≤ 5°

Eliminates pivot slip and air damping while satisfying the sin θ ≈ θ linear restoring-force condition

→ Pendulum undergoes nearly isochronous simple harmonic motion
02
Condition: Millimeter ruler for string l₀ + vernier caliper for diameter d

The bob's mass centers at its geometric center, so the lever arm runs from pivot to ball center

→ Effective pendulum length L = l₀ + d / 2
03
Condition: Lowest-point photogate or visual count from 0 through 30 cycles

Peak speed minimizes crossing time, and 30 cumulative cycles cut start/stop error to 1/30

→ Precise single-cycle period T = t / 30
04
Condition: Multi-length T²–L linear fit for slope k

From T² = (4π²/g)L, slope k = ΔT²/ΔL stays unaffected by constant vertical shifts

→ Calculates g = 4π² / k = 9.79 m/s² (4° lesson setting)

Core Formulas & Quantitative Relations

Small-Angle Simple Pendulum Period Formula
T = 2π √(L / g) (θ ≤ 5°, L = l₀ + d / 2)

For small angles, sin θ ≈ θ (in radians), so period depends only on effective length L and local gravitational acceleration g, independent of bob mass m. The cap θ ≤ 5°, baseline g₀ = 9.80 m/s², and steel ball d = 20.00 mm are lesson equipment settings.

Single-Trial Cumulative Gravity Formula
g = 4π² L / T² = 4π² n² (l₀ + d / 2) / t²

Here n is the number of cumulative full oscillations (lesson setting n = 30) and t is the total elapsed time. Omitting d/2 lowers the single-trial formula result (from 9.79 to 9.67 m/s² under the baseline settings).

T²–l₀ Linear Regression Slope & Intercept Equation
T² = (4π² / g) l₀ + (2π² d / g) ⇒ g = 4π² / k

With an intercept-included least-squares fit (lesson setting: 5 lengths l₀ = 0.60–1.00 m), plotting against string length l₀ still keeps slope k = ΔT² / Δl₀ = 4π²/g, so the slope-derived g is unaffected by omitting the bob radius.

Tangential Restoring Force Linearization & T²–l₀ Intercept Geometry

The left diagram shows why the release angle must stay small (lesson setting ≤ 5°) and why timing belongs at the lowest point. The right diagram shows how linear plotting isolates an omitted bob radius r inside the vertical intercept b.

  • Gravity components: the radial component mg cos θ combines with string tension to provide centripetal force, while the tangential component −mg sin θ supplies the restoring force. At θ ≤ 5° (0.087 rad), sin θ ≈ θ = s/L with relative difference under 0.13%.
  • Lowest-point timing advantage: at equilibrium, gravitational potential energy has converted completely to kinetic energy and speed reaches v_max. Passing the reference mark takes minimal time, cutting visual reaction and photogate trigger error.
  • Recovering bob radius from the intercept: plotting T² against string length l₀ produces a positive y-intercept b = 4π²r/g = k·r. Not only does slope g = 4π²/k stay unbiased, you can also solve for the bob radius from r = b / k.
Restoring Force & Lowest-Point Timing(Angle enlarged for clarity; lab setting θ ≤ 5°)θmgF_t = −mg sin θEquilibrium (v_max)θ ≤ 5° (0.087 rad):|sin θ − θ|/θ < 0.13%Peak v = 0 lingers;poor timing markT²–L Baseline vs. Omitted-Radius Lineb = 4π²r / gSlope k = ΔT²/ΔL= 4π² / gx-axis: L (solid) or l₀ (dashed) / mT² / s²

Concept Breakdown

01

Not every swinging ball behaves like an ideal simple pendulum: a fixed pivot, an inextensible string, a dense compact bob, and a small release angle are all essential.

Small-Angle Linearization, Rigid Clamping, and Center-of-Mass Length

The period equation T = 2π√(L/g) relies on linearizing the nonlinear differential equation d²θ/dt² + (g/L)sin θ = 0 via sin θ ≈ θ. Keeping the maximum angle within 5° (lesson setting cap) holds the relative difference between sin θ and θ in radians below 0.13%. At larger release angles (such as 12° or above 15°), the true period lengthens according to T ≈ T₀(1 + θ₀²/16). Mechanically, clamp the top of the string firmly between a split cork and twin jaws rather than wrapping it loosely around the stand rod, where winding coils shift the pivot up and down during each swing. Choose a small, dense steel ball (lesson setting d = 20.00 mm) to minimize air drag and buoyancy. Once the string hangs taut and vertical, measure string length l₀ from the clamp to the top of the ball with a millimeter ruler, then add the radius d/2 measured by a vernier caliper to obtain effective length L.

Try in the 3D bench: In Step 1, toggle between Split and Wrap at the top of the retort stand. In Step 2, click the 3D vernier caliper (or Caliper) to measure d = 20.00 mm (setting) and verify L = 0.8100 m.
02

Human stopwatch reaction delay is roughly 0.1 to 0.2 s; triggering at maximum speed and accumulating 30 full cycles shrinks timing error by more than an order of magnitude.

Timing from 0 at the Lowest Point & Cutting Relative Error Over 30 Cycles

At the highest point of its swing (maximum displacement), the bob pauses momentarily at zero velocity, making the exact turnaround hard to judge by eye. At the lowest equilibrium position, all gravitational potential energy has converted to kinetic energy and the bob sweeps past at maximum speed v_max, making a vertical reference mark or U-shaped photogate far more consistent. Call out 0—not 1—when starting the stopwatch on the first pass, then add 1 each time the bob returns moving in the same direction. Under this lesson's baseline settings (l₀ = 80.00 cm, d = 20.00 mm, θ₀ = 4.0°, g₀ = 9.80 m/s²), timing n = 30 full cycles reads t = 54.21 s, giving T = 1.807 s and formula g = 9.79 m/s² (the 0.01 m/s² offset from 9.80 m/s² comes from the second-order finite-angle term at 4°). Calling the first pass 1 and stopping at 30 captures only 29 cycles (modeled on the bench by dividing the 30-cycle time by n = 31), shrinking T to 1.749 s and inflating g to 10.46 m/s².

Try in the 3D bench: In Step 7, switch the Timer control between Low (0), Count 1, and Peak to watch the measured period and gravity jump from 9.79 m/s² to 10.46 m/s² (Count 1) or drop to 9.60 m/s² (Peak lag).
03

Recording multiple pendulum lengths and fitting T² against length both averages out random scatter and isolates any constant length zero-offset in the y-intercept.

Separating Systematic Bias: Single Formula vs. T²–L Linear Fit

With a single trial in g = 4π²L / T², forgetting the bob radius r = d/2 (substituting l₀ for L) directly underestimates g (9.67 m/s²), while mistakenly adding the full diameter d (substituting l₀ + d) overestimates g (9.91 m/s²). If instead you vary string length l₀ across several settings (lesson setting: 0.60–1.00 m) and run an intercept-included least-squares fit of T² vs. l₀, the true relation T² = (4π²/g)(l₀ + r) = (4π²/g)l₀ + 4π²r/g shifts the entire line upward by a positive vertical intercept b = 4π²r/g (about +0.040 s² under these settings) without changing its slope k = ΔT² / Δl₀ = 4π² / g. Computing g = 4π² / k from the slope therefore still yields 9.79 m/s², completely immune to the omitted radius.

Try in the 3D bench: In Step 6, click No d/2 across the 5 preset lengths: the single-trial formula drops to 9.67 m/s², while the T²–l₀ chart shows a positive intercept of +0.040 s² and keeps slope g at 9.79 m/s².

Reference & Comparison Table

Simple pendulum baseline and common error responses (lesson equipment settings: g₀ = 9.80 m/s², steel ball d = 20.00 mm, θ ≤ 5°, 30 cumulative cycles; 4° finite-angle correction gives baseline 9.79 m/s²)
Operating Condition (Settings: l₀ = 80.00 cm, d = 20.00 mm)Used Length (m)30-Cycle t (s)Period T (s)Formula g (m/s²) & Error Diagnosis
Standard procedure (split clamp, θ = 4.0°, lowest point from 0, n = 30)0.810054.211.8079.79 (4° second-order shift −0.01; slope fit also 9.79)
Omitted bob radius d/2 (string length l₀ used directly as L)0.800054.211.8079.67 (formula low; intercept-included T²–l₀ slope stays 9.79)
Added full bob diameter d (l₀ + d substituted; algebraic check)0.820054.211.8079.91 (formula high; T² vs. l₀ + d shifts y-intercept negative, same slope)
Counting error: first pass as 1 (30-cycle time divided by 31, illustrative)0.810054.211.74910.46 (strongly high +6.8%, denominator T² too small)
Sideways release into conical pendulum (bench model α = 9.0°, illustrative)0.810053.861.7959.92 (high; conical effective height L cos α shortens T)
String wrapped on rod slips downward (bench slip +1.6 cm, illustrative)0.8100 (nominal)54.741.8259.60 (low; true length grows to 0.8260 m, lengthening T)
Common Misconceptions

Common Misconceptions

If I swap the steel ball for a heavier lead ball of the same size, does stronger gravity make the pendulum swing faster with a shorter period T?

No. At small angles with negligible air drag, both the restoring force and inertial resistance scale linearly with mass m, so m cancels out completely. Period T = 2π√(L/g) is independent of bob mass; we choose a dense bob solely to reduce air resistance.

Can I save time by measuring the string and bob flat on the lab bench before hanging them on the stand?

No. Hanging a dense bob stretches the string slightly, and clamping the top end inside the split cork consumes a short segment of thread. Always mount the pendulum first, let it hang straight down at rest, and then measure l₀ from the clamp to the top of the bob.

If I forget to measure the bob diameter, will every data-analysis method underestimate gravitational acceleration g?

No. A single-trial formula calculation does underestimate g, but measuring multiple lengths and fitting T² against l₀ with an intercept keeps the slope k = 4π²/g unchanged. The missing radius shifts only the positive y-intercept, leaving g = 4π²/k unbiased.

If an accidental sideways nudge makes the bob trace an ellipse (a conical pendulum), will the measured period get longer and make g too small?

No—the opposite happens. A conical pendulum of half-angle α has period T = 2π√(L cos α / g), which is shorter than a planar pendulum of length L. Substituting this shorter T into g = 4π²L / T² overestimates g.

Practice Quiz

Test your understanding with 6 diagnostic questions

Check concepts, graphs, and experimental error reasoning with immediate feedback for every choice.

Embed & Source Availability

Embed this simulation

Paste this iframe snippet into your non-commercial course page or learning platform.

Free & Source-Available (CC BY-NC-SA 4.0)

This simulation is licensed under CC BY-NC-SA 4.0 for non-commercial educational use, embedding, and adaptation with attribution.

Browse All 159 Free Labs →
Sources, Revision & Feedback

Sources, Revision & Feedback

Quiz →