Mechanical Engineering Calculator

Section Modulus Calculator

Calculate the elastic section modulus (S = I/c) for rectangular, circular, hollow circular and custom cross-sections.

Cross-Section Type

Select a shape or enter custom I and c values

Input Dimensions

All dimensions in millimeters (mm).

mm

Width of the rectangular section.

mm

Height (depth) of the rectangular section.

Engineering Tip

Required section modulus is simply S_req = M_max / σ_allow. Choose a section that provides at least this value after applying code safety factors.

Elastic Section Modulus

666,667mm³

S = b h² / 6

Moment of Inertia (I)

66,666,667 mm⁴

Distance c

100.00 mm

Governing Relations

S = I / c
σ = M / S   or   σ = M c / I
Smm³

Elastic section modulus

Imm⁴

Area moment of inertia

cmm

Distance to extreme fiber

MN·mm

Bending moment

σMPa

Bending stress

Notes & Assumptions

  • Elastic (not plastic) section modulus
  • Homogeneous cross-section
  • Neutral axis at centroid
  • Bending about the axis corresponding to I

Engineering Code

Reuse the section modulus calculation in your own engineering workflow.

Python
import math

def section_modulus(shape, **dims):
    """
    Calculate elastic section modulus S = I/c.

    shape: 'rectangle', 'circle', 'hollow', 'custom'
    dims: corresponding dimensions in mm
    """

    if shape == 'rectangle':
        b, h = dims['b'], dims['h']
        I = (b * h**3) / 12
        c = h / 2
    elif shape == 'circle':
        d = dims['d']
        I = (math.pi * d**4) / 64
        c = d / 2
    elif shape == 'hollow':
        D, d = dims['D'], dims['d']
        I = (math.pi / 64) * (D**4 - d**4)
        c = D / 2
    elif shape == 'custom':
        I, c = dims['I'], dims['c']
    else:
        raise ValueError("Unknown shape")

    S = I / c
    return {"I_mm4": I, "c_mm": c, "S_mm3": S}


# Example (rectangle)
results = section_modulus('rectangle', b=100, h=200)
print(results)
MATLAB
function results = section_modulus(shape, dims)
    % Calculate elastic section modulus S = I/c
    % shape: 'rectangle', 'circle', 'hollow', 'custom'

    if strcmp(shape, 'rectangle')
        b = dims.b; h = dims.h;
        I = (b * h^3) / 12;
        c = h / 2;
    elseif strcmp(shape, 'circle')
        d = dims.d;
        I = (pi * d^4) / 64;
        c = d / 2;
    elseif strcmp(shape, 'hollow')
        D = dims.D; d = dims.d;
        I = (pi / 64) * (D^4 - d^4);
        c = D / 2;
    elseif strcmp(shape, 'custom')
        I = dims.I; c = dims.c;
    else
        error('Unknown shape');
    end

    results.I = I;
    results.c = c;
    results.S = I / c;
end

% Example
dims.b = 100; dims.h = 200;
r = section_modulus('rectangle', dims);
disp(r);
Excel Formulas
I = (b*h^3)/12
c = h/2
S = I/c   or   S = (b*h^2)/6

Example Calculation

Rectangular section: width b = 100 mm, height h = 200 mm:

I = b h³ / 12 = 66,666,667 mm⁴
c = h / 2 = 100 mm
S = I / c = b h² / 6 = 666,667 mm³

Technical Explanation: Elastic Section Modulus

The elastic section modulus S is a geometric property of a cross-section that relates the maximum bending moment to the maximum bending stress:σ = M / S or equivalently S = I / c.

A larger section modulus means the section can resist a higher bending moment for the same allowable stress. It is one of the most important parameters used when selecting beams and structural members.

How to Use This Calculator

  1. Select Shape: Choose rectangular, circular, hollow circular or custom.
  2. Enter Dimensions: Provide the required dimensions in millimeters.
  3. Review Results: The calculator returns moment of inertia I, distance c and section modulus S.

Common Formulas

  • Rectangle: S = b h² / 6
  • Solid circle: S = π d³ / 32
  • Hollow circle: S = π (D⁴ − d⁴) / (32 D)
  • General: S = I / c

Elastic vs Plastic Section Modulus

The elastic section modulus (S) is used with elastic bending theory (σ = M/S). The plastic section modulus (Z) is larger and is used in plastic design. This calculator returns the elastic section modulus only.

Real-World Engineering Cases

Under-sized Floor Beams in Residential Construction

Several houses experienced excessive floor deflection and cracking because the selected timber joists had insufficient section modulus for the actual span and load. The designer had used a rough rule-of-thumb instead of calculating the required S = M / σ_allow.

Engineering Lesson

Always calculate the required section modulus from the maximum moment and allowable stress, then select a section that provides at least that value (with appropriate safety factors).

Steel Beam Substitution Errors

During a renovation a W-shape beam was replaced with a lighter section of similar depth. The new section had a significantly lower section modulus, leading to higher stresses and eventual yielding under the original design loads.

Engineering Lesson

Depth alone does not determine bending strength. Section modulus (and therefore the distribution of material about the neutral axis) must be verified whenever a member is substituted.

Frequently Asked Questions

What is section modulus?

Section modulus S is defined as I/c, where I is the area moment of inertia and c is the distance from the neutral axis to the extreme fiber. It is used in the bending stress formula σ = M / S.

What units does this calculator use?

All linear dimensions are in millimeters (mm). Moment of inertia is returned in mm⁴ and section modulus in mm³.

What is the difference between elastic and plastic section modulus?

The elastic section modulus (S) assumes linear stress distribution and is used with elastic design. The plastic section modulus (Z) assumes a fully plastic stress distribution and is larger than S. This calculator provides the elastic value only.

Which value of c should I use?

Use the maximum distance from the neutral axis to the outermost fiber. For symmetric sections this is simply half the overall depth.

How is section modulus used in design?

Required section modulus is calculated as S_req = M_max / σ_allow. The chosen cross-section must provide a section modulus at least equal to S_req (after applying any code safety factors).

Engineering calculations provided by this tool are for educational and preliminary design purposes. Always verify section properties against manufacturer data or official tables and apply appropriate safety factors and design codes before use in final engineering design.