Pendulum Calculator
- For small swings the period is T = 2π√(L ÷ g) = 2π × √(1 ÷ 9.81) = 2.0061 s — one full back-and-forth every 2.0061 seconds, or 29.9093 swings a minute.
- The bob's mass and (for swings under about 15°) the swing size do not appear in the formula: double the weight and the period is unchanged; move the same pendulum to the Moon (g = 1.62) and it would swing about 2.5 times slower. Quadrupling the length only doubles the period, because length sits under a square root.
A pendulum calculator lets you find the period or frequency of a simple pendulum from its length, or work back to find the length needed for a target period. For small swings, the period T equals 2 pi times the square root of length L divided by gravity g, so only length and gravity matter. The bob's mass and, under about 15 degrees, the swing size do not appear. The calculator gives you the period in seconds and the frequency in hertz. A 1 m pendulum on Earth has a period of 2.0061 s and a frequency of 0.4985 Hz. A 0.25 m pendulum has a period of 1.003 s — a quarter of the length halves the period, because length sits under a square root. You can also invert the formula to L = g (T / 2 pi)^2, which shows that an exact 2-second period on Earth needs a length of 0.994 m — the seconds pendulum that drove two centuries of clock design.
This method is the accepted standard because it comes from the linearized equation of motion for a simple pendulum, which holds for small angles and matches measured results to high precision. On the Moon (g = 1.62 m/s^2) the same pendulum swings about 2.5 times slower than on Earth, and the formula captures that change exactly. This page shows the formula, step-by-step workings, worked examples, and sources so you can verify every result yourself.
Worked examples
A one-metre pendulum on Earth
Period 2.0061 s — almost exactly the two-second swing of the classic seconds pendulum. (Period from length · 1 m · 2 s · Earth — 9.81 m/s²)
| Period | 2.0061 s |
| Frequency | 0.4985 Hz |
| Swings per minute | 29.9093 |
| Length of a 2-second pendulum here | 0.994 m |
A 25 cm desk pendulum
Period 1.003 s — a quarter of the length halves the period, thanks to the square root. (Period from length · 0.25 m · 2 s · Earth — 9.81 m/s²)
| Period | 1.003 s |
| Frequency | 0.997 Hz |
| Swings per minute | 59.8185 |
| Length of a 2-second pendulum here | 0.994 m |
Designing for an exact 2-second period
Length 0.994 m — the 99.4 cm that clockmakers settled on centuries ago. (Length from period · 1 m · 2 s · Earth — 9.81 m/s²)
| Required pendulum length | 0.994 m |
| Frequency | 0.5 Hz |
| Swings per minute | 30 |
The pendulum formula and Galileo's insight
For small swings, the period of a pendulum follows a remarkably clean equation: T = 2 pi sqrt(L / g). Only two things appear in that formula — the length of the rod or string and g, the local acceleration due to gravity. The bob's mass does not appear at all, and as long as the swing stays under about 15 degrees, the size of the swing drops out too. This is the principle Galileo first noticed in church pews, watching a chandelier sway: a long pendulum and a short one can swing through different arcs yet keep the same timing for a given length. He called this property isochronism, meaning equal time for equal length regardless of amplitude or weight.
Because length sits under a square root, the relationship between length and period is not linear. A 1 m pendulum on Earth has a period of 2.0061 s and a frequency of 0.4985 Hz. Cut the length to 0.25 m and the period becomes 1.003 s — a quarter of the length halves the period. That square-root behavior is what makes a pendulum calculator useful: small changes in rod length produce predictable but non-obvious changes in timing, and working through the math by hand each time is tedious.
Clockmakers cared less about arbitrary lengths and more about hitting a specific beat. An exact 2-second period on Earth needs a length of 0.994 m, the so-called seconds pendulum that drove two centuries of clock design. To find that number, you invert the formula: L = g (T / 2 pi)^2. This rearrangement lets you start from a desired period and solve for the length that produces it, which is how designers tuned pendulum clocks before electronic timing existed.
Gravity is the other variable, and it matters wherever you happen to be. On the Moon, where g = 1.62 m/s^2, the same pendulum swings about 2.5 times slower than on Earth. A clock built to keep perfect time in one place will drift in another unless the rod is adjusted — a fact that holds true whether you move a grandfather clock from sea level to a mountaintop or ship one to another world.
Worked examples: a metre, a quarter-metre, and a design target
A pendulum calculator is most useful when you can see the formula in action. The table below shows three cases that cover the common ways you might use the tool: checking a known length, comparing two lengths, and hitting a target period. Each row follows from T = 2 pi sqrt(L / g), where only length and gravity matter. The bob's mass does not appear in the formula, and under about 15 degrees of swing the swing size has no effect either.
The first two rows show why length and period do not change in lockstep. A 1 m pendulum on Earth has a period of 2.0061 s and a frequency of 0.4985 Hz. Cut the length to 0.25 m and the period drops to 1.003 s. A quarter of the length halves the period, because length sits under a square root in the formula. This is the key insight a pendulum calculator makes visible: to double the period you must quadruple the length, not merely double it.
The third row flips the question. Instead of asking what period a given length produces, you ask what length produces a target period. Inverting the formula gives L = g (T / 2 pi)^2. On Earth, an exact 2-second period needs a length of 0.994 m. This is the seconds pendulum that drove two centuries of clock design, because a swing of one second in each direction made timekeeping practical before electronics.
These values all assume Earth gravity. On the Moon, where g = 1.62 m/s^2, the same pendulum swings about 2.5 times slower than on Earth. A pendulum calculator that lets you change g shows this shift instantly, which is useful for classroom demos or any project that needs to account for a different gravitational field.
| Length | Period | Notes |
|---|---|---|
| 1 m | 2.0061 s | Frequency 0.4985 Hz on Earth |
| 0.25 m | 1.003 s | Quarter length halves period |
| 0.994 m | 2 s | Seconds pendulum target |
The seconds pendulum and the history of clocks
A pendulum that completes one full swing — forward and back — in exactly 2 seconds needs a length of 0.994 m on Earth, which is 99.4 cm. This specific setup is called the seconds pendulum, and it became the foundation of clock design for roughly two centuries. Because each half-swing takes 1 second, the pendulum provides a natural, visible rhythm that a clock mechanism can count and display. A pendulum calculator can show why this particular length matters so much.
The Dutch scientist Christiaan Huygens recognized the potential of the pendulum for timekeeping in the 17th century. The key insight came from the period formula: for small swings, T = 2 pi sqrt(L / g). This equation reveals something remarkable — only the length of the pendulum and the acceleration due to gravity affect the period. The mass of the bob does not appear in the formula at all, and as long as the swing stays under about 15 degrees, the size of the swing does not matter either. This property, called isochronism, means a pendulum keeps steady time even as its swing gradually shrinks.
Huygens used this principle to build practical pendulum clocks that were far more accurate than any earlier mechanical timepiece. By inverting the formula to L = g (T / 2 pi)^2, clockmakers could design a pendulum for any desired period simply by choosing the right length. The seconds pendulum at 99.4 cm became the standard around which clock movements were built. Before the pendulum, the best clocks might lose or gain 15 minutes per day. Pendulum clocks brought that error down to seconds per day, a leap in precision that transformed navigation, astronomy, and daily life.
Pendulum clocks held their dominant position in timekeeping until the rise of quartz clocks in the 20th century. Quartz oscillators replaced pendulums because they had no moving parts, were unaffected by motion or temperature changes, and could run at much higher frequencies. But for nearly 300 years, the simple swinging weight described by that clean square-root formula set the standard for accurate time. The seconds pendulum's 99.4 cm length was not just a number — it was the heartbeat of the modern clock.
How to use this pendulum calculator
This pendulum calculator runs in two modes. In the first mode, you enter the pendulum's length and select a gravity setting, and the tool returns the period and frequency. In the second mode, you enter a target period and select a gravity setting, and the tool returns the length you need. You can enter length in either metres or feet, and you choose between three gravity settings: Earth, Mars, or Moon.
The math behind the tool is straightforward. For small swings, the period T equals 2 pi sqrt(L / g), where L is length and g is the acceleration due to gravity. Only length and gravity matter in this equation. The bob's mass does not appear, and as long as the swing stays under about 15 degrees, the size of the swing does not appear either. Because length sits under a square root, changes in length have a squared relationship to changes in period. A verified example: a 1 m pendulum on Earth has a period of 2.0061 s and a frequency of 0.4985 Hz. Cut the length to 0.25 m and the period drops to 1.003 s — a quarter of the length halves the period.
In the second mode, the calculator inverts the formula to solve for length: L = g (T / 2 pi)^2. This is useful when you need a pendulum that beats at a specific rate. A verified example: an exact 2-second period on Earth needs a length of 0.994 m. This is the seconds pendulum that drove two centuries of clock design.
Your choice of gravity setting has a major effect on the results. On the Moon, where g = 1.62 m/s^2, the same pendulum swings about 2.5 times slower than on Earth. Select the gravity setting that matches your scenario before you enter your values, and the calculator will apply the correct value of g in its math.
Square-root scaling: the rule of four
For small swings, the period of a pendulum follows T = 2 pi sqrt(L / g), which means only length and gravity matter. The bob's mass does not appear, and under about 15 degrees the swing size does not appear either. Because length sits under a square root, the relationship between length and period follows a simple but powerful rule: quadrupling the length doubles the period.
A concrete example proves the point. A 1 m pendulum on Earth has a verified period of 2.0061 s and a frequency of 0.4985 Hz. Cut that length to 0.25 m — a quarter of the original — and the period drops to 1.003 s, exactly half. This is the square-root scaling at work. A pendulum calculator makes this relationship easy to explore: change the length, and the period shifts by the square root of the ratio.
This rule has practical consequences for clock adjustment. Mechanical pendulum clocks use a small threaded weight called the rating nut to raise or lower the bob, changing the effective length. Because of square-root scaling, a tiny turn of the nut produces a much smaller change in period than you might expect. To double the period, you would need four times the length — a dramatic change. Fine tuning a clock therefore requires patience and small adjustments, since the math works against large swings in period.
The historical importance of this scaling is hard to overstate. An exact 2-second period on Earth requires a length of 0.994 m — the so-called seconds pendulum that drove two centuries of clock design. Clockmakers could invert the formula using L = g (T / 2 pi)^2 to find the precise length needed for a desired period, then use the rating nut for final adjustment. The square-root relationship meant that small errors in length translated to even smaller errors in period, which helped make pendulum clocks remarkably accurate for their era.
Where the simple formula bends
The clean result a pendulum calculator returns rests on a simplification: the small-angle approximation. For swings under about 15 degrees, the period T = 2 pi sqrt(L / g) depends only on length and gravity. The bob's mass drops out entirely, and so does the swing size. This is what makes the formula so useful — and what makes it dangerous to trust without question when angles grow.
Push the swing past that threshold and the true period begins to lengthen. A pendulum released from a wide angle no longer traces a path that matches the simple formula; the restoring force weakens relative to the arc, and each cycle takes longer than the calculator predicts. The error starts small but compounds. At 30 degrees the period is already longer than the simple formula suggests, and by the time the swing reaches large angles the gap becomes meaningful for anyone trying to keep time.
Clockmakers faced a second enemy that no angle adjustment could fix: thermal expansion. As temperature rises, a metal rod lengthens, and a longer rod means a slower pendulum. A clock that keeps perfect time on a cool morning loses seconds by a warm afternoon. Two centuries of clock design wrestled with this problem, culminating in compensation pendulums that used paired metals of different expansion rates to cancel the effect. The seconds pendulum — an exact 2-second period on Earth requiring a length of 0.994 m — was the standard that made such precision worth pursuing. Even a tiny change in that length shifted the period enough to notice over days.
Gravity itself changes the picture just as much as temperature. On the Moon, where g = 1.62 m/s^2, the same pendulum swings about 2.5 times slower than on Earth. The formula handles this cleanly when you plug in the right value of g, which is why a reliable pendulum calculator asks for gravity or location rather than assuming a single number. Inverting the formula to L = g (T / 2 pi)^2 lets you work backward from a desired period to the length that produces it — useful whether you are designing a clock for a London workshop or predicting how a pendulum behaves on another world.
FAQs
What is the period of a 1 metre pendulum?
On Earth, a 1 metre pendulum has a period of 2.0061 seconds, which is almost exactly two seconds. This makes it a convenient reference length for timekeeping demonstrations and simple experiments.
How long is a seconds pendulum?
On Earth, a pendulum measuring 0.994 m produces an exact 2-second period. This specific length is known as the seconds pendulum and has historical significance in clock design and metrology.
Does the bob's weight affect the period?
No, the bob's weight does not affect the period. The formula T = 2 pi sqrt(L/g) shows that only length and gravity determine the swing time. Mass simply does not appear in the equation.
What happens to a pendulum on the Moon?
On the Moon, where g = 1.62 m/s^2, a pendulum swings about 2.5 times slower than on Earth. The reduced gravity stretches each oscillation, meaning the same pendulum takes noticeably longer to complete a swing.
Why does a shorter pendulum swing faster?
Period scales with the square root of length. A quarter of the length (0.25 m vs 1 m) halves the period, dropping it from 2.0061 s to 1.003 s. Shorter pendulums complete each oscillation in less time.
How do I make a pendulum with a 2-second period?
Cut the pendulum to 0.994 m on Earth, measuring to the centre of the bob. This length produces an exact 2-second period under standard gravity, making it useful for simple clock or demonstration setups.