Spring Constant Calculator

Calculate spring constant (k), force, displacement, energy, and frequency for compression, extension, and torsion springs using Hooke's Law.

Newtons
meters
kg (for frequency)
Calculate k from Spring Geometry
mm
mm
Spring Constant (k)
2,500.00 N/m
14.28 lbs/in
Force (F)
50.00 N
11.24 lbf
Displacement (x)
0.0200 m
20.00 mm | 0.787 in
Elastic PE
0.5000 J
Energy stored = ½kx²
Natural Frequency
7.96 Hz
Period: 0.1257 s
Angular Frequency
50.00 rad/s
ω = 2πf
k from Geometry
10,036.4 N/m
Calculated from wire/coil dimensions

Force vs. Displacement

Displacement (mm)Force (N)Energy (J)
5.0012.500.0313
10.0025.000.1250
15.0037.500.2813
20.0050.000.5000
30.0075.001.1250
40.00100.002.0000
60.00150.004.5000
100.00250.0012.5000

Energy vs. Displacement

5.0 mm
0.0313 J
10.0 mm
0.1250 J
15.0 mm
0.2813 J
20.0 mm
0.5000 J
25.0 mm
0.7813 J
30.0 mm
1.1250 J
40.0 mm
2.0000 J
Planning notes, formulas, and examples

About the Spring Constant Calculator

The spring constant (k) defines how stiff a spring is — the force required to stretch or compress it by one unit of distance. Hooke's Law (F = kx) is the foundational equation for spring mechanics, applicable to everything from garage door springs to MEMS devices. The Spring Constant Calculator computes spring rate, force, displacement, stored energy, and natural frequency for any spring configuration.

Understanding spring behavior is essential in mechanical engineering, automotive suspension design, product design, and physics education. This calculator handles three solve modes: find k from force and displacement, find force from k and displacement, or find displacement from k and force. It also computes the elastic potential energy stored in the spring and its natural frequency when attached to a mass.

Beyond basic Hooke's Law, the tool estimates spring constant from physical dimensions (wire diameter, coil diameter, number of active coils, and material modulus) for helical compression and extension springs. This lets you design springs from scratch or verify vendor specifications.

When This Page Helps

Use this calculator when you want to move between force, deflection, and spring rate quickly or check whether a proposed spring geometry is in the right range. It is useful for machine design, suspension concepts, and physics problems where stiffness and natural frequency both matter, especially when you are comparing design options before ordering hardware.

How to Use the Inputs

  1. Select what to solve for: spring constant, force, or displacement
  2. Enter the two known values from Hooke's Law (F, k, or x)
  3. Optionally enter spring dimensions to calculate k from geometry
  4. Input the attached mass for natural frequency calculation
  5. Review force, energy, frequency, and comparison tables
  6. Use presets for common spring types and applications
Formula used
Hooke's Law: F = k × x. Spring Constant from geometry: k = G × d⁴ / (8 × D³ × N). Elastic PE = ½ × k × x². Natural Frequency: f = (1/2π) × √(k/m). Where G = shear modulus, d = wire diameter, D = coil diameter, N = active coils.

Example Calculation

Result: k = 2,500 N/m, PE = 0.5 J, f = 7.96 Hz (with 1 kg mass)

A force of 50 N producing 0.02 m displacement gives k = 2,500 N/m. At this displacement, 0.5 J of elastic potential energy is stored. Attached to a 1 kg mass, the natural frequency is 7.96 Hz.

Tips & Best Practices

  • Stay below 80% of maximum deflection to maintain the elastic range
  • Wire diameter has the strongest effect on spring rate (fourth power)
  • Account for dead coils when counting active coils — typically subtract 2 for ground ends
  • For vibration isolation, target a natural frequency 3-5× lower than the excitation frequency
  • Series springs: 1/k_total = 1/k₁ + 1/k₂. Parallel springs: k_total = k₁ + k₂
  • Temperature affects spring rate — hot springs are softer than cold springs

Hooke's Law Fundamentals

Robert Hooke discovered in 1660 that the force needed to extend or compress a spring is directly proportional to its displacement from the natural length. This linear relationship defines the elastic region of spring behavior. The proportionality constant k (spring constant or spring rate) quantifies the stiffness and has units of force per unit length (N/m or lbs/in).

The elastic potential energy stored in a displaced spring equals ½kx², creating a parabolic energy curve. This stored energy can do work when released — the basis for everything from watches to catapults.

Spring Design from Geometry

For helical coil springs, the spring constant can be calculated from physical dimensions: k = Gd⁴/(8D³N), where G is the material shear modulus, d is wire diameter, D is mean coil diameter, and N is the number of active coils. This equation reveals that wire diameter dominates — doubling wire diameter increases stiffness 16-fold, while doubling coil diameter decreases it 8-fold.

Design constraints include maximum shear stress (which limits force), solid height (which limits deflection), and buckling stability (which limits free length to diameter ratio). Proper spring design balances all these constraints.

Springs in Combination

Springs can be combined in series (end-to-end, reducing total k) or parallel (side-by-side, increasing total k). Series combination uses the harmonic sum: 1/k_total = Σ(1/kᵢ). Parallel combination uses simple addition: k_total = Σkᵢ. These rules apply identically to electrical capacitors and resistors, reflecting the deep mathematical similarity between mechanical and electrical systems.

Sources & Methodology

Last updated:

Frequently Asked Questions

  • Soft springs (toys, pens): 1-100 N/m. Medium springs (automotive): 10,000-50,000 N/m. Stiff springs (industrial): 100,000+ N/m. Automotive coil springs are typically 20,000-40,000 N/m.