Toolvito

Works on this device

Spring Constant Calculator

The spring constant tells how stiff a spring is: the force that changes its length by one unit. Enter a force and a stretch, a hanging mass, a period or a set of measured points, and get the spring constant with the formula and your numbers.

Enter your values

The force on a spring and the change of its length. Choose the value you want to find, then enter the other two.

Your values

The pull or the push along the spring.

How much longer or shorter the spring is than with no load. It is not the full length of the spring.

Your values are worked out in this browser. They are not sent to a server.

Your result will show here

Fill in the values, then choose Calculate.

How to find the spring constant

  1. Choose what you want to calculate. The first choice uses a force and the stretch that it makes.
  2. Use from a hanging mass when you hung a known mass on the spring, and from the period when you timed a mass that swings on it.
  3. Use from measured loads and lengths when you have several points from an experiment. The page puts the best straight line through them.
  4. Enter the values and pick a unit for each one. The stretch is the change of length, not the full length of the spring.
  5. Choose Calculate. You get the spring constant in N/m and N/mm, and you can change the unit of the result to lbf/in.

The formulas

  • Hooke's law: F = k × x, so k = F ÷ x. F is the force and x the stretch or compression.
  • Hanging mass: k = m × g ÷ x. With two loads, k = Δm × g ÷ ΔL.
  • Mass on a spring: T = 2π × √(m ÷ k), so k = 4π² × m ÷ T².
  • Springs in series: 1 ÷ k = 1 ÷ k₁ + 1 ÷ k₂ + … Springs in parallel: k = k₁ + k₂ + …
  • Coil spring of round wire: k = G × d⁴ ÷ (8 × D³ × n). G is the shear modulus, d the wire diameter, D the mean coil diameter and n the number of active coils.
  • Torsion spring: κ = τ ÷ θ, the torque for each radian of twist.

Worked examples

A force of 50 N stretches a spring by 10 cm, which is 0.1 m. k = 50 ÷ 0.1 = 500 N/m, or 0.5 N/mm.

A mass of 500 g stretches a spring by 10 cm. Its weight is 0.5 × 9.80665 = 4.90333 N, so k = 4.90333 ÷ 0.1 = 49.0333 N/m.

A spring is 29.8 cm long with 500 g and 35.7 cm long with 800 g. k = 0.3 × 9.80665 ÷ 0.059 = 49.8643 N/m.

A mass of 500 g on a spring makes one full swing in 0.2 s. k = 4π² × 0.5 ÷ 0.2² = 493.48 N/m.

Two springs of 200 N/m and 300 N/m in series act as one spring of 120 N/m. In parallel they act as one spring of 500 N/m.

A coil spring has a wire of 2 mm, a mean coil diameter of 20 mm and 10 active coils. With a shear modulus of 79.3 GPa, k = 79.3 × 10⁹ × 0.002⁴ ÷ (8 × 0.02³ × 10) = 1,982.5 N/m, or 1.9825 N/mm.

Springs in series and in parallel

In series the springs hang end to end. Each one carries the full force and each one stretches, so the set is softer than its softest spring.

In parallel the springs sit side by side and share the force. They stretch by the same amount, so the set is stiffer than its stiffest spring.

For a system with both kinds of joins, find the equivalent spring constant of one group first. Then enter it as one spring of the next group.

Limits you should know

  • Hooke's law holds only while the spring is not stretched or pressed too far. A spring that is pulled past its limit stays longer, and the result is then wrong.
  • Some extension springs are wound tight and need a first pull before they start to stretch. Use the two-load method or the measured points for such a spring.
  • The period method leaves out the mass of the spring itself. For a heavy spring, add one third of the mass of the spring to the load.
  • The coil spring formula gives the rate only. It does not check the stress in the wire, buckling, the solid height or fatigue. The shear modulus is the value you enter. This is not a design or safety check and not professional advice.
  • A torsion spring constant from the wire and the coils of the spring is not worked out here, and neither is a constant-force spring.
  • For the energy stored in a spring, use the Potential Energy Calculator.

Related tools