Spring elastic energy:
formula and worked example
A spring stores energy as it is stretched or compressed, and the amount climbs with the square of the displacement.
Calcylator Editorial Team
Updated · 4 min read
What stored spring energy represents
When you compress or stretch a spring, the work you do is stored as elastic potential energy. Release it and that energy comes back as motion, which is how a toy launcher, a pen click, a door closer or a vehicle suspension turns stored energy into action.
The number answers a practical question: how much energy is available to throw a projectile, absorb an impact or hold in reserve? Knowing the joules lets you compare a spring with other energy sources such as falling weights or batteries.
Formula and the meaning of each input
- spring_constant:
- Spring constant
- extension:
- Extension
- Spring constant: the stiffness in newtons per metre. A higher value means a stiffer spring.
- Extension: the distance stretched or compressed from the natural length, in metres. It is not the total length of the spring.
The half in the formula appears because force rises steadily from zero as the spring is stretched, so the average force during the stretch is half of the final force. Energy equals average force times distance.
The formula holds as long as the spring obeys Hooke's law, meaning the force is proportional to extension. Past the elastic limit the spring deforms permanently and the relationship no longer applies.
Stretching a 500 N/m spring by 8 cm
Spring constant
500
Extension
0.08
Spring elastic energy
1.6 J
A spring of constant 500 N/m stretched 0.08 m (8 cm) stores 1.6 J. Illustrative arithmetic for an ideal spring.
- Convert the extension: 8 cm = 0.08 m.
- Square it: 0.08 × 0.08 = 0.0064 m².
- Multiply by the spring constant: 500 × 0.0064 = 3.2.
- Take half: 0.5 × 3.2 = 1.6 J.
Check by force: at full stretch the force is 500 × 0.08 = 40 N. Average force is 20 N over 0.08 m, giving 20 × 0.08 = 1.6 J, in agreement.
What 1.6 joules means in practice
The value is small. It is roughly the energy needed to lift a 1 kg object by 16 cm. For many mechanisms that is sufficient: a small spring-loaded latch uses a fraction of a joule.
- Release into motion: with no losses, 1.6 J would give a 0.2 kg mass a speed of about 4 m/s.
- Energy in a compressed spring is the same as when stretched by the same amount.
- Real springs lose a little to heat, internal friction and sound, so delivered energy is less.
Treat the figure as the maximum available. Whatever is attached, friction and the spring's own mass reduce what you actually receive.
How stiffness and extension push the number
| Scenario | Spring constant | Calculated result |
|---|---|---|
| Original assumptions | 500 | 1.6 J |
| Spring constant increased by 10% | 550 | 1.76 J |
A spring that is 10% stiffer, 550 N/m rather than 500, stores 1.76 J at the same extension, exactly 10% more. Stiffness acts linearly.
Extension is the far stronger lever. Raise the stretch by 10% to 0.088 m and the energy rises by 21%, since 1.1 squared is 1.21. Doubling the stretch gives 6.4 J, four times as much, while the force needed only doubles.
Typical errors with spring energy
- Using force times extension without the one half, which gives 3.2 J here.
- Forgetting to square the extension, or squaring after multiplying.
- Entering extension in centimetres into a formula calibrated for metres, which makes the answer 10,000 times too big.
- Measuring from the stretched length instead of the natural length.
Choosing and checking a spring
To size a spring for an energy budget, rearrange for extension: x = √(2E ÷ k). For 1.6 J and 500 N/m this gives 0.08 m. Then confirm the spring can reach that deflection without exceeding its safe working range.
Remember that two springs side by side add their constants, while two in a chain are softer than either alone. Compute the combined constant first, then the energy.
Springs are compact stores only for small amounts of energy. Next to a battery, 1.6 J is minute, so springs suit short, repeated bursts such as latches, dampers and launchers rather than long-duration supply. Their strength is that the energy returns almost instantly and can be released many thousands of times.
Common questions
Why is there a one half in the spring energy formula?
The force increases linearly from zero to its maximum as the spring stretches, so the average force is half of the final value. Multiply the average force by distance and you get one half of k times x squared.
Does compressing a spring store the same energy as stretching it?
Yes, for an ideal spring. The formula uses the square of the displacement, so direction does not matter. A spring compressed by 0.08 m stores the same 1.6 J as one stretched by the same amount.
How is spring energy related to Hooke's law?
Hooke's law gives the force, F = kx. Energy is the work done against that force while the spring is deformed, which comes to one half of k times x squared. Both need the same stiffness constant.
What happens if I stretch a spring too far?
Past its elastic limit it deforms permanently and no longer returns to its original length. The formula then overestimates the energy that can be recovered, and the spring may be ruined.
Can I find extension if I know the energy?
Yes. Rearrange to x = √(2E ÷ k). For 1.6 J and 500 N/m the square root of 0.0064 gives 0.08 m. Make sure the result is within the spring's rated travel.
Was this guide helpful?
Continue reading
View all blogsSpring force Hooke law: formula and worked example
Use Hooke's law, force = spring constant × extension, with a checked 10 N example, cm-to-metre conversion and the elastic limit that ends its validity.
4 min read
Torque from perpendicular force: formula and worked example
Calculate torque as force × lever arm, with a checked 40 N·m example, the sine correction for angled pushes and how a longer spanner cuts the effort.
4 min read
Angular velocity from RPM: formula and worked example
Convert RPM to angular velocity in rad/s with rpm × 2π ÷ 60, including a checked 1,800 rpm example and how to get rim speed from the result.
4 min read




