Pendulum Calculator

Period (seconds per swing)—
Frequency (Hz)—
Swings per minute—
Top speed at the bottom (m/s)—

How Pendulum Calculator is calculated: Period = 2 x pi x square root of (length / gravity). Frequency = 1 / period. Top speed = square root of (2 x gravity x length x (1 - cos amplitude)). Small-angle approximation.

What is a pendulum calculator?

A pendulum calculator works out how a pendulum swings: how long each swing takes, how many swings it makes per minute, and how fast the bob moves at the bottom of its swing. Enter the length, the gravity, and the swing angle, and the tool gives you the period, the frequency, the swings per minute, and the top speed. The defaults are a 1-metre pendulum on Earth swinging 10 degrees: a period of 2.01 seconds, a frequency of 0.50 hertz, 29.9 swings a minute, and a top speed of 0.55 metres per second.

The pendulum is the simplest clock in physics. Its period depends on its length and on gravity, and on nothing else: not the mass of the bob, and, for small swings, not the angle either. That independence is what made the pendulum the timekeeper of the world for three hundred years, from Galileo's lamp to the longcase clock. A simple harmonic motion calculator covers the same motion in its general form, and a frequency calculator covers the frequency half of the answer.

This calculator is for physics students checking homework, clock makers sizing a pendulum, and anyone curious about why a long pendulum swings slowly and a short one swings fast. It uses the standard small-angle formula, and the article explains where that formula stops being exact.

Everything runs in your browser. Nothing you type is uploaded, stored, or shared, and you can use the calculator as many times as you like without signing up. The gravity field lets you try the Moon as well as Earth, and the article explains the values.

How a pendulum calculator works

The period is two pi times the square root of length over gravity. A 1-metre pendulum on Earth has a period of 2 times pi times the square root of 1 over 9.81, which is 2.01 seconds. The frequency is one over the period, which is 0.50 hertz, and the swings per minute are 60 over the period, which is 29.9. The length is under the square root, so doubling the length multiplies the period by the square root of 2, about 1.41, and quadrupling the length doubles it.

The top speed comes from energy conservation. The bob rises by a height that depends on the length and the swing angle, and that height times gravity gives the speed at the bottom: the square root of twice gravity times length times one minus the cosine of the angle. For a 1-metre pendulum swinging 10 degrees, that is the square root of 2 times 9.81 times 1 times one minus cos 10 degrees, which is 0.55 metres per second.

The mass does not appear in any of these formulas, and that is not an omission. A heavy bob and a light bob on the same length swing together, because gravity accelerates both equally and the mass cancels out of every equation. The angle does not appear in the period either, for small swings, which is the isochronism that made the pendulum a clock: small swings and large swings take the same time.

The results update the moment you change a number. There is no submit button and no page to reload, so you can double the length and watch the period grow, or raise the angle and watch the top speed climb while the period stays put. That instant feedback is what makes the tool useful while a problem is being worked through.

The length explained

The length is the distance from the pivot to the centre of mass of the bob, and it is the input that matters most, because it is the only one under the square root that you can change on Earth. A 1-metre pendulum takes 2.01 seconds per swing, a 0.25-metre pendulum takes 1.00 second, and a 2-metre pendulum takes 2.84 seconds. The period grows with the square root of the length, so halving the length does not halve the period: it divides it by about 1.41.

The famous seconds pendulum is the one with a period of 2 seconds, one second each way, and its length is about 0.994 metres on Earth. That is why longcase clocks are about a metre tall in the pendulum: the length is chosen to make the period exactly 2 seconds, so each swing of the pendulum is one second and the clock counts seconds directly.

The length must be measured to the centre of the bob, not to the top of it. A bob that is a ball 5 cm across has its centre 2.5 cm below its top, and that 2.5 cm changes the period by about 1%. On a clock that is the difference between keeping time and losing minutes a day, which is why clock makers adjust the length with a nut under the bob.

Gravity is the other input under the square root, and it changes the period the same way the length does. On the Moon, where gravity is 1.62, the same 1-metre pendulum takes 4.94 seconds per swing, more than twice as long. A resonant frequency calculator covers the same square-root relationship for springs and circuits, where the length is replaced by other quantities.

A worked example

Work through the defaults by hand, so you can check the maths yourself. Length 1 m, gravity 9.81, amplitude 10 degrees. The period is 2 times pi times the square root of 1 over 9.81, which is 2.01 seconds. The frequency is 1 over 2.01, which is 0.50 hertz. The swings per minute are 60 over 2.01, which is 29.9. The top speed is the square root of 2 times 9.81 times 1 times one minus cos 10 degrees, which is 0.55 metres per second.

The calculator gives Period: 2.01 seconds, Frequency: 0.50 Hz, Swings per minute: 29.9, Top speed: 0.55 m/s. Check the frequency against the period: 1 over 2.01 is 0.50, which closes, and the swings per minute are the frequency times 60, which is 29.9, so the three numbers agree with each other.

Now try a short pendulum. Length 0.25 m, gravity 9.81, amplitude 10 degrees. The period is 2 times pi times the square root of 0.25 over 9.81, which is 1.00 second. The frequency is 1.00 hertz, the swings per minute are 59.8, and the top speed is 0.27 metres per second. A quarter of the length gives half the period and half the top speed, which is the square root at work.

Now try a long pendulum with a wide swing. Length 2 m, gravity 9.81, amplitude 30 degrees. The period is 2.84 seconds, the frequency is 0.35 hertz, the swings per minute are 21.1, and the top speed is 2.29 metres per second. The wide swing makes the bob much faster at the bottom, but the period barely changes, which is the isochronism the article keeps coming back to. At 30 degrees the true period is actually about 1.7% longer than the formula says, which the next section explains.

