Hooke's Law Calculator

Hooke's law is one of the simplest and most widely applicable laws in physics: the force a spring exerts is directly proportional to how far it has been stretched or compressed from its natural length. Written as F = kx, the force F in newtons equals the spring constant k (in N/m) times the displacement x in metres. The spring constant k measures stiffness: a large k means a stiff spring that requires a large force for a small stretch, while a small k describes a soft spring that extends easily. The law applies not just to coiled metal springs but to any elastic material within its elastic limit, including rubber bands, suspension systems, elastic tendons, and even the bonds between atoms. This calculator solves Hooke's law in all three directions: find the force from k and x, find the spring constant from force and displacement, or find the displacement from force and spring constant. It also computes the elastic potential energy stored in the spring as PE = 0.5kx2. This quantity grows with the square of the displacement, so doubling the extension quadruples the stored energy, which is why over-stretched springs and bungee cords release so much energy on the return. The default example uses k = 200 N/m and x = 0.05 m, giving a restoring force of 10 N and a stored energy of 0.25 J. Results update as you type. Use this calculator for physics homework, for spring selection in engineering design, for understanding suspension systems, or to explore elastic potential energy in oscillating systems.

Calculate.co.nz is proud to be partnered with Premium Homes, a recognised leader in eco-friendly, sustainable, and energy-efficient homebuilding. With a dedicated team and award-winning experience, they create homes that prioritise health, comfort, and long-term performance. Their founders, Andrew and Kelly, set out to raise the standard of residential construction in New Zealand by combining practical building expertise with a clear commitment to doing things better for homeowners.
Calculate.co.nz partner: Premium Homes
N/m
m
10.00 N
spring force (restoring)
Elastic PE stored0.25 J
Displacement in cm5.00 cm
Force in kgf1.02 kgf

F = kx. Elastic PE = 0.5kx². Valid within the elastic limit. Results in SI units, rounded for display.

How it works

Hooke's law: F = kx. Spring constant: k = F/x. Displacement: x = F/k. Elastic potential energy: PE = 0.5kx². Because PE involves x squared, it is more sensitive to displacement than force is. The spring constant in N/m is the slope of the force-displacement graph and can be measured experimentally by dividing a known applied force by the resulting extension.

Worked example

A spring with constant k = 200 N/m is stretched x = 0.05 m (5 cm). Spring force = 200 times 0.05 = 10.00 N. Elastic PE = 0.5 times 200 times 0.05 squared = 0.5 times 200 times 0.0025 = 0.25 J. These match the default values pre-filled above.

Related calculators

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-07-27 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.