Frequently Asked Questions
Why does the frequency stay at 2.93 Hz when I change the displacement?
For an ideal spring the natural frequency depends only on stiffness and mass, not on how far you pull it. A bigger deflection makes a bigger swing, but each cycle still takes 0.34 s. This is the defining property of simple harmonic motion. Change the spring constant or the attached mass to move the frequency; the displacement field only feeds the force and energy lines.
Why does the energy go up four times when the force only doubles?
Energy is the area under the force line from zero to your displacement, a triangle with height kx and base x. Doubling x doubles the height and the base, so the area grows four times. On the page, going from 0.14 m to 0.28 m raises the force twofold but takes the energy from 8.33 J to 33.32 J.
My spring is rated in N/mm. What do I enter?
Multiply the N/mm figure by a thousand to get N/m. A spring rated at 0.85 N/mm is the 850 N/m default. Make sure the displacement is then in metres as well, so a 14 mm deflection becomes 0.014. Mixing the two scales is the most common way to get a force a thousand times too big.
Does a heavier mass make the spring push harder?
Not at the same deflection. The force line depends only on k and x, so 850 N/m at 0.14 m gives 119 N whatever is attached. A heavier mass does stretch a vertical spring further under its own weight, and that larger stretch then raises the force. The page needs you to enter that stretch yourself as the displacement.
What does a negative displacement do?
The page reports the force as a positive magnitude, so a displacement of minus 0.1 m shows 85 N, the same as plus 0.1 m. The energy is identical too, since x is squared. In F = −kx the minus sign only tells you the restoring force points back toward the rest length, opposite to the displacement.
How can I find k if I do not know it?
Hang a known mass, measure how far the spring stretches, and divide the weight in newtons by the stretch in metres. Alternatively, time a few bounces with a known mass and use k = m(2πf)². With 2.5 kg bouncing at 2.93 Hz, that formula returns roughly the 850 N/m default, which makes a good check of your method.
Why is my measured bounce slower than the page predicts?
Usually because the spring has mass of its own and some of it moves with the load. The ideal formula treats the spring as weightless. Adding about a third of the spring's mass to the attached mass gives a closer prediction. Friction and damping also slow the motion slightly, and a spring stiffer or softer than its rating shifts the result too.
Does the calculator handle springs in series or parallel?
Not directly; it takes a single spring constant. Combine your springs first. Springs side by side in parallel add their rates, so two 850 N/m springs act like one of twice that. Springs end to end in series combine like resistors in parallel, so two equal springs give half the rate. Enter the combined value.
What happens if I enter a mass of zero?
The frequency formula would divide by zero, so the page stops and asks for a spring constant and mass that are both above zero. If you only want force and energy, which do not depend on mass, enter any realistic moving mass to get past the check, then ignore the frequency and period lines. Better still, enter the real mass.
Is the stored energy all recoverable when the spring is released?
In an ideal spring, yes. In practice a little is lost to internal friction, air resistance and any rubbing at the ends, and the mass overshoots and oscillates rather than stopping cleanly. If the spring was pushed past its elastic limit, it takes a permanent set and returns less. Treat the 8.33 J figure as the upper bound.
Can I use this for a torsion spring or a leaf spring?
A leaf spring that deflects roughly linearly can be described by an equivalent k in N/m, and the page then works. A torsion spring is rated in torque per angle, not force per distance, and its energy and frequency use angular quantities and a moment of inertia. Those need a different formula than this page uses.
Three answers from one 850 N/m spring
This page takes three inputs and returns three separate pieces of physics. The default spring has a stiffness of 850 N/m, it is pushed or pulled 0.14 m from its rest length, and a 2.5 kg mass hangs on it.
The headline is the restoring force, F = kx. That is 850 × 0.14, or 119 N. The spring pushes back with 119 newtons, a little more than the weight of a 12 kg object.
The first supporting line is the stored elastic potential energy, U = ½kx². Square 0.14 to get 0.0196, multiply by 850 and halve it: 8.33 J. That is the work you did deflecting the spring, and it is what the spring gives back when released.
The last two lines are about vibration. A mass on a spring bounces at a natural frequency f = (1/2π)√(k/m). With 850 N/m and 2.5 kg, divide the stiffness by the mass, take the square root, about 18.44, and dividing by 2π gives 2.93 Hz. The period is the inverse, 0.34 s per full bounce.
Notice that the mass only enters the last two results, and the displacement only enters the first two. The inputs feed different questions, which is useful once you know it and confusing if you do not.
Doubling the deflection: double the force, four times the energy
Force grows in straight proportion to displacement. Energy grows with its square. That difference is the main thing to take away from this page.
Push the default spring twice as far, 0.28 m instead of 0.14, and the force doubles. The stored energy goes from 8.33 J to 33.32 J, four times as much. Go the other way, to just 0.02 m, and the force is 17 N while the energy is only 0.17 J.
This has a practical consequence. The extra work needed to go from 0.14 m to 0.28 m is 33.32 minus 8.33, about 25 J, three times the work it took to reach 0.14 m in the first place. Springs get harder to load the further you go, even though the stiffness never changes. A spring compressor, a bow, a catapult or a garage door spring all behave like this.
If you want the energy between two deflections, run the page at each one and subtract the energy lines. The difference is the work done over that stretch.
The same squared relationship is why small deflections hold so little energy. A spring nudged by a couple of centimetres feels firm in the hand, at 17 N, yet stores barely a sixth of a joule. Energy only becomes large when stiffness and travel are both large.
Stiffness presets: 510, 850 and 1,275 N/m side by side
The page compares the default with a softer and a stiffer spring at the same 0.14 m deflection and 2.5 kg mass.
At 510 N/m the force is 71.4 N, the energy is 5 J, the frequency is 2.27 Hz and the period is 0.44 s. At 1,275 N/m the force rises to 178.5 N, the energy to 12.5 J, the frequency to 3.59 Hz and the period shortens to 0.28 s.
Force and energy both scale in straight proportion to k. The stiffer spring is 1.5 times the default, and so are its 178.5 N and 12.5 J. Frequency does not follow so neatly. It scales with the square root of k, so 1.5 times the stiffness raises the frequency by only about 22%, from 2.93 Hz to 3.59 Hz.
That square root is why tuning a spring system by changing stiffness alone takes big changes. To double the natural frequency you need four times the spring rate. Running the page at four times the default stiffness confirms it: the frequency becomes 5.87 Hz.
Mass changes the bounce, not the force
Change only the attached mass and the force and energy lines do not move. A heavier or lighter mass has no effect on how hard a spring pushes at a given deflection. What changes is how quickly the system oscillates.
Raise the mass from 2.5 kg to 10 kg, four times as much, and the frequency halves to 1.47 Hz with a period of 0.68 s. Cut it to a quarter, 0.625 kg, and the frequency doubles to 5.87 Hz. Frequency goes with one over the square root of mass, so the mass effect mirrors the stiffness effect in reverse.
In a real setup the mass and the deflection are often linked. Hang the 2.5 kg mass on the 850 N/m spring vertically and gravity stretches it by mg/k, about 2.5 × 9.81 / 850, roughly 0.029 m. The page does not compute that static sag for you. If your displacement input is the sag under a hanging load, work it out first and enter it.
There is a neat check here. For a vertical spring, the natural frequency can also be written as (1/2π)√(g/δ), where δ is that static sag. With δ near 0.029 m you get about 2.93 Hz, the same as the page. If you can measure how far a load sags, you can estimate its bounce frequency without knowing k.
Getting the spring rate into N/m
The stiffness field is in newtons per metre. Spring catalogues often quote rates in N/mm, and a rate of 0.85 N/mm is the same as the default 850 N/m. Multiply a N/mm figure by a thousand before entering it.
Displacement is in metres too. A 14 mm deflection is 0.014, not 14. Entering millimetres here makes the force a thousand times too large and the energy a million times too large, and the frequency line will not warn you because it ignores displacement.
If you do not know the rate, measure it. Hang a known weight, measure the extra stretch, and divide the weight in newtons by the stretch in metres. A 2.5 kg mass weighs about 24.5 N, so a stretch of about 0.029 m implies the default stiffness.
The page shows the force as a magnitude. Enter a negative displacement and it still reports a positive force; the minus sign in F = −kx only tells you the force points back toward the rest position.
When a real spring stops obeying F = kx
Hooke's law is a straight-line model. It holds for a coil spring within its working range and for many materials at small strains. Outside that range the answers drift from reality.
Compression springs eventually close up solid, at which point the force rises sharply and the formula no longer applies. Extension springs have an initial tension that must be overcome before they start to stretch. Push any spring past its elastic limit and it takes a permanent set; it will not return to its original length, and the stored energy figure overstates what comes back. Rubber bands, foam and many plastics are not linear at all.
Check the manufacturer's maximum deflection or maximum load before trusting a result. If your displacement is near that limit, treat 119 N style figures as estimates.
What the 2.93 Hz frequency leaves out
The natural frequency formula assumes an ideal system: a massless spring, a point mass, no friction and no damping. Real systems differ in a few predictable ways.
A spring has its own mass, and part of it moves with the load. A common correction is to add about a third of the spring's mass to the attached mass. For a light spring carrying a heavy load the effect is small. For a heavy spring with a small load, the true frequency is noticeably lower than the page says.
Damping, from friction, air or a deliberate damper, makes the oscillation die away and lowers the frequency slightly. Light damping barely moves the number; heavy damping can stop the system oscillating at all.
In vibration work the natural frequency is usually compared with whatever drives the system, such as a motor's running speed. When the two are close, small forces can build into large motions. The page gives you the 2.93 Hz figure to compare; it does not model the driven response, so any isolation or resonance decision needs that comparison made separately.
Damping also explains why a real spring and mass do not bounce forever. Each cycle loses a little energy, so the swing shrinks while the period stays almost the same. If you time a bench test, the period you measure on the fifth bounce should match the first one closely even though the swing is much smaller. If it does not, something nonlinear is going on, such as coils touching or the mass hitting a stop, and the simple 2.93 Hz style prediction will not describe your setup well.
Using the period line for a quick bench test
The period is the easiest output to check by hand. Pull the mass down a little, let go, and time ten full bounces. Divide by ten. For the default spring and mass you should get close to 0.34 s each, so ten bounces take about 3.4 seconds.
If your timed period is longer, the spring is softer than you entered or the effective mass is larger, often because of the spring's own mass. If it is shorter, the reverse. You can rearrange f = (1/2π)√(k/m) to get k = m(2πf)² from a measured frequency, which gives a working spring rate without a force gauge.
Timing ten cycles rather than one spreads your reaction-time error over the whole count, which is why it is the usual classroom method.