Mechanical Engineering · Strength and Stiffness
Spring constant calculator icon showing a coil spring stretched by a force

Spring constant calculator

This spring constant calculator finds k from a measured force and deflection (Hooke’s law), combines springs in series and in parallel, and predicts the rate of a helical compression or extension spring from its wire diameter, coil diameter, number of active coils and wire material.

Hooke’s law holds only in the linear range: keep the deflection well below the point where the coils touch (compression) or the spring takes a permanent set. The coil formula counts active coils only.

Spring constant calculator: Hooke’s law k = F/x

Pick the unknown. Deflection x is measured from the free (unloaded) length.
Used for the k you enter; the result is shown in all three units.

Spring constant calculator for springs in series and in parallel

Series: 1/k = 1/k₁ + 1/k₂ + … Parallel: k = k₁ + k₂ + …
Up to 20 springs. Separate with new lines, spaces or semicolons; use a dot as the decimal mark.
Gives the deflection and how the load or the deflection is shared.

Spring constant calculator for coil springs: k = G d⁴ / (8 D³ n)

Round-wire helical compression or extension spring. D is the mean coil diameter; n counts active coils only.
D = OD − d = ID + d.
A closed-end compression spring with 10 total coils typically has about 8 active coils.

How to use the spring constant calculator

The spring constant calculator has three panels. The first applies Hooke’s law: enter a force and the deflection it causes to get the spring constant k, or enter k to find the force for a given stretch or the stretch for a given force. The second combines two to twenty springs in series and in parallel and, with a load, shows how the deflection and the load are shared. The third works from the geometry of a round-wire helical spring: wire diameter, coil diameter, number of active coils and wire material. Pick SI or US units for each field; “Show the working” lists every step with the numbers substituted, ready for a lab report or homework.

Spring constant formula used by the spring constant calculator: Hooke’s law

For a linear spring the force is proportional to the deflection from the free length:

F = k × x → k = F / x; E = ½ k x²

k is the spring constant (also called the spring rate or stiffness) in N/m, N/mm or lbf/in, and x is the stretch or compression. The restoring force points against the displacement, which is why physics texts write F = −kx; the OpenStax College Physics 2e section on Hooke’s law derives both the law and the stored elastic energy ½kx². In the lab, hang known masses, measure the extension for each and take k as the slope of force against extension; a slope is more reliable than a single reading. The Potential Energy Calculator covers the elastic energy in more detail, and the Force Calculator turns a hanging mass into newtons.

Springs in series and in parallel

Series: 1/k = 1/k₁ + 1/k₂ + …; Parallel: k = k₁ + k₂ + …

In series (end to end) each spring carries the full load and the deflections add, so the combination is softer than the softest spring. Two equal springs in series give k/2. In parallel (side by side, sharing one plate) the springs deflect together and their forces add, so two equal springs give 2k. A nested pair of compression springs, one inside the other, acts in parallel. Note that the rules are the reverse of those for resistors, which add in series. The second panel of the spring constant calculator handles up to 20 springs at once.

Helical spring rate from wire size and coils

For a round-wire helical compression or extension spring the rate follows from torsion of the wire:

k = G d⁴ / (8 D³ n); C = D / d; K_W = (4C − 1)/(4C − 4) + 0.615/C; τ = K_W × 8 F D / (π d³)

G is the shear modulus of the wire, d the wire diameter, D the mean coil diameter (outside diameter minus d) and n the number of active coils. The rate rises with the fourth power of the wire diameter and falls with the cube of the coil diameter, so a 10 % thicker wire makes the spring 46 % stiffer. The spring index C sets how hard the spring is to wind, and the Wahl factor K_W corrects the shear stress for the curvature of the wire. These are the formulas used in spring design texts and by spring makers, for example on the Acxess Spring page on compression spring rate. In a compression spring with closed ends the end coils sit flat and do not deflect, so a spring with 10 total coils typically has about 8 active coils; enter 8 in the spring constant calculator, not 10.

Worked example with the spring constant calculator

Hooke’s law. A force of 50 N stretches a spring by 25 mm. The spring constant is k = 50 N / 0.025 m = 2,000 N/m = 2 N/mm = 11.42 lbf/in, and the stored energy is ½ × 2,000 × 0.025² = 0.625 J. These are the default values of the first panel of the spring constant calculator.

Series and parallel. Springs of 2, 3 and 6 N/mm in series give 1/k = 1/2 + 1/3 + 1/6 = 1, so k = 1 N/mm; under 60 N the stack deflects 60 mm (30, 20 and 10 mm per spring). In parallel they give 11 N/mm and deflect 5.455 mm, carrying 10.91, 16.36 and 32.73 N.

