
Spring force and energy
Spring force and energy: calculate a transparent estimate from the values and assumptions you provide.
Your inputs stay in your browser. Displayed results are rounded to a maximum of 12 significant digits.
Method and assumptions
Method version 1.0.0 · Updated
Calculate
Formula: |F| = k|x|; energy = ½kx²
Spring force and energy: calculate a transparent estimate from the values and assumptions you provide.
- springConstant
- Spring constant k (N/m)
- extensionM
- Signed extension (m)
Valid only within the spring’s linear elastic range.
Calculate with code
These short examples use the same inputs and core calculation as this tool. Adapt validation and formatting to your application.
JavaScript
const forceN = 200 * 0.1; const energyJ = 0.5 * 200 * 0.1 ** 2; // 20 N; 1 J