Skip to content
FastTool

How to find g and its uncertainty from a pendulum experiment

Find g and its uncertainty from a pendulum: time one length several times, or plot T² against L and use the gradient.

Updated · Uses the free Line of Best Fit with Error Bars and Uncertainty Propagation Calculator, which run in your browser

Short answer

For small swings, T = 2π√(L / g) rearranges to g = 4π²L / T². With one length and repeat timings, combine uncertainties as Δg / g = √((ΔL / L)² + (2ΔT / T)²). School courses that add percentages use Δg / g = ΔL / L + 2ΔT / T instead. With five or six lengths, plot T² against L. The gradient is m = 4π² / g, so g = 4π² / m and Δg = g × (Δm / m).

Open the Line of Best Fit with Error Bars

One length or several lengths: which method fits your experiment

Both start from the same small-angle equation, but each one catches different errors in your setup.

Choosing between a single-length calculation and a multi-length graph
Setup How you get g ± Δg What it catches
One length with 5 or more repeat timings of 20 swings Substitute mean T and L into g = 4π²L / T² in the Uncertainty Propagation Calculator Random reaction-time scatter, though a constant offset in L stays hidden
Five to eight lengths from about 0.30 m to 1.05 m Plot T² against L in the Line of Best Fit with Error Bars and use g = 4π² / m Both random scatter and a fixed length offset, which shows up as a non-zero vertical intercept

If your course asks for a graph, use Method B. Its vertical intercept checks whether L was really measured to the center of mass.

Step 1: take clean readings of L and T

  1. Clamp the pivot firmly. Trap the thread between two metal plates or split corks so the pivot cannot wander side to side.
  2. Measure L to the center of the bob. Measure from the clamp bottom to the top of the bob with a rule, then add half the caliper diameter.
  3. Keep the starting angle under 10°. At 5° the true period differs from 2π√(L / g) by less than 0.05%. At 25° the period runs 1.2% slow, pulling your calculated g down by 2.4%.
  4. Put a fiducial marker at the center of the swing. Start and stop the watch as the string crosses that mark, where the bob moves fastest.
  5. Time 20 complete oscillations. Count “zero” as you start the watch, then stop on the twentieth pass in the same direction. Dividing t₂₀ by 20 divides your reaction-time uncertainty by 20 too.

Method A: worked example for one length with five repeat timings

Suppose you set L = 0.800 ± 0.002 m and time 20 swings five times. The readings are 35.84 s, 35.92 s, 35.78 s, 35.90 s and 35.86 s. Dividing each reading by 20 gives periods of 1.7920 s, 1.7960 s, 1.7890 s, 1.7950 s and 1.7930 s. Their mean is T = 1.7930 s.

Open the Uncertainty Propagation Calculator, or load this single-length example directly:

  1. Type g = 4*pi^2*L/T^2 into Formula and m/s^2 into Result unit (optional).
  2. In the row for L, set Value to 0.800, Uncertainty to 0.002 and Type to ± absolute.
  3. In the row for T, set Type to Readings: s/√n and paste 1.7920 1.7960 1.7890 1.7950 1.7930 into Readings.
  4. Enter 9.81 under Accepted value to check agreement with standard gravity.

With Quadrature (standard) selected, the calculator finds u(T) = 0.001225 s. It reports g = 9.824 ± 0.028 m/s², or 9.82 ± 0.03 m/s² to one figure. Check the Uncertainty budget table: L accounts for 77.0% of the variance (0.0246 m/s²), while T accounts for just 23.0% (0.0134 m/s²). Timing 20 swings made the stopwatch cleaner than the millimeter rule.

If your course uses half the range and adds percentage uncertainties, set T to Readings: half range (u(T) = 0.0035 s). Switch Method to Add percentages (school), and the same data give g = 9.824 ± 0.063 m/s² (9.82 ± 0.06 m/s²).

Method B: worked example from a T² against L graph

Now measure six lengths from 0.300 m to 1.050 m, with ΔL = ± 0.002 m and ΔT = ± 0.010 s. Because y = T², each vertical error bar grows with period according to Δ(T²) = 2TΔT.

Six pendulum lengths with propagated vertical error bars Δ(T²) = 2TΔT
L (m) ΔL (m) T (s) ΔT (s) T² (s²) Δ(T²) (s²)
0.3000.0021.1000.0101.2100.022
0.4500.0021.3440.0101.8060.027
0.6000.0021.5560.0102.4210.031
0.7500.0021.7360.0103.0140.035
0.9000.0021.9060.0103.6330.038
1.0500.0022.0540.0104.2190.041

You do not have to square T by hand. Open this six-length dataset in the tool with raw L and T already entered. The link already plots T² and fills in g = 4π²/m under Use the slope.

  • Max/min (worst lines): steepest 4.118 s²/m, shallowest 3.912 s²/m. Half their difference gives m = 4.02 ± 0.10 s²/m and g = 9.8 ± 0.3 m/s². AQA’s practical handbook uses the best line minus the worst one instead. Open Max/min rule and set Uncertainty from the two lines to Best minus worst line: here that gives ± 0.11 s²/m. Either way, g = 9.8 ± 0.3 m/s².
  • Weighted and York (university write-ups): m = 4.02 ± 0.05 s²/m, giving g = 9.81 ± 0.12 m/s² (Weighted) or 9.81 ± 0.13 m/s² (York).
  • Least squares (point scatter alone): m = 4.022 ± 0.013 s²/m and g = 9.82 ± 0.03 m/s².

Mistakes that pull g away from 9.81 m/s²

  • Measuring to the hook instead of the bob center. Stopping at the top of a 24 mm bob makes L 12 mm short. In Method A, entering L = 0.788 m drops g to 9.677 ± 0.028 m/s²—off from 9.81 m/s² by 4.8 standard uncertainties.
  • Counting “one” instead of “zero” when starting the watch. You time 19 swings while dividing by 20, making T 5% too small and g about 10.9 m/s².
  • Timing half-swings instead of full swings. One full period passes the center marker going right, returns going left, and crosses going right again.
  • Forcing the line through the origin. Leave Force the line through the origin unticked so a constant offset in L stays visible in the y-intercept.

When a simple-pendulum formula is the wrong model

A rigid metal bar, a drilled meter rule or a heavy disk is not a point mass on a light thread. Its mass is spread along its length, making it a compound pendulum governed by T = 2π√(I / mgh). Here I is the moment of inertia about the pivot and h is the distance to the center of mass.

Sources

Spotted a mistake in this guide? Email contact@fasttool.app. We reply within 7 business days.

Open the Line of Best Fit with Error Bars