Strength of materials and structural sizing
Bar: calculating axial stress and elongation
Under a centered axial force N, the average stress is and the elastic elongation is . Enter the force, cross-section, length and Young’s modulus to calculate the stress, strain ε and change in length of a uniform bar under tension or compression.
Bar: calculating axial stress and elongation
Positive in tension, negative in compression.
Initial load-bearing section, perpendicular to the axis.
Length of the uniform part under study.
Elastic modulus at the temperature studied. Check the selected unit: 1 GPa = 1 000 MPa.
Initial values are examples.
Results
Substitution in SI units
Constant centered force, constant cross-section and Young’s modulus, small elastic strain and uniform temperature without added thermal expansion.
Bar under axial load
Estimated reading time : 5 min · 960 words
Calculation details
The steps below use the inputs and units selected in the calculator.
02 · Change in length
03 · Axial strain
Stress, strain and elongation: what are the differences?
The average axial stress σ is the axial force divided by the initial cross-sectional area. It is expressed in Pa or MPa. Strain measures relative elongation: it is a dimensionless ratio. Elongation ΔL, in contrast, is a length.
For a homogeneous bar of constant cross-section under a constant centered force, Hooke’s law gives . Positive tension causes elongation; negative compression causes shortening. These relations describe elastic behavior before yielding.
Formulas and symbols
The three results are related by , and . The symbol F sometimes used in denotes the same axial force as N on this page.
(average stress under centered load)
(signed change in length)
(elastic axial strain)
- σ: average axial stress, in Pa or MPa.
- ΔL: signed change in length, in m or mm.
- ε: axial strain equal to , dimensionless.
- N: axial force, positive in tension and negative in compression, in N or kN.
- A: initial cross-sectional area, in or .
- L: initial length of the uniform part, in m or mm.
- E: Young’s modulus of the material, in Pa, MPa or GPa.
Tension and compression: relationships and units
The three axial calculation quantities are compared here for a uniform, homogeneous, elastic bar. The convention is N > 0 in tension and N < 0 in compression.
| Quantity | Relationship | Interpretation |
|---|---|---|
| Average stress | MPa; positive in tension, negative in compression | |
| Strain | Dimensionless; same sign as N | |
| Change in length | mm; positive elongation, negative shortening | |
| Strain as a percentage | % | |
| Microstrain | µε |
With N in N, A in , E in MPa and L in mm, σ is in MPa and ΔL in mm. and . MIT OpenCourseWare — Uniaxial loading, cours 2.001 (2006) ; NIST — Guide to the SI, Appendix B.9: conversion factors.
Worked examples
Example 1: 2 m bar in tension
A bar with initial length is subjected to , with and . In consistent units: , and . We obtain , then and . The strain corresponds to 0,05 %.
Example 2: Shortening under compression
For , , and : ; ; . Stability must be checked separately.
Example 3: Doubling the initial length
Load, area and modulus match the first case, but length doubles. Stress and strain remain unchanged; extension doubles in this uniform-bar model.
; ; : .
Example 4: 6 m steel tie rod under 50 kN
A tie rod with a cross-section of and a length of 6 m carries 50 kN. The stress is 125 MPa and elongation reaches 3,75 mm, corresponding to a strain of 0,00063. This result assumes elastic behavior and a centered load.
; L / (A E) = 3,75 mm.
Assumptions and limitations
Constant centered force, constant cross-section and Young’s modulus, small elastic strain and uniform temperature without added thermal expansion. The stress is an average, valid away from the points of load application. The compression model does not check buckling.
Common mistakes
Entering lateral surface area instead of cross-sectional area; losing the sign of compression; confusing GPa and MPa; using the deformed length; ignoring eccentricity or the risk of buckling.
Frequently asked questions
Is a negative elongation an error?
No. With the chosen convention, a compressive force is negative and produces shortening, so ΔL < 0.
Is strain ε expressed as a percentage?
The output is a dimensionless ratio. For example, corresponds to 0,05 % and to 500 microstrain.
How should a bar with several segments be handled?
This calculator handles one uniform segment at a time. If the internal force of each segment is known, calculate each one using its area, modulus and length, then add the signed changes in length. A statically indeterminate assembly first requires solving equilibrium and compatibility.
Does the calculation verify a compressed bar?
It gives the average stress and elastic shortening. A slender bar can buckle under a force far smaller than the force corresponding to its yield strength.
Why does a longer bar elongate more?
For identical force N, area A and modulus E, ΔL is proportional to L. Doubling the length therefore doubles the elongation, while stress and strain /(AE) remain the same.
What is the difference between mechanical elongation and thermal expansion?
The elongation calculated here results from the applied axial force. A temperature change produces thermal expansion, which requires a different model. This calculator does not combine the two effects or calculate stresses caused by restrained expansion.