Skip to content
Formulaxis

Strength of materials and structural sizing

Bar: calculating axial stress and elongation

Under a centered axial force N, the average stress is σ=N/A and the elastic elongation is ΔL=N×L/(E×A). 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.

Created on , Revised on v1.0

Method and validation

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

Average axial stress σ
100MPa
Change in length ΔL
1mm
Axial strain ε
0.0005dimensionless

Substitution in SI units

σ=(20000 N)(0.0002 m2)=100 MPa

Constant centered force, constant cross-section and Young’s modulus, small elastic strain and uniform temperature without added thermal expansion.

Bar under axial load

Bar: calculating axial stress and elongation · Uniform elastic barGrey outline: original length. Longitudinal deformation is magnified and visually bounded for readability, preserving its actual sign. Schematic thickness: area alone does not define the cross-section shape. Schematic force arrows, absent when N = 0.TensionN = 20 kNL = 2 mΔL = 1 mm

Grey outline: original length. Longitudinal deformation is magnified and visually bounded for readability, preserving its actual sign. Schematic thickness: area alone does not define the cross-section shape. Schematic force arrows, absent when N = 0.

Illustrative diagram, not to scale.

Estimated reading time : 5 min · 960 words

Calculation details

The steps below use the inputs and units selected in the calculator.

01 · Average axial stress

FORMULA

σ=NA

NUMERICAL SUBSTITUTION

σ=(20 kN)(200 mm2)

RESULT

σ=100 MPa

02 · Change in length

FORMULA

ΔL=N×LA×E

NUMERICAL SUBSTITUTION

ΔL=(20 kN)×(2 m)(200 mm2)×(200 GPa)

RESULT

ΔL=1 mm

03 · Axial strain

FORMULA

ε=NA×E

NUMERICAL SUBSTITUTION

ε=(20 kN)(200 mm2)×(200 GPa)

RESULT

ε=0.0005

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 ε=ΔL/L 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 σ=E×ε gives ΔL=N×L/(E×A). Positive tension causes elongation; negative compression causes shortening. These relations describe elastic behavior before yielding.

Formulas and symbols

The three results are related by σ=N/A, ε=σ/E and ΔL=ε×L. The symbol F sometimes used in ΔL=F×L/(E×A) denotes the same axial force as N on this page.

σ=NA(average stress under centered load)

ΔL=N×LA×E(signed change in length)

ε=NA×E(elastic axial strain)

  • σ: average axial stress, in Pa or MPa.
  • ΔL: signed change in length, in m or mm.
  • ε: axial strain equal to ΔL/L, dimensionless.
  • N: axial force, positive in tension and negative in compression, in N or kN.
  • A: initial cross-sectional area, in m2 or mm2.
  • 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.

QuantityRelationshipInterpretation
Average stressσ=N/AMPa; positive in tension, negative in compression
Strainε=N/(A×E)Dimensionless; same sign as N
Change in lengthΔL=N×L/(A×E)mm; positive elongation, negative shortening
Strain as a percentage100×ε%
Microstrain106×εµε

With N in N, A in mm2, E in MPa and L in mm, σ is in MPa and ΔL in mm. 1 GPa=1 000 MPa and 1 MPa=1 N/mm2. 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 L=2 m is subjected to N=20 kN, with A=200 mm2 and E=200 GPa. In consistent units: N=20 000 N, L=2 000 mm and E=200 000 MPa. We obtain σ=20 000/200=100 MPa, then ε=100/200 000=0,0005 and ΔL=0,0005×2 000=1 mm. The strain corresponds to 0,05 %.

Example 2: Shortening under compression

For N=−10 kN, A=500 mm2, L=1,5 m and E=70 GPa: σ=−20 MPa; ε=−0,000285714; ΔL=−0,428571 mm. 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.

σ=100 MPa; ε=0.0005; L=4 000 mm: ΔL=0.0005×4 000=2 mm.

Example 4: 6 m steel tie rod under 50 kN

A tie rod with a cross-section of 400 mm2 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.

σ=N/A=125 MPa ; ΔL=N 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, ε=0,0005 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 σ=N/A and strain ε=N/(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.