Cross-Sectional Area Calculator

Find the cross-sectional area of a circle, circular tube (pipe), rectangle, or square, along with its hydraulic diameter and equivalent circular diameter.

Quick Facts

Formula
Circle: A = (π/4) × d²  |  Tube: A = (π/4) × (D²−d²)
Rectangle: A = w × h. Square: A = s². Any consistent linear unit works; area comes out in that unit squared.

Your Results

Calculated
Cross-sectional area
-
A, in your unit squared
Perimeter
-
Total boundary length
Hydraulic diameter
-
4 x Area / Perimeter
Equivalent diameter
-
Diameter of an equal-area circle

Ready

Choose a shape, enter its dimensions, then press Calculate.

Formula and method for cross-sectional area

Cross-sectional area is the area of the flat "slice" you'd see if you cut straight through an object — a rod, a pipe, a beam, or a duct — perpendicular to its length. This calculator supports the four shapes engineers and students encounter most often: a solid circle, a circular tube (annulus), a rectangle, and a square.

The area formulas

  • Circle (solid rod or wire): A = (π/4) × d², where d is the diameter. Equivalently A = π × r² using radius r = d/2.
  • Circular tube / pipe (annulus): A = (π/4) × (D² − d²), where D is the outer diameter and d is the inner diameter — the area of the outer circle minus the area of the hollow bore.
  • Rectangle: A = w × h, width times height.
  • Square: A = s², the side length squared.

Hydraulic diameter and equivalent diameter

Two derived values are shown alongside the area. Hydraulic diameter (Dh = 4 × Area / Perimeter) is the standard way to compare a non-circular duct to an equivalent round pipe in fluid-flow and heat-transfer calculations — it reduces to the actual diameter for a solid circle, to the side length for a square, and to D − d for a concentric annulus. Equivalent diameter (2 × √(Area/π)) is simpler: it is just the diameter of a circle that has the same area as your shape, useful for quick size comparisons without any flow context.

Common mistakes

  • Diameter vs. radius: this calculator asks for diameter, not radius. Entering a radius where diameter is expected quarters the resulting area.
  • Units: area comes out in square units (mm² if you entered mm, in² if you entered inches). A 50 mm diameter rod has an area of about 1,963 mm², not 1,963 mm.
  • Tube dimensions: for a pipe, the inner diameter must be smaller than the outer diameter and both are diameters, not wall thickness — wall thickness is (D − d)/2.

Real-world applications

  • Sizing rebar, wire, or rod stock for structural and electrical load calculations
  • Pipe and duct flow area for fluid mechanics and HVAC sizing, where hydraulic diameter feeds into Reynolds number
  • Beam and column cross-sections for basic structural and stress checks
  • Material takeoffs, where cross-sectional area times length gives volume for weight or cost estimates

Frequently Asked Questions

How is cross-sectional area calculated for a pipe or tube?
A circular tube (annulus) is a large circle with a smaller circle removed. Its cross-sectional area is A = (π/4) × (D² − d²), where D and d are the outer and inner diameters. Set the inner diameter to 0 to get a solid rod instead of a tube.
What is hydraulic diameter and why does it appear here?
Hydraulic diameter (Dh = 4 × Area / Perimeter) converts any cross-section into an equivalent circular size for flow and duct calculations. For a solid circle it equals the actual diameter; for a square duct it equals the side length; for an annulus it equals the outer diameter minus the inner diameter.
What unit should I use for the dimensions?
Any consistent linear unit works — millimeters, inches, or centimeters. The area result is in that unit squared (mm², in², etc.) and both diameter results are in the same linear unit you entered.
What is the difference between hydraulic diameter and equivalent diameter?
Equivalent diameter (2 × √(Area/π)) is simply the diameter of a circle with the same area as your shape — useful for comparing sizes. Hydraulic diameter also factors in the wetted perimeter and is the standard value used in fluid-flow and duct-sizing formulas. The two match only for a solid circle.