Coil spring. Music wire with G = 11.5 × 10⁶ psi = 79.29 GPa, d = 2 mm, D = 20 mm and 10 active coils: k = 79.29 × 10⁹ × 0.002⁴ / (8 × 0.020³ × 10) = 1,982 N/m = 1.982 N/mm = 11.32 lbf/in. The spring constant calculator also reports the spring index, C = 10, inside the easy manufacturing range, and the Wahl factor is 1.145. A 10 N load deflects the spring 5.045 mm and causes a corrected shear stress of 72.88 MPa.

Shear modulus of spring wire

The material menu of the spring constant calculator uses the shear modulus (modulus of rigidity) values published by Acxess Spring for common spring wires. Values in GPa are converted at 1 Mpsi = 6.895 GPa. Use your wire supplier’s figure when you have it, typed into the custom G field of the spring constant calculator.

Wire materialG (10⁶ psi)G (GPa)Max. service temperature
Music wire (A228), hard-drawn (A227), oil-tempered (A229)11.579.3121 °C (250 °F)
Chrome vanadium (A231)11.579.3218 °C (425 °F)
Chrome silicon (A401)11.579.3246 °C (475 °F)
Stainless 302/304 and 316 (A313)10.068.9288 °C (550 °F)
Stainless 17-7 PH11.075.8343 °C (650 °F)
Phosphor bronze A (B159)6.2543.194 °C (200 °F)
Beryllium copper (B197)7.048.3204 °C (400 °F)
Monel 400 and K 5009.565.5232 to 288 °C
Inconel X-75012.082.7399 to 593 °C

Practical uses

Students use the first panel of the spring constant calculator for Hooke’s law labs and for the spring in oscillation problems, where the period of a mass on a spring is 2π√(m/k). Makers and technicians use the coil panel of the spring constant calculator to check a replacement spring before ordering it: measure the wire with calipers, measure the outside diameter, count the coils and compare the predicted rate with the catalog rate. Designers use series and parallel combinations to get a rate that no stock spring offers, or a nested pair to fit more stiffness into a small bore. For the stress in a straight bar or wire rather than a coil, use the Stress and Strain Calculator.

Common mistakes

Using the outside diameter as D. The formula needs the mean diameter; select OD or ID in the menu and the spring constant calculator converts it. With d = 2 mm, treating a 20 mm OD as the mean diameter overstates D by 11 % and understates k by 27 %. Counting total coils. Inactive end coils do not deflect; counting them makes the predicted rate too low. Mixing millimeters and meters. k = 50 N / 25 mm is 2 N/mm, not 2 N/m; the spring constant calculator converts every unit for you. Measuring x from the wrong point. Deflection is measured from the free length, not from the length under an initial load; if you only have two loaded points, use k = ΔF/Δx. Ignoring initial tension. Close-wound extension springs need some force before they start to open, so F = kx only applies above that force. Adding series springs like resistors. Springs in series combine like resistors in parallel, and the other way round.

Related calculators

Beyond the spring constant calculator: for torque and lever arms, use the Torque Calculator; all mechanical tools are listed on the Mechanical Engineering Calculators hub.

Frequently asked questions

How do you calculate the spring constant?

Divide the force by the deflection it causes: k = F/x. A spring that stretches 25 mm under 50 N has k = 50/0.025 = 2,000 N/m, or 2 N/mm. For better accuracy, measure several loads and take the slope of force against deflection.

What is the unit of the spring constant?

Newtons per meter (N/m) in SI, the unit this spring constant calculator works in internally; spring catalogs often use N/mm (1 N/mm = 1,000 N/m) or pounds-force per inch (1 lbf/in = 175.1 N/m).

How do springs in series and parallel combine?

In series, add the reciprocals: 1/k = 1/k₁ + 1/k₂. In parallel, add the constants: k = k₁ + k₂. The second panel of the spring constant calculator does both. Two identical springs give half the stiffness in series and twice the stiffness in parallel.

How do I find the spring rate from the wire size?

Use k = G d⁴ / (8 D³ n) with the shear modulus G of the wire, the wire diameter d, the mean coil diameter D and the number of active coils n. The spring constant calculator does this in its third panel and adds the spring index and the stress for a given load.

Does cutting a spring make it stiffer?

Yes. The rate is inversely proportional to the number of active coils, so cutting a spring from 10 to 8 active coils raises k by 25 %. It also lowers the solid height and raises the stress at a given deflection.

Is this spring constant calculator free?

Yes. It runs in your browser, needs no sign-up and does not store or send the values you enter.