No tool matches “”

Try a format (“webp”, “mp3”) or a verb (“merge”, “compress”).

Loading index

↵to open

Physics Tools · Updated November 10, 2026 · Reviewed by FormatFlow Editorial

Spring Constant Calculator

You can calculate a spring constant from force and extension with k = F ÷ x, from mass and period, or calculate the oscillation period of an ideal spring from its mass and spring constant, with the substituted working shown.

Runs in your browserFree · No sign-up · No watermark
SpringRuns in your browser
Loading the tool…

Everything runs locally in this tab. No file is uploaded while the tool loads.

This tool runs in your tab. Nothing is uploaded and no copy is stored.

How files are handled

Key facts

Category
Physics Tools
Processing
In your browser — nothing is uploaded
Input formats
Force, extension or period
Output format
Spring constant and period
Maximum size
Bound by the memory available to your browser tab
Requirements
Chrome, Edge, Firefox or Safari · JavaScript enabled
Price
Free, no account, no watermark
Last updated
Nov 10, 2026

SummarySpring Constant Calculator is a free online physics tools tool. You can calculate a spring constant from force and extension with k = F ÷ x, from mass and period, or calculate the oscillation period of an ideal spring from its mass and spring constant, with the substituted working shown. A spring constant describes how stiff a spring is: the force needed per unit of extension. Hooke's law gives k = F ÷ x for a static stretch or compression, while the same spring oscillating with a mass on its end has a period T = 2π√(m ÷ k). Measuring the period is often the more practical route in a lab, because timing many oscillations can be more precise than reading a small extension. It runs in your browser — nothing is uploaded. It accepts Force, extension or period and produces Spring constant and period.

At a glance

Works with
Spring
Processing
In your browser
Price
Free, no account
Updated
November 10, 2026
All Physics Tools

About Spring Constant Calculator

A spring constant describes how stiff a spring is: the force needed per unit of extension. Hooke's law gives k = F ÷ x for a static stretch or compression, while the same spring oscillating with a mass on its end has a period T = 2π√(m ÷ k). Measuring the period is often the more practical route in a lab, because timing many oscillations can be more precise than reading a small extension.

This calculator offers both directions. Solve k from a known force and extension, solve k from a mass and period, or solve the period from a mass and an already known spring constant. Extension can be entered in metres or centimetres, and the ideal-spring assumption, the use of the effective oscillating mass and the sign of Hooke's law are stated where they matter.

What this tool does

The details that matter when you use Spring Constant Calculator for real work.
  • Three calculation modes

    Find k from force and extension, find k from mass and period, or find the period from mass and k.

  • Metres or centimetres

    Enter the extension in metres or centimetres; the value is converted to metres before k is calculated, so the result is always in N/m.

  • Hooke's law shown

    The k = F ÷ x expression, with the force and extension substituted, is printed for every static-spring calculation.

  • SHM period formula

    Period calculations use T = 2π√(m ÷ k), with the substituted values shown so the square root step is visible.

  • Positive-value validation

    Extension, mass, period and spring constant must be positive where the formulas require it, and violations are explained rather than divided through.

  • Copy the result

    Copy the spring constant or period as a plain number for a lab notebook or spreadsheet.

How to use Spring Constant Calculator

No account, no installation — the whole job happens in this browser tab.
  1. 01

    Choose a mode

    Select Hooke's law, spring constant from period, or period from mass and spring constant.

  2. 02

    Enter the known values

    For Hooke's law enter force in newtons and extension in metres or centimetres; for the period modes enter mass in kilograms and the other known quantity.

  3. 03

    Read the solved value

    The headline shows the spring constant in N/m or the period in seconds, with the summary cards giving the related quantities.

  4. 04

    Check the substitution

    The formula panel prints the active equation and your substituted numbers, including the conversion to metres when needed.

  5. 05

    Copy or reset

    Copy the result or reset the form to test another spring.

How this tool works

Works with
Spring
Processing
Client-side, in your browser. Nothing is uploaded.
Requirements
Chrome, Edge, Firefox or Safari · JavaScript enabled

Limitations worth knowing

  • Assumes an ideal linear spring within its elastic limit; real springs can be non-linear or permanently deform.
  • The oscillation period ignores damping and uses the mass value you supply, without automatically adding the spring's effective mass.
  • Hooke's law mode treats force and extension as magnitudes and does not model the vector direction of the restoring force.
  • Only one spring is considered; combinations of springs in series or parallel are not calculated.

Privacy and file handling

Every calculation runs in your browser with plain JavaScript. The values you enter are never uploaded, stored or logged, and no request is made to a server while you use the calculator.

Read the full privacy policy

Spring Constant Calculator FAQ

Short, direct answers to the questions people ask before using this tool.
What does the spring constant measure?
It measures stiffness: the force required per metre of extension or compression, in newtons per metre. A larger k means a stiffer spring that stretches less under the same force.
Is Hooke's law valid for any extension?
No. It is a linear approximation that holds while the spring stays within its elastic limit. Beyond that point the spring deforms permanently and the force is no longer proportional to the extension, so measured values will stop following k = F ÷ x.
How do I find k from an oscillation period?
For a mass m oscillating on an ideal spring, T = 2π√(m ÷ k), so rearranging gives k = 4π²m ÷ T². Enter the mass and period in the second mode and the calculator performs that rearrangement.
Which mass should I use in the period formula?
Use the oscillating mass, including the part of the spring that moves. For a real spring the effective mass is the attached mass plus about one third of the spring's own mass; this calculator accepts the value you supply and does not add the spring mass automatically.
Why is my extension negative?
Extension is a distance magnitude, so it should be positive even when the spring is compressed. Enter the absolute change in length; the sign of the force indicates whether it is a stretch or a compression, not the extension field.
Do the extension units change the spring constant?
No. Centimetres are converted to metres before dividing, so the resulting k is always in newtons per metre. A 5 cm extension becomes 0.05 m in the calculation, not a larger or smaller stiffness value.
What period will a mass-spring system have in space?
The period of an ideal mass-spring oscillator does not depend on gravity, because the restoring force comes from the spring. The equilibrium position shifts in weightlessness, but T = 2π√(m ÷ k) is the same as long as the mass and spring constant are unchanged.
Is the calculator valid for a pendulum?
No. A pendulum's period depends on its length and gravitational acceleration, not on a spring constant. Use a dedicated pendulum formula instead; this tool covers Hooke's law and a mass oscillating on a spring.

Background reading

Format guides that explain the trade-offs behind Spring Constant Calculator.