This calculator uses Hooke's Law, F = kx, to solve for spring force, spring constant, or displacement, whichever value you need. Physics students, hobbyists and anyone working with springs use it to check homework or size a spring for a project. Choose what you want to solve for from the dropdown: spring force (F), spring constant (k), or displacement (x). Enter the other two known values and the calculator fills in the missing one instantly, along with the elastic potential energy stored in the spring. If you do not know a spring's constant, use the preset list of common spring types, from a soft slinky at around 10 N/m to a stiff automotive coil spring at around 25,000 N/m, for a realistic starting figure. The results panel shows your main answer alongside the spring constant, displacement and elastic potential energy in joules, and a calculation breakdown shows exactly how each figure was derived using F = kx and E = 0.5kx^2. A worked example using the default values, a 200 N/m spring stretched 0.05 m, shows the maths in action before you try your own numbers. Remember that Hooke's Law only holds within a spring's elastic limit; stretch or compress it beyond that point and the force-displacement relationship stops being linear, so treat results for extreme displacements as indicative only.
Select a preset to populate the spring constant field.
Note: spring constants vary widely by design. These are illustrative values for reference.
Hooke's Law, named after the English scientist Robert Hooke who published it in 1678, describes the behaviour of elastic materials under deformation. It states that the force a spring exerts is directly proportional to the distance it is displaced from its natural (rest) position. The relationship is written as:
F = k × x
Where:
The force F is the restoring force that acts in the opposite direction to the displacement. When you stretch a spring, it pulls back; when you compress it, it pushes back. This is why Hooke's Law is sometimes written as F = -kx, with the negative sign indicating the opposing direction. For magnitude calculations (how strong is the spring force?), you use F = kx.
The spring constant k describes how stiff a spring is. A high k value means the spring is stiff and requires a large force to stretch it a small amount. A low k value means the spring is soft and stretches easily with a small force.
| Spring Type | Typical k Value | Notes |
|---|---|---|
| Slinky toy | ~1 to 10 N/m | Very soft, long extension |
| Pen click spring | ~150 N/m | Small, stiff for its size |
| Typical physics lab spring | 100 to 400 N/m | General demonstration use |
| Trampoline springs | ~2,500 N/m | Stiff, high load capacity |
| Automotive coil spring | 15,000 to 30,000 N/m | Must support vehicle weight |
When a spring is stretched or compressed, it stores energy. This stored energy is called elastic potential energy (also called spring potential energy) and is given by:
E = 0.5 × k × x²
The energy is in joules (J). Notice that energy depends on the square of displacement, so doubling the stretch quadruples the stored energy. This is why compressed springs can release energy quickly and powerfully, as in spring-loaded mechanisms, toys, and shock absorbers.
Hooke's Law holds only within the elastic limit of a spring. If you stretch a spring beyond this point, the spring deforms permanently and no longer returns to its original length. The relationship between force and displacement becomes non-linear. In practical applications, springs are always designed to operate well within their elastic limit to ensure reliable, repeatable behaviour.
You can rearrange the formula to solve for any of the three variables:
This calculator handles all three arrangements. Select what you want to solve for, enter the other two values, and the result updates instantly.
Sources and method: Hooke, R. (1678). De Potentia Restitutiva. The formula F = kx and elastic potential energy E = 0.5kx² are standard results from classical mechanics. Spring constant examples are illustrative only; actual values depend on spring geometry and material.
This calculator provides results based on ideal Hooke's Law behaviour within the elastic limit. Real springs may deviate from this model when subjected to high loads, temperature extremes, or fatigue. For engineering applications, consult manufacturer specifications and appropriate standards.
Hooke's Law states that the force exerted by a spring is proportional to the distance it is stretched or compressed from its natural (equilibrium) length. The formula is F = kx, where F is the restoring force in newtons (N), k is the spring constant in newtons per metre (N/m), and x is the displacement from the natural length in metres (m). The law applies as long as the spring is not stretched beyond its elastic limit.
Rearranging Hooke's Law gives k = F / x. To measure a spring's constant experimentally, hang a known mass on the spring (so F = mg, where m is mass in kg and g = 9.81 m/s^2) and measure the extension x in metres. For example, a 1 kg mass creates a force of 9.81 N. If the spring extends 0.05 m (5 cm), the spring constant is k = 9.81 / 0.05 = 196.2 N/m. Stiffer springs have higher k values.
When a spring is stretched or compressed, it stores energy called elastic potential energy. The formula is E = 0.5 x k x x^2, where E is in joules (J), k is the spring constant (N/m), and x is the displacement (m). For example, a spring with k = 200 N/m compressed by 0.05 m stores E = 0.5 x 200 x 0.05^2 = 0.25 J. This energy is released when the spring returns to its natural length.
If you've found a bug, or would like to contact us, or learn more about James Graham and Calculate.co.nz.
Calculate.co.nz is partnered with Interest.co.nz for New Zealand's highest quality calculators and financial analysis.
Calculate.co.nz is the sister site of CalculatorHub.com, the world's largest calculator website by tool count.
All calculators and tools are provided for educational and indicative purposes only and do not constitute financial advice.
Calculate.co.nz is proudly part of the Realtor.co.nz group, New Zealand's leading property transaction literacy platform, helping Kiwis understand the home buying and selling process from start to finish. Whether you're a first home buyer navigating your first property purchase, an investor evaluating your next acquisition, or a homeowner planning to sell, Realtor.co.nz provides clear, independent, and trustworthy guidance on every step of the New Zealand property transaction journey.
Calculate.co.nz is also partnered with Health Based Building and Premium Homes to promote informed choices that lead to better long-term outcomes for Kiwi households.
Calculate.co.nz is hosted in Auckland by SiteHost New Zealand.
All content on this website, including calculators, tools, source code, and design, is protected under the Copyright Act 1994 (New Zealand). No part of this site may be reproduced, copied, distributed, stored, or used in any form without prior written permission from the owner.
About & trust: Why Calculate is NZ's most comprehensive · By the Numbers · How we compare · Editorial standards · How we keep data current · NZ finance glossary · Research & data · Financial literacy NZ · About · Privacy policy · Terms of use
Reviewed and maintained. Last reviewed 2026-08-15 and checked on a twice-monthly cycle against IRD, RBNZ and Stats NZ. How we keep data current.
© 2026 Calculate.co.nz. All rights reserved. Building free NZ calculators since 2011.