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.
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.
| 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
- Clamp the pivot firmly. Trap the thread between two metal plates or split corks so the pivot cannot wander side to side.
- 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.
- 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%. - 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.
- 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:
- Type
g = 4*pi^2*L/T^2into Formula andm/s^2into Result unit (optional). - In the row for L, set Value to
0.800, Uncertainty to0.002and Type to ± absolute. - In the row for T, set Type to Readings: s/√n and paste
1.7920 1.7960 1.7890 1.7950 1.7930into Readings. - Enter
9.81under 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.
| L (m) | ΔL (m) | T (s) | ΔT (s) | T² (s²) | Δ(T²) (s²) |
|---|---|---|---|---|---|
| 0.300 | 0.002 | 1.100 | 0.010 | 1.210 | 0.022 |
| 0.450 | 0.002 | 1.344 | 0.010 | 1.806 | 0.027 |
| 0.600 | 0.002 | 1.556 | 0.010 | 2.421 | 0.031 |
| 0.750 | 0.002 | 1.736 | 0.010 | 3.014 | 0.035 |
| 0.900 | 0.002 | 1.906 | 0.010 | 3.633 | 0.038 |
| 1.050 | 0.002 | 2.054 | 0.010 | 4.219 | 0.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
- JCGM 100:2008 (GUM), Evaluation of measurement data — Guide to the expression of uncertainty in measurement, for standard error of the mean and quadrature propagation.
- AQA A-level Physics Practical Handbook (PDF), for Required Practical 7 (simple harmonic motion, including a simple pendulum), fiducial marks and the best-minus-worst gradient uncertainty.
- OCR A Level Physics Practical Skills Handbook, for fiducial markers and timing over many oscillations.
Spotted a mistake in this guide? Email contact@fasttool.app. We reply within 7 business days.