Uni-Sine
Physics
+25XP
PhysicsMechanics

Hooke's law calculator for springs

Hooke's law says the force needed to stretch or squash a spring is proportional to how far it is stretched: F = kx, where k is the spring constant in N/m and x is the extension in metres. A spring with k = 250 N/m stretched by 0.08 m needs a force of 250 × 0.08 = 20 N. This Hooke's law calculator finds the force, the spring constant or the extension from the other two, the elastic energy stored, and the combined spring constant of two springs in series or in parallel.

Try it

Hooke's Law Calculator

Find the spring constant, force and extension

Go to its page

How to use the Hooke's law calculator

  1. Open the Hooke's Law Calculator. Under Calculate, choose Hooke's law, Energy or Springs, then what to find.
  2. Type the values you know. Pick units under the inputs: force in N or kN, extension in mm, cm or m, and the spring constant in N/m, N/cm, N/mm or kN/m.
  3. Read the answer, the working and the energy stored at that extension. The diagram draws the spring at its natural length and stretched.
  4. For two springs, choose Series or Parallel, type both spring constants, and add a load if you want the pair's extension.
  5. For practice, press Random problem.

Hooke's law and the spring constant

F = kx \qquad k = \frac{F}{x} \qquad x = \frac{F}{k}F is the force in N, k the spring constant in N/m, x the extension in m

The spring constant measures stiffness: a stiff spring has a big k and stretches little. Hooke's law only holds up to the limit of proportionality. Beyond it the force-extension graph curves, and past the elastic limit the spring no longer returns to its original length.

F = 40 x
0.010.020.030.040.050.060.070.080.090.10.110.12123450.05 m: 2 N0.10 m: 4 N
Drag to pan, scroll to zoom. x from 0 to 0.12, y from -0.96 to 5.76.

Here x is the extension in metres and y is the force in newtons. The straight line through the origin is Hooke's law, its gradient is the spring constant, and the area under it is the energy stored. The calculator draws the spring itself rather than this graph, plus an energy against extension curve in its Energy modes.

Elastic potential energy

E = \frac{1}{2}kx^2 = \frac{1}{2}Fx

The energy stored is the area of the triangle under the force-extension line. The elastic potential energy guide covers it in more depth, and the spring constant equation guide covers k.

Worked examples you can check in the calculator

Example 1: the force on a spring

k = 250 N/m, x = 0.08 m. Choose Force: F = 250 × 0.08 = 20 N. The calculator also shows the energy stored, ½ × 250 × 0.08² = 0.8 J.

Example 2: the spring constant, with centimetres

A 6 N weight stretches a spring by 4 cm. Choose Spring constant, set the extension unit to cm and type 6 and 4. The calculator converts 4 cm to 0.04 m: k = 6 ÷ 0.04 = 150 N/m, storing 0.12 J.

Example 3: the extension under a mass

A 1 kg mass hangs on a spring with k = 490 N/m. Its weight is 1 × 9.81 = 9.81 N. Choose Extension: x = 9.81 ÷ 490 = 0.0200 m, or 2.00 cm.

Example 4: energy stored

A stiff spring, k = 800 N/m, is stretched 0.15 m. Choose Energy, then From k and x: E = ½ × 800 × 0.15² = 9 J, with a force of 120 N at that extension. Doubling the extension would store four times the energy, because x is squared.

Example 5: two springs in series and in parallel

Springs of 200 N/m and 300 N/m carry a 12 N load. Joined end to end (Series), 1/k = 1/200 + 1/300, so k = 200 × 300 ÷ 500 = 120 N/m, and the pair stretches 12 ÷ 120 = 0.1 m. Side by side (Parallel), k = 200 + 300 = 500 N/m, and they stretch only 0.024 m. Series springs are softer than either one; parallel springs are stiffer.

Finding k from an experiment

In the classic experiment you hang weights on a spring and measure each extension. Here are some results:

Load (N)012345
Extension (cm)02.55.07.510.013.5

Up to 4 N each newton adds 2.5 cm, so the line is straight and k = 1 ÷ 0.025 = 40 N/m, the gradient of the force-extension graph. At 5 N the extension is 13.5 cm instead of 12.5 cm: the spring has passed its limit of proportionality. The calculator doesn't fit a line to data; take the gradient from your graph, then use k in the calculator.

practice
Pick an answer, then check it.
A spring stretches 3 cm under a 1.5 N load. What is its spring constant?

Common mistakes

  • Using the length instead of the extension. x is how much longer the spring got, not its total length.
  • Centimetres in F = kx. In N/m, x must be in metres. Set the unit in the calculator, or divide by 100.
  • Using mass for force. Multiply kilograms by 9.81 to get the weight in newtons.
  • Applying it past the limit of proportionality. F = kx only holds while the graph is straight.
  • Mixing up series and parallel. Series: add reciprocals. Parallel: add the constants.

Common questions

What is Hooke's law?
The force on a spring is proportional to its extension, F = kx, up to the limit of proportionality.
How do you calculate the spring constant?
Divide the force by the extension in metres: k = F ÷ x. 6 N stretching a spring 0.04 m gives k = 150 N/m.
How do you calculate the energy stored in a spring?
E = ½kx², or ½Fx. A 800 N/m spring stretched 0.15 m stores 9 J.
What happens to springs in series and parallel?
In series, 1/k = 1/k₁ + 1/k₂, so the pair is softer. In parallel, k = k₁ + k₂, so it is stiffer.
Does Hooke's law work for compression?
Yes, for a spring being squashed, with x as the compression, as long as it stays within its limit.

Revision cards

Read the front, say your answer, then flip to check.

Where to go next

  • Solve it

    Hooke's Law Calculator

    Find the spring constant, force and extension

    Open the tool
  • Learn it

    Laws of Motion

    Newton's laws, momentum, and the forces that shape our world

    Start the course
  • Test it

    High School Physics

    A new exam-style paper every day, with instant marking and a mark scheme

    Start today's paper
Read next
Physics · MechanicsSpring constant equation: k = F/e and Hooke's lawThe spring constant equation k = F/e from Hooke's law, units, finding k from a force-extension graph, the limit of proportionality, examples and practice.