SciencePhysics

Spring Constant
calculator.

Find how stiff a spring is from a force and a stretch, or turn k into either one.

How it's worked out

Hooke's law. Pull a spring and it pulls back. Within its straight-line range, the pull grows in step with the stretch. The spring constant k is the force per meter of stretch, in newtons per meter (N/m). OpenStax writes the law with a minus sign, because the spring pulls the opposite way to the stretch. For sizes of forces and stretches, the sign drops out.

F\displaystyle F=kx\displaystyle {}= kxk\displaystyle k=Fx\displaystyle {}= \frac{F}{x}x\displaystyle x=Fk\displaystyle {}= \frac{F}{k}

Here F is the force in newtons, and x is the change in length from the relaxed spring, in meters. Measure x from the free length, not from the end of a ruler or the floor. The tool converts N/mm, lbf/in and other units to N/m first. One pound-force per inch is 175.1268 N/m by NIST's table.

Stored energy. The work done to stretch the spring is the area under the force line, a triangle. It grows with the square of the stretch.

U\displaystyle U=12kx2\displaystyle {}= \frac{1}{2}kx^2

Bouncing. A mass on a spring swings with a period set only by the mass and k, not by how far you pull it. A hanging spring first sags by mg/kmg/k, with g the standard 9.80665 m/s². It then bounces about that new rest point at the same rate as it would lying flat.

T\displaystyle T=2πmk\displaystyle {}= 2\pi\sqrt{\frac{m}{k}}f\displaystyle f=1T\displaystyle {}= \frac{1}{T}

Several springs. End to end (in series), every spring carries the full load and the stretches add, so the reciprocals of the constants add. Side by side (in parallel), the springs share one stretch, so the constants add. Both rules are on LibreTexts.

1kseries\displaystyle \frac{1}{k_{\text{series}}}=1k1+1k2\displaystyle {}= \frac{1}{k_1} + \frac{1}{k_2}
kparallel\displaystyle k_{\text{parallel}}=k1+k2\displaystyle {}= k_1 + k_2

From your own readings. With several loads, the tool fits the best straight line through zero. It multiplies each force by its stretch, adds those up, and divides by the sum of the squared stretches. R² then says how close the readings sit to that line, where 1 is a perfect fit.

k\displaystyle k=∑Fx∑x2\displaystyle {}= \frac{\sum F x}{\sum x^2}

Worked examples

Maya fits a line to five hanging masses

Maya hangs 100 g, then 200 g, and so on up to 500 g from a lab spring. Each 100 g pulls with about 0.98 N. She reads the stretches as 4.1, 8.0, 12.1, 16.2 and 19.9 cm. The best line through zero gives k = 24.42 N/m, with R² = 0.9996.

k\displaystyle k=∑Fx∑x2\displaystyle {}= \frac{\sum F x}{\sum x^2}=24.42 N/m\displaystyle {}= 24.42 \text{ N/m}

An R² that close to 1 says the spring stayed in its straight-line range for every load, and the small scatter is what a ruler read by eye allows. With the 500 g mass bouncing on it, the spring would swing 1.11 times a second, once every 0.899 s.

Open this example in the tool

A coil spring under one corner of a car

A front spring rated 30 N/mm, which is 30,000 N/m, carries 3,500 N, the weight of about 357 kg. It squashes by 11.67 cm and stores 204 J.

x\displaystyle x=Fk\displaystyle {}= \frac{F}{k}=350030000\displaystyle {}= \frac{3500}{30\,000}=0.1167 m\displaystyle {}= 0.1167 \text{ m}

That corner of the car would bounce 1.46 times a second, ignoring the damper and the tire. The sag of a 357 kg load, 11.67 cm, matches the compression above, because 357 kg weighs very nearly 3,500 N.

Open this example in the tool

Two springs, end to end and then side by side

A 100 N/m spring hooked to a 300 N/m spring makes a set of 75 N/m, softer than either. The same two side by side make 400 N/m, stiffer than either.

1k\displaystyle \frac{1}{k}=1100+1300\displaystyle {}= \frac{1}{100} + \frac{1}{300}so\displaystyle \text{so}k\displaystyle k=75 N/m\displaystyle {}= 75 \text{ N/m}

In series, each spring feels the full load, so the 100 N/m spring stretches three times as far as the 300 N/m one. Side by side, both stretch the same amount and the stiffer spring takes three quarters of the load.

Open this example in the tool

Reading your result

What a value of k means. At 500 N/m, 1 cm of stretch needs 5 N. Hanging 1 kg on a spring and seeing it drop 5 cm means k = 196.1 N/m. A pen spring at 0.3 N/mm pushes back with only 2.4 N when you press it 8 mm.

Energy climbs faster than force. Double the stretch of a 500 N/m spring from 5 to 10 cm, and the force doubles from 25 to 50 N. The stored energy goes from 0.625 to 2.5 J, four times as much. This is why a compressed spring held near its limit needs care.

Bounce rate depends on the mass. The spring that 1 kg stretches 5 cm bounces 2.23 times a second with that kilogram on it. Four times the mass halves the rate to 1.11. A bigger pull does not change it, as long as the spring stays straight-line.

Where Hooke's law stops. Stretch a spring past its elastic limit and it stays longer when you let go, and its k changes. Compression springs stop at solid height, when the coils touch. Rubber bands and bungee cords are not straight-line at all. If your readings curve away from the line, k only describes the part you measured.

Common mistakes

  • Using the total length for x. Hooke's law needs the change in length. A 12 cm spring stretched to 15 cm has x = 3 cm, not 15 cm.
  • Mixing centimeters with N/m. A stretch of 5 cm is 0.05 m. Leaving it as 5 gives a k a hundred times too small. Pick the unit beside each box and the tool converts it.
  • Using mass as force. A 200 g mass is not 200 N or 0.2 N. Its weight is the mass in kilograms times 9.80665 m/s², just under 2 N.
  • Adding series springs like parallel ones. End to end, the set is always softer than its softest spring. If your answer is bigger than both, you added k instead of 1/k.
  • Fitting through zero when the spring starts stretched. Some springs have coils pressed together and need a small force before they move. Then the readings make a line that misses zero, and a fit forced through zero is wrong. Start your stretches from the first reading that moves.

Questions people ask

Yes. Each half has half the coils, so the same force stretches it half as far, and its k doubles. A 500 N/m spring cut in two gives two springs of 1,000 N/m each. The material is the same, but each piece is a new, shorter spring.

Sources