PhysicsBeginnerGraph simulation~15 min

Pendulum Motion

A weight on a string, swinging back and forth: the pendulum is one of the simplest machines in physics, yet it kept the world’s time for nearly 300 years. Change one variable at a time, measure the period, and discover which factors really control the swing — and which do not.

Pause, then drag the bob to set the starting angle
t = 0.0 s
1
1

Does mass change the period? Test it.

20

Small angles (under about 15°) match the simple formula best.

Gravity
0

Friction makes the swing die away. Does it change the period much?

Measured period
—
Formula 2π√(L/g)
—
Angle now
—
Bob speed
—
Frequency
—

Angle over time

The pendulum's angle in degrees over the last 15 seconds.

    Period measurements 0 trials

    TrialLength (m)Mass (kg)Start angleGravityMeasured T (s)Formula T (s)
    Let the pendulum complete a full swing, then press Record.

    How to use this simulator

    1. Press Start to release the bob. The measured period appears after the first full swing.
    2. Change one variable at a time — length, mass, starting angle, gravity or friction. Each change restarts the swing.
    3. To set the angle by hand, pause and drag the bob to either side.
    4. Press Record to save the current measurement in the table. Download your results as a CSV file to graph them in a spreadsheet.
    5. Watch the energy bars and the angle graph as the pendulum swings. Click the bob or string for more information.

    How a pendulum works

    When the bob is pulled to one side, gravity pulls it down while the string holds it on a circular arc. The part of gravity that acts along the arc, called the restoring force, always points back toward the lowest point. The bob speeds up as it falls, overshoots the bottom because of its inertia, slows as it climbs the other side, and swings back. This repeating motion is an oscillation.

    What sets the period?

    Only two things matter much for a pendulum with small swings: the length of the string and thestrength of gravity. A longer string gives a longer period; stronger gravity gives a shorter one. The mass of the bob makes no difference, because a heavier bob needs more force to accelerate and receives exactly that much more force from gravity. The starting angle matters only a little: for swings under about 15°, the period is almost the same whatever the amplitude. Galileo noticed this property, called isochronism, in the early 1600s.

    Formulas

    For small angles, the period of a simple pendulum is:

    T = 2π √(L / g) frequency f = 1 / T

    The formula comes from the equation of motion θ'' = −(g/L) sin θ, using the approximation sin θ ≈ θ for small angles. The simulator solves the full equation without this approximation, which is why its measured period grows slightly at large angles. A good correction for moderate angles θ₀ (in radians) is:

    T ≈ 2π √(L/g) · (1 + θ₀²/16)

    Energy in a swing

    At the highest points the bob is momentarily still: all its energy is gravitational potential energy(PE = m·g·h). At the lowest point it moves fastest: the energy is all kinetic (KE = ½·m·v²). In between, energy flows back and forth while the total stays constant — unless friction is switched on, in which case the total slowly drains away as heat and the swings shrink.

    Running a fair experiment

    A scientific investigation changes one independent variable at a time, measures adependent variable (here, the period) and keeps all other control variables the same. Try recording five lengths at the same angle and mass, then plot T against √L: the points form a straight line, confirming the formula.

    Key terms

    Period (T)
    Time for one complete oscillation, in seconds.
    Frequency (f)
    Number of oscillations per second, in hertz (Hz). f = 1/T.
    Amplitude
    The maximum displacement from the rest position — here, the starting angle.
    Restoring force
    A force that pulls a system back toward equilibrium; for a pendulum, m·g·sin θ.
    Simple harmonic motion
    Oscillation in which the restoring force is proportional to displacement. A pendulum approximates it for small angles.
    Damping
    Loss of energy (for example to air friction) that makes oscillations die away.

    Real-world applications

    • Clocks: pendulum clocks, invented by Christiaan Huygens in 1656, were the most accurate timekeepers until the 20th century. A pendulum about 0.99 m long has a period of 2 s — the classic “seconds pendulum”.
    • Measuring gravity: because T depends on g, precise pendulums were used to map small variations in Earth’s gravity.
    • Foucault’s pendulum: a long, heavy pendulum whose swing plane slowly rotates, demonstrating that Earth turns.
    • Buildings and bridges: tuned mass dampers — giant pendulum-like weights — reduce swaying in skyscrapers such as Taipei 101.
    • Walking: your legs swing partly like pendulums, which is one reason taller people tend to take slower strides.

    Common misconceptions

    • “A heavier bob swings faster.” Mass does not change the period.
    • “A bigger swing takes much longer.” For small angles, the period hardly changes with amplitude: a bigger swing also moves faster.
    • “Friction changes the period a lot.” Light damping shrinks the amplitude but changes the period very little.

    What the model simplifies

    The model is an ideal simple pendulum: a point mass on a massless, unstretchable string, swinging in one plane. Real pendulums have a bob with size and a string with mass, which slightly lengthen the period. Air friction is modelled as a simple force proportional to speed.

    Key takeaways

    • For small swings, T = 2π√(L/g): the period depends on length and gravity only.
    • Mass has no effect on the period; amplitude has only a small effect at large angles.
    • Energy changes between potential and kinetic during each swing.
    • Good experiments change one variable at a time and repeat measurements.

    Knowledge check

    Pendulum Motion: test your understanding

    Answer each question to get instant feedback and an explanation. Use the simulator to check your thinking.

    7 questions3 basic3 intermediate1 advanced

    0 of 7 answered

    1. Q1BasicWhat is the period of a pendulum?
      Show answer

      Answer: B. The time for one complete back-and-forth swing

      The period T is the time for one full cycle — out, back, and returning to the starting point. The number of swings per second is the frequency, f = 1/T.

    2. Q2BasicYou double the mass of the bob and keep everything else the same. What happens to the period?
      Show answer

      Answer: C. It stays the same

      Mass does not appear in T = 2π√(L/g). A heavier bob feels a bigger gravitational force but also has more inertia, and the two effects cancel. Record trials at different masses to confirm.

    3. Q3BasicWhich change makes a pendulum swing more slowly (longer period)?
      Show answer

      Answer: B. A longer string

      The period grows with the square root of length. A longer string means the bob travels a longer arc with a gentler restoring force. Stronger gravity, as on Jupiter, would shorten the period.

    4. Q4IntermediateTo double the period of a pendulum, the length must be…
      Show answer

      Answer: C. multiplied by 4

      Because T ∝ √L, doubling T requires √L to double, which means L must become four times longer.

    5. Q5IntermediateA pendulum clock is taken from Earth to the Moon, where g is about one-sixth as large. Its period becomes about…
      Show answer

      Answer: C. 2.45 times longer

      T ∝ 1/√g. Dividing g by 6 multiplies T by √6 ≈ 2.45, so the clock would run much too slowly.

    6. Q6IntermediateWhere in the swing is the bob moving fastest?
      Show answer

      Answer: B. At the lowest point

      Energy is converted from gravitational potential energy to kinetic energy as the bob falls. At the lowest point potential energy is smallest, so kinetic energy — and speed — is greatest. Watch the energy bars.

    7. Q7AdvancedReleased from 70° instead of 10°, the measured period is slightly longer than 2π√(L/g). Why?
      Show answer

      Answer: B. The formula assumes small angles, where sin θ ≈ θ; at large angles the restoring force is weaker than that approximation

      The simple formula comes from approximating sin θ by θ (in radians). For large angles, sin θ is noticeably smaller than θ, so the restoring force is weaker than the approximation predicts and each swing takes a little longer — about 10% longer at 70°.

    References and further reading

    1. Ling, S. J., Sanny, J., & Moebs, W. (2016). University Physics Volume 1, Section 15.4: Pendulums. OpenStax. openstax.org (opens in a new tab)
    2. Urone, P. P., & Hinrichs, R. (2020). College Physics 2e, Section 16.4: The Simple Pendulum. OpenStax. openstax.org (opens in a new tab)
    3. Nelson, R. A., & Olsson, M. G. (1986). The pendulum — Rich physics from a simple system. American Journal of Physics, 54(2), 112–121.

    This simulator is a simplified educational model. Found an error? Let us know. See our educational disclaimer.