Stiffness calculator
Stiffness is the force it takes to deflect something by one unit: k = F/δ. Get it for a beam, column, bar or shaft from its section, material and supports. Then combine springs in series, in parallel or at an angle, find the lateral stiffness of a one-storey frame by static condensation, and print any 2D element stiffness matrix. Add a mass to get the natural frequency and period. Free, no sign-up, runs in your browser.
Every formula re-derived by a 2D frame finite-element solver · Chopra Example 1.1 reproduced · Updated 20 Nov 2026
I is about the bending axis: for a rectangle, d is the depth in the direction the load deflects it. Linear elastic, small deflections, bending only (no shear deformation, which matters for short deep beams), weightless member.
θ is the angle between a spring and the direction of motion; each spring counts as k cos²θ. Leave k at 0 to ignore a row. Use the Member tab to get a beam's or column's k, then combine here.
Two equal columns, one beam, axially rigid members, mass lumped at the beam: sway u₁ and the two joint rotations u₂, u₃ (Chopra's model). A beam I of 0 gives the two cantilevers; a huge one the rigid-beam limit.
θ is measured from the global x axis to the element, node 1 to node 2. A beam element has no axial terms and no rotation. Units: N/m for force-displacement terms, N for force-rotation, N·m for moment-rotation. To assemble several elements into a structure and solve it, use the stiffness matrix calculator.
What is stiffness?
Stiffness is how hard you have to push to move something: the force per unit deflection, or the moment per unit rotation.
It is not strength. Strength is how much load breaks something; stiffness is how much it moves on the way. A steel ruler and a steel bar of the same length are equally strong in stress terms but the bar is thousands of times stiffer, because stiffness depends on the shape (A, I, J), the material (E, G), the length and the supports. A beam's I goes with depth cubed, so turning a 50 × 100 mm bar on edge makes it 4 times stiffer, and its stiffness falls with length cubed, so a beam twice as long is 8 times softer.
Every case on this page comes from the deflection formula for that member, k = F/δ:
| Member and load | Stiffness |
|---|---|
| Cantilever, load at the free end | |
| Simply supported, load at midspan | |
| Simply supported, load at distance a | |
| Fixed-fixed beam, load at midspan | |
| Fixed-fixed beam, load at distance a | |
| Propped cantilever, load at midspan | |
| Propped cantilever, load at a from the fixed end | |
| Column sway, both ends fixed (rigid beam on top) | |
| Column sway, one end fixed, one pinned | |
| Axial (bar in tension or compression) | |
| Torsion of a shaft | |
| End rotation, far end fixed | |
| End rotation, far end pinned |
a is the distance from the left support (from the fixed end for the propped cantilever) and b = L − a. The same numbers in other words: a fixed-fixed beam is 4 times stiffer than a simply supported one at midspan, and a cantilever 16 times softer. A column held against rotation at both ends (12EI/h³) is 4 times stiffer than one pinned at an end (3EI/h³).
Lateral stiffness of a one-storey frame
A portal frame sways under wind or an earthquake. If the beam were rigid, both column tops would stay square and each column would give 12EIc/h³: 24EIc/h³ for the frame. A real beam bends, the joints rotate and the frame is softer. To find out how much, give the frame three degrees of freedom, the sway u₁ and the joint rotations u₂ and u₃, and build its stiffness matrix column by column: set one displacement to 1, hold the others at 0, and write down the forces needed.
No moments act at the joints, so the second and third rows give the rotations in terms of the sway. Putting them back into the first row is static condensation:
The joints turn back by 6/7h radians per metre of sway and the frame keeps 4/7 of its rigid-beam stiffness. The same condensation for any beam gives a closed form in the beam-to-column stiffness ratio ρ, for fixed and for pinned bases:
| ρ | Fixed bases, × EIc/h³ | Pinned bases, × EIc/h³ |
|---|---|---|
| 0.05 | 8.35 | 1.00 |
| 0.125 | 10.91 | 2.00 |
| 0.25 | 13.71 | 3.00 |
| 0.5 | 16.80 | 4.00 |
| 1 | 19.50 | 4.80 |
| 2 | 21.43 | 5.33 |
| 8 | 23.28 | 5.82 |
Pinned bases cost a lot: a quarter of the fixed-base stiffness at best (6 vs 24) and nothing at all when the beam is a pin-ended link (ρ = 0), because the frame is then a mechanism. The table is the frame finite-element model's output; the formulas agree with it to 5 significant figures.
Worked example: period of an RC portal frame
A single-storey RC frame in M25 concrete: columns 300 × 450 mm (bending about the 450 mm depth), 3.5 m high; beam 300 × 600 mm, 6 m span; 30 t at roof level. IS 456 gives the short-term modulus (it notes that measured values may differ by ±20%, and k moves with E one for one):
Assuming a rigid beam would have given 31.88 MN/m, 32% too stiff, and a period 13% too short. Two more things change the answer a lot:
| Case | k (MN/m) | T (s) |
|---|---|---|
| Gross sections, fixed bases | 24.10 | 0.222 |
| Cracked (0.70 Ic, 0.35 Ib), fixed bases | 14.10 | 0.290 |
| Gross sections, pinned bases | 5.85 | 0.450 |
| Cracked, pinned bases | 3.24 | 0.605 |
IS 1893 (Part 1):2016 asks for cracked-section stiffness in RC frames, which here drops k by 42%. How fixed the footing really is matters more: a base that can rotate is closer to the pinned rows. This is a hand check for one storey. A building is analysed in ETABS or STAAD with many storeys and its period checked against the code's empirical formula, but the numbers it prints come from exactly this kind of stiffness matrix. See stiffness modifiers in ETABS for how the cracked factors are entered.
Springs in series, in parallel and at an angle
Parallel means the parts move together: the columns of one storey, two beams that meet under one mass. Series means the same force passes through each part in turn: a beam that holds a spring that holds the mass. A series combination is always softer than its softest part, so a stiff beam on a soft spring is a soft spring.
A spring at angle θ to the motion counts twice over: only u cos θ of the displacement stretches it, and only cos θ of its force acts along the motion:
The "Calculation of Stiffness in Structural elements" challenge, solved
Skill-Lync students posted 170 reports for this challenge between Feb 2021 and Sep 2022. We read all of them; 81 have typed working, the rest are photos of handwritten pages. Here is each question with the answer the finite-element model gives and the slips the reports make most often.
Question 1: one-storey frame, L = 2h, EIb = EIc
k = 96EIc/7h³ = 13.71EIc/h³, worked above. 45 reports reach it. Set the frame tab to the Chopra preset to see the matrix and the joint rotations of −6/7h.
Question 2: degrees of freedom, equation of motion, natural frequency
Both have one dynamic degree of freedom, the sway u, and the equation of motion is Mü + ku = 0, so ωn = √(k/M). (a) The rigid beam on its roller can slide but not turn, so the column top is held against rotation and its base is pinned: k = 3EI/h³. (b) Two fixed-base columns and one pinned-base column under a rigid beam, in parallel: 12 + 12 + 3 = 27EI/h³.
47 reports give 27EI/h³; 4 treat the pinned column as fixed and give 36EI/h³, a frequency 15% too high. For (a), 23 reports write "the column has a fixed end at the bottom". The base is pinned and it is the rigid beam that fixes the top; the answer, 3EI/h³, is the same either way because a fixed-pinned column is equally stiff whichever end is fixed.
Question 3: the "propped cantilever"
The mass sits where the cantilever's tip rests on the beam's midspan. Both must deflect by the same amount, so they are springs in parallel:
Question 4: effective stiffness of three systems
(a) The mass hangs from the spring and the spring from the cantilever's tip: one force through both, so series.
(b) Pinned-base columns under a rigid beam give 3EI/h³ each. The diagonal spring runs across the span, so its angle to the horizontal sway has cos θ = L/√(L² + h²):
(c) The beam is simply supported, with its right support on the inclined bar. The bar is stiff along its axis, EA/ℓ, but the joint moves vertically, so it gives kv = (EA/ℓ)(h/ℓ)². The midspan mass sees the beam bending and half the support settlement in series, and half the settlement of a support carrying half the load is a quarter of the spring's flexibility, which is where the 4 comes from:
The finite-element model matches all three to 7 digits (h = 3 m, L = 4 m, steel, EI = 1,600 kN·m²). The common slips:
- The springs left out. Of 49 reports with a typed answer to question 4, 25 give (a) 3EI/L³, (b) 6EI/L³ and (c) 6EI/L³ or 24EI/L³, the beams and columns alone, with no K and no EA anywhere. A spring in series always lowers the stiffness, and in (a) it usually dominates: a 200 kN/m spring under a 600 kN/m cantilever gives 150 kN/m, not 600.
- Formulas swapped. 6 of those also call 48EI/L³ the cantilever's stiffness and 3EI/L³ the simply supported beam's. It is the other way round: the cantilever is 16 times softer.
- The diagonal's angle. The most-read report of the set uses cos θ = h/√(L² + h²) in (b). For h = 3 m and L = 4 m that counts 36% of K instead of 64%, and the frame comes out 21% too soft. The angle that matters is the one between the spring and the motion.
The element stiffness matrix
Every frame program builds a structure's stiffness matrix from one small matrix per member. A 2D frame element has 3 degrees of freedom at each end, axial u, transverse v and rotation θ, and in its own axes its matrix is:
Each column is a unit-displacement state: column 3, a unit rotation at end 1 with everything else held, needs a moment 4EI/L there, 2EI/L at the far end (the carry-over of one half; with a pinned far end it would be 3EI/L and nothing carried over) and shears ±6EI/L² to keep it in equilibrium. For a member at angle θ the matrix is turned into global axes:
T rotates each end's (u, v) by θ and leaves θ alone. The structure's matrix is the sum of the members' matrices at their shared degrees of freedom. On its own an element's matrix is singular, with three zero eigenvalues for the three ways it can move without bending or stretching, until supports are added. The Stiffness matrix tab prints the local and global matrices for any element; the frame tab shows the condensed 3 × 3 matrix of Question 1. To assemble a whole truss, beam or frame, apply supports and get displacements, reactions and member forces step by step, use the stiffness matrix calculator.
What this calculator does not cover
- Shear deformation. All bending cases are Euler-Bernoulli. A beam shorter than about 10 times its depth is softer than these numbers.
- Joint and support flexibility. Bolted connections, footings on soil and bearings are never perfectly fixed or pinned. Real stiffness lies between the two cases.
- Axial shortening and P-delta. The frame model treats the members as axially rigid and ignores the softening from gravity load on a swaying frame.
- Multi-storey and 3D frames. Use the matrix method in a program (ETABS, STAAD, SAP2000) or the element matrices here by hand for small models.
Skill-Lync's building design courses go from stiffness and structural dynamics to analysing and designing real high-rise buildings in ETABS, the work structural design offices hire for.
- Analysis and Design of High Rise Buildings using ETABS and SAFE (includes structural dynamics and seismic loads)
- Post Graduate Program in High-Rise Building Design and Analysis
- ETABS courses compared
Frequently asked questions
What is the stiffness formula?
Stiffness is force per unit deflection, k = F/δ (or moment per unit rotation, k = M/θ). For a beam it depends on the supports and where the load acts: a cantilever loaded at its tip has k = 3EI/L³, a simply supported beam loaded at midspan 48EI/L³, a fixed-fixed beam 192EI/L³, a propped cantilever (768/7)EI/L³. A bar in tension has k = EA/L, a shaft in torsion GJ/L.
What is the lateral stiffness of a column?
12EI/h³ when both ends are held against rotation (a column fixed at the base under a stiff beam or slab) and 3EI/h³ when one end is free to rotate (a pinned base, or a cantilever column). Columns of one storey act as springs in parallel, so their stiffnesses add: two fixed columns and one pinned column under a rigid beam give 12 + 12 + 3 = 27EI/h³.
What is the lateral stiffness of a one-storey frame with a flexible beam?
Between the two limits: 24EIc/h³ for a rigid beam and 6EIc/h³ for a beam with no bending stiffness (fixed bases). Chopra's formula is k = (24EIc/h³)(12ρ + 1)/(12ρ + 4) with ρ = (EIb/L)/(2EIc/h). For L = 2h and EIb = EIc, ρ = 1/4 and k = 96EIc/7h³ = 13.71EIc/h³. This calculator also does pinned bases and shows the 3 × 3 matrix and the condensation.
How do you add springs in series and in parallel?
Springs that share the same displacement (side by side, or columns of one storey) are in parallel: add the stiffnesses. Springs that carry the same force one after another (a beam holding a spring that holds the mass) are in series: add the flexibilities, 1/k = 1/k₁ + 1/k₂. The series result is always less than the softest spring.
What is the stiffness of an inclined spring?
A spring of stiffness k at angle θ to the direction of motion adds k cos²θ: one cos θ because only part of the motion stretches it, another because only part of its force acts along the motion. For a diagonal across a frame of span L and height h, cos²θ = L²/(L² + h²) for sway.
What is a stiffness matrix?
The table that links every force to every displacement of a structure, F = K u. Entry kᵢⱼ is the force at degree of freedom i when degree of freedom j moves by one unit and all others are held at zero. Each column is one of those unit-displacement states, the matrix is symmetric, and an element's matrix on its own is singular until supports are added.
How do you find the natural frequency from the stiffness?
For one mass on a spring of stiffness k, ω = √(k/m) in rad/s, f = ω/2π in Hz and the period T = 2π√(m/k). A 30 t storey on frames of 24.1 MN/m has T = 0.22 s. Use consistent units: k in N/m and m in kg.
Related on Skill-Lync
- A student report on this challenge
- Stiffness modifiers in ETABS: IS 1893 values
- Stiffness matrix calculator: global stiffness matrix of a truss, beam or frame, solved step by step
- Beam natural frequency calculator
- Section modulus calculator
- Steel structure load calculator
- Structural design courses compared
- All free engineering tools
Sources
- A. K. Chopra, Dynamics of Structures, 5th ed. (SI), Pearson, chapter 1: Example 1.1 (the 3-DOF frame, k = 96EIc/7h³, axially rigid members), Eq. 1.3.5 (lateral stiffness in terms of ρ = (EIb/L) ÷ (2EIc/h), shear deformation neglected), Eqs. 1.3.2 and 1.3.3 (12EI/h³ and 3EI/h³) and Example 1.2 (a brace counts (AE/L) cos²θ).
- Beam deflection formulas for point loads (simply supported, fixed-fixed, propped cantilever, cantilever): American Wood Council, Design Aid No. 6: Beam Design Formulas with Shear and Moment Diagrams, Figures 7, 8, 13, 16, 17, 24 and 25 (its propped-cantilever formula measures a from the simple support; ours measures it from the fixed end, the same formula with a and b swapped); Roark's Formulas for Stress and Strain, beam tables.
- H. P. Gavin, "Frame Element Stiffness Matrices", CEE 421L Matrix Structural Analysis, Duke University (2012): the 6 × 6 plane frame element, its degree-of-freedom order and K = TᵀkT. Carry-over factor 1/2 and the 3EI/L stiffness for a pinned far end: NPTEL Structural Analysis II (IIT Kharagpur), Module 3, Lesson 18.
- IS 1893 (Part 1):2016, clause 6.4.3.1 (in RC and masonry structures 70% of Igross for columns and 35% for beams; unchanged by Amendments 1 and 2); IS 456:2000, clause 6.2.3.1 (Ec = 5000√fck N/mm², measured values may differ by ±20%).
- Torsion constant of a rectangle: Roark (J = bt³[1/3 − 0.21(t/b)(1 − t⁴/12b⁴)]); thin-walled sum for an I-section.
- All numbers on this page: Skill-Lync, scripts/verify/stiffness.py, a 2D frame finite-element solver (cubic beam and truss elements) that reproduces every formula above, the ρ table and the four questions, cross-checked against this page's code at build time. Report counts: our reading of the 170 public reports, 20 Nov 2026.