Hooke's Law Force Calculator
Enter the spring constant and displacement to find the restoring force and stored energy.
Result
How it is calculated
Enter the spring constant k in newtons per metre (N/m) and the displacement x in centimetres, measured from the spring's natural length. The tool first converts the displacement to metres, x(m) = x(cm) / 100, then applies F = k × x for the restoring force in newtons and E = ½ × k × x² for the elastic energy in joules. The converted displacement is also displayed. The same numbers apply whether the spring is stretched or compressed, so enter the size of the change only; zero or negative inputs give no result. The law holds only within the spring's elastic range. A spring pushed past its limit stays deformed and this linear formula no longer describes it.
Worked example
A spring with k = 250 N/m is stretched 8 cm. First convert: 8 / 100 = 0.0800 m. Force: 250 × 0.08 = 20.00 N. Energy: ½ × 250 × 0.08² = 0.5 × 250 × 0.0064 = 0.8000 J. The tool shows a restoring force of 20.00 N, stored energy of 0.8000 J and a displacement of 0.0800 m. Doubling the stretch to 16 cm would double the force to 40 N but quadruple the energy to 3.2 J.
Common mistakes
- Entering the displacement in metres. The field expects centimetres, so 0.08 is read as 0.08 cm and the force comes out a hundred times too small; type 8 for 8 cm.
- Giving k in N/cm or N/mm. The constant must be in N/m, so a spring rated 2.5 N/cm needs to be entered as 250.
- Using the total length of the spring as x. Only the change from the natural, unloaded length counts.
- Assuming energy is proportional to stretch. It grows with the square of x, so a double stretch stores four times the energy, not twice.
- Applying the result beyond the elastic limit or to a spring with preload. A spring stretched too far no longer follows F = k·x, and a preloaded one needs the extension from its unloaded length, not from the mounted length.
Sources
- 7.1 Work - University Physics Volume 1 (Hooke's law F = -k x) — OpenStax, Rice University
- 8.1 Potential Energy of a System - University Physics Volume 1 (U = 1/2 k x^2) — OpenStax, Rice University
About this calculator
Hooke's Law states that the force a spring exerts is directly proportional to how far it's stretched or compressed from its natural length: F = k·x, where k is the spring constant (stiffness, in N/m) and x is the displacement. This calculator applies that formula to find the restoring force, and also computes the elastic potential energy stored in the spring, ½·k·x², the work done to deform it.
Hooke's Law is a foundational relationship in introductory physics and mechanical engineering, underlying the design of everything from vehicle suspension springs and mattress coils to force sensors and mechanical scales. Engineers use it to select a spring constant that gives the right stiffness for an application, while physics students use it to connect force, energy, and simple harmonic motion — since a mass on a Hooke's-Law spring oscillates with a period set entirely by k and the mass.
Was this helpful?
You can pick up to 3 reactions.
Popular calculators
Loan Calculator
Monthly payment, total interest and full amortization schedule.
Percentage Calculator
Percent change, percent of, and ratio calculations.
Discount Calculator
Calculate final price, savings, and discount amount.
BMI Calculator
Body mass index from height and weight (metric or imperial).
Age Calculator
Compute your exact age in years, months and days from a birth date.
Compound Interest Calculator
Calculate the final amount and interest earned with compounding.
All Calculators
- Loan Calculator
- Profit Calculator
- Discount Calculator
- BMI Calculator
- Percentage Calculator
- Ideal Weight Calculator
- Age Calculator
- Pregnancy Due Date Calculator
- Compound Interest Calculator
- BMR Calculator (Basal Metabolic Rate)
- Tip Calculator
- Fuel Cost Calculator
- Date Difference Calculator
- Sleep Cycle Calculator
- Daily Water Intake Calculator
- Simple Interest Calculator
- Heart Rate Zones Calculator
- Running Pace Calculator
- Pet Age Calculator
- Calories Burned Calculator
- Macro Calculator
- TDEE Calculator (Total Daily Energy Expenditure)
- Waist-to-Hip Ratio Calculator
- Honor Roll Calculator
- One Rep Max (1RM) Calculator
- Ovulation Calculator
- Electricity Cost Calculator
- Unit Price Calculator
- Savings Goal Calculator
- Break-Even Point Calculator
- Paint Calculator
- Course Grade Average Calculator
- Business Days Calculator
- Time Duration Calculator
- Fuel Economy Calculator
- Temperature Converter
- Tile Calculator
- Aspect Ratio Calculator
- Roman Numeral Converter
- Goal Weight Timeline Calculator
- Salary Converter (Hourly to Annual)
- Credit Card Validator (Luhn)
- Body Surface Area (BSA) Calculator
- Feels-Like Temperature Calculator
- Ohm’s Law Calculator
- PPI (Pixel Density) Calculator
- Molar Mass Calculator
- Zodiac Sign Calculator (Western + Chinese)
- IBAN Validator
- Shoe Size Converter
- Country Info & Dialing Code Lookup
- Time Zone Difference (World Clock)
- CAGR (Compound Annual Growth Rate) Calculator
- Rule of 72 Calculator
- Blood Alcohol Content (BAC) Calculator
- Lean Body Mass (LBM) Calculator
- Pythagorean Theorem Calculator
- Speed Converter
- Download Time Calculator
- Date Calculator (Add/Subtract)
No calculators found
Comments (1)
The tool takes one spring constant, so combine real springs first. Two identical springs side by side, both stretched together, act like one spring with double the constant; the same two springs joined end to end act like one with half the constant. Work out that single k, then enter it with the stretch in centimetres. Also remember the law only holds inside the elastic range. What kind of spring are you working with, and how do you get its constant?