Stiffness Matrix Calculator
Build the two-node axial bar element stiffness matrix from material and geometry.
About stiffness matrices
Axial element examples
Each example reports the EA divided by L scale factor used in the matrix.
| Inputs | Matrix factor | Interpretation |
|---|---|---|
| E 200 GPa, A 0.001 m², L 2 m | 100,000,000 N/m | A slender steel bar. |
| E 70 GPa, A 0.002 m², L 1 m | 140,000,000 N/m | A short aluminum member. |
| E 10 GPa, A 0.005 m², L 5 m | 10,000,000 N/m | A lower-modulus, longer element. |
How to build the matrix
- Enter the material elastic modulus in pascals.
- Enter the uniform cross-sectional area in square metres.
- Enter the element length in metres.
- Select Build stiffness matrix and copy the factor or matrix entries.
Stiffness matrix FAQ
What element does this calculator represent?
It represents a two-node axial bar or truss element in local coordinates. It carries tension and compression but does not model bending.
Why are the off-diagonal terms negative?
Extension caused by one node's movement produces an opposing force at the other node. The signs enforce equilibrium and compatibility.
Why is the local matrix singular?
Both nodes can translate together without straining the bar. Supports in the assembled structural model remove appropriate rigid-body motion.
Can I enter gigapascals directly?
Convert gigapascals to pascals before entry by multiplying by one billion. Keep area and length in square metres and metres.
Can this matrix model a beam?
No. A beam needs rotational degrees of freedom and bending terms, producing a larger matrix than this axial formulation.