Why the pendulum matters

The pendulum gave the world its first accurate clock. Before it, time was measured by sundials and water clocks that drifted by minutes a day, and after it, a longcase clock kept time to seconds a week. The pendulum's period depends only on its length and on gravity, so a clock could be built, adjusted once, and trusted, and that trust changed navigation, astronomy, and science itself.

The pendulum also measures gravity. Turn the formula around, and the period of a pendulum of known length gives the local gravity, which is how gravity was first mapped around the world. A pendulum that takes 2.01 seconds in one place and 2.02 in another is telling you the gravity is different, and the difference maps the density of the rock below.

Physics students meet the pendulum as the first oscillator. It appears in problems about clocks, swings, and simple harmonic motion, and the calculator gives instant feedback on the method. A swing in a playground is a pendulum, a wrecking ball is a pendulum, and a Foucault pendulum proves the Earth rotates, all from the same formula.

The pendulum is also the cleanest example of energy trading places. At the top of the swing the bob has potential energy and no speed, at the bottom it has speed and no height, and the total never changes. The top speed result on this page is that trade made visible, and it is the link between the pendulum and the rest of mechanics.

Pendulum calculator vs a stopwatch

A stopwatch measures the real pendulum, including the air resistance, the friction at the pivot, and the swing getting smaller over time. The calculator gives the ideal pendulum, with no friction and no air, and the two disagree by a little: a real pendulum slows down and its period drifts as the swing shrinks. The stopwatch is the truth about a real pendulum, and the calculator is the theory it is compared against.

The calculator wins on planning. It gives the period before the pendulum is built, before the clock is made, and before the experiment is run, when a stopwatch reading is impossible. It also lets you compare lengths: a 1-metre and a 2-metre pendulum side by side, with their periods and speeds, in seconds.

Neither tool is better in general; they answer different moments. The calculator gives the design, and the stopwatch gives the check. Use both when you can: calculate first, then time ten swings and divide by ten, and use the real period for anything that matters, because the real pendulum is the one that has to keep time.

One thing the calculator cannot do is account for large swings. The formula assumes the angle is small, and at 30 degrees the true period is about 1.7% longer than the formula says. At 60 degrees it is about 7% longer. The calculator uses the small-angle formula and says so, and the top speed is exact at any angle, because it comes from energy, not from the approximation.

Common pendulum mistakes

The first mistake is measuring the length to the wrong point. The length is from the pivot to the centre of mass of the bob, not to the top of the bob and not to the end of the string. A few centimetres of error changes the period by about 1%, which is minutes a day on a clock.

The second mistake is thinking the mass matters. It does not: a heavy bob and a light bob on the same length swing together, and the mass cancels out of every formula. Adding mass changes nothing about the period, and it changes the top speed not at all.

The third mistake is using the small-angle formula for a large swing. The period formula is an approximation that assumes the angle is small, and at 60 degrees it is about 7% short. The calculator states the approximation plainly, and for wide swings the true period needs an elliptic integral, which no simple calculator gives.

The fourth mistake is counting a swing as half a period. The period is the time for a full swing, out and back, and the frequency is one over that. A pendulum that takes 1 second to go from one side to the other has a period of 2 seconds, not 1, and the calculator's swings-per-minute counts full swings.

The fifth mistake is forgetting that the period changes with gravity. A clock that keeps perfect time on Earth runs slow on the Moon, because the same length takes longer to swing there. A 1-metre pendulum takes 2.01 seconds on Earth and 4.94 seconds on the Moon, and no adjustment of the bob will fix that without changing the length.

How to use this pendulum calculator

Measure the length from the pivot to the centre of the bob in metres, leave the gravity at 9.81 for Earth, and set the swing angle in degrees. The period, the frequency, the swings per minute, and the top speed appear instantly.

Use the period to size a pendulum for a clock: a period of 2 seconds needs a length of about 0.994 metres on Earth. Use the top speed to judge the forces at the bottom of the swing, and use the swings per minute to compare two pendulums at a glance.

Everything runs in your browser. Nothing you type is uploaded, stored, or shared, and you can use the calculator as many times as you like without signing up. Screenshot the results to keep them with your working.

Remember that the period formula is the small-angle approximation: it is exact for tiny swings and about 1.7% short at 30 degrees. The top speed is exact at any angle. Measure the length to the centre of the bob, and count a full out-and-back swing as one period.

Frequently Asked Questions

About 2.01 seconds on Earth. The period is 2 times pi times the square root of length over gravity, and for 1 metre and gravity 9.81 that is 2.01 seconds. The frequency is 0.50 hertz, which is 29.9 swings a minute. A pendulum of about 0.994 metres has a period of exactly 2 seconds, which is why longcase clocks are built around that length.

No. A heavy bob and a light bob on the same length swing together, because gravity accelerates both equally and the mass cancels out of the formula. The period depends only on the length and the gravity. The mass does affect the forces in the string and the energy of the swing, but not the time it takes.

Because the period grows with the square root of the length. Doubling the length multiplies the period by the square root of 2, about 1.41, and quadrupling it doubles the period. A 0.25-metre pendulum takes 1.00 second per swing, a 1-metre one takes 2.01 seconds, and a 2-metre one takes 2.84 seconds.

Only for small angles. The formula assumes the angle is small, and at 30 degrees the true period is about 1.7% longer than the formula says, and at 60 degrees about 7% longer. For the small swings of a clock the difference is negligible, which is why the pendulum works as a timekeeper. The top speed does depend on the angle, and the calculator gives it exactly.

More free tools

More calculators and utilities from Sortrun — free, no sign-up.