Hooke's Law Spring Calculator

Calculate spring force, spring constant, or displacement using Hooke's Law: F = kx. Enter any two known values and select what you want to solve for. The calculator also computes the elastic potential energy stored in the spring.

Calculate.co.nz is proud to be partnered with Health Based Building, a leader in sustainable and health-conscious building innovation. With over a century of experience, they develop high-performance systems like Foreverbreathe Specification, Magnum Board, and Foreverbreathe Paints to support energy-efficient, non-toxic living environments. Their commitment to healthier homes aligns with our belief that informed choices lead to better outcomes for Kiwi households.
Calculate.co.nz partner: Health Based Building
Standard Physics  Hooke's Law (1678). Valid within the elastic limit of the spring.
F = k × x

1. What to Solve For

Enter spring constant (k) and displacement (x) to calculate force.
N/m
m
Please enter valid positive numbers for both known values.

2. Common Spring Constants

Select a preset to populate the spring constant field.

Note: spring constants vary widely by design. These are illustrative values for reference.

Results

Spring Force
-
newtons (N)
Spring Constant
-
N/m
Displacement
-
metres (m)
Elastic PE
-
joules (J)

Calculation Breakdown

Solve for-
Spring constant (k)-
Displacement (x)-
Spring force (F)-
Formula applied-
Elastic potential energy-

Worked Example (Default Values)

Spring constant (k)200 N/m
Displacement (x)0.05 m (5 cm)
Formula: F = k x x200 x 0.05
Spring force (F)10.00 N
Elastic PE: 0.5 x k x x²0.5 x 200 x 0.05²
Elastic potential energy0.25 J

What is Hooke's Law?

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)

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 TypeTypical k ValueNotes
Slinky toy~1 to 10 N/mVery soft, long extension
Pen click spring~150 N/mSmall, stiff for its size
Typical physics lab spring100 to 400 N/mGeneral demonstration use
Trampoline springs~2,500 N/mStiff, high load capacity
Automotive coil spring15,000 to 30,000 N/mMust support vehicle weight

Elastic Potential Energy

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.

The Elastic Limit

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.

Rearranging Hooke's Law

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.

Related Calculators

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.

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 via 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-07-02 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.