sodcalculator

05 Area and Shapes

Circular Pipe Area Calculator: Formula & Examples

Tag 05-2794 · Updated · Standard formula, shown below

Area 28.27 in²
Area
0.1963 ft²
Result
Volume
1.96 ft³
Result
Volume
14.69 gal
Result
You enter
Inside diameter, Pipe length
You get
Area, Area, Volume, Volume
Rounding
2 dp · 4 dp

This calculator works out the cross-sectional area of a circular pipe from its diameter or radius, and it also gives the internal volume per unit length (pipe capacity) if you supply a length. You enter the pipe’s inside diameter (or radius) and, optionally, the pipe length, and you get the area in square inches or square feet, plus the volume in cubic feet or gallons per foot. The area is the key number for flow calculations, and the volume tells you how much liquid the pipe holds.

Formula

The cross-sectional area of a circular pipe is the same as the area of a circle, because a pipe’s cross-section is a circle. The formula is:

A = π × r²

where:

  • A = cross-sectional area (in² or ft²)
  • Ï€ ≈ 3.14159
  • r = inside radius of the pipe = d/2 (in or ft)

If you know the diameter, you can write it as:

A = π × (d/2)²

For volume per unit length, multiply the area by the pipe length:

V = A × L

where V is volume (ft³ or gallons) and L is length (ft). To convert cubic feet to gallons, use 1 ft³ = 7.48052 US gallons.

Worked Example

Let’s use the default values from the calculator: inside diameter = 6 inches, length = 10 feet.

  1. Convert diameter to radius: r = 6 in / 2 = 3 in.
  2. Calculate area in square inches: A = π × (3 in)² = 3.14159 × 9 in² = 28.27 in².
  3. Convert to square feet: 28.27 in² ÷ 144 = 0.1963 ft².
  4. Calculate volume in cubic feet: V = 0.1963 ft² × 10 ft = 1.963 ft³.
  5. Convert to gallons: 1.963 ft³ × 7.48052 = 14.69 gallons.

The calculator shows the same results: area = 28.27 in², area = 0.1963 ft², volume = 1.96 ft³, and volume = 14.69 gallons.

Why Pipe Area Matters

The cross-sectional area of a pipe directly affects how much fluid can flow through it. In fluid dynamics, the flow rate (Q) equals the average velocity (v) times the cross-sectional area (A):

Q = v × A

So if you know the desired flow rate and the maximum allowable velocity, you can determine the minimum pipe area. For example, in gravity-flow drainage, keeping velocity below a certain limit prevents erosion and noise. In pump systems, the area helps calculate friction losses and system curves.

Pipe area is also used to compute the volume of liquid in a pipe, which is useful for:

  • Estimating the amount of water needed to fill a pipe system.
  • Calculating the capacity of a pipe for storage or surge tanks.
  • Determining the amount of cleaning solution needed to flush a line.

How to Use the Calculator

Follow these steps:

  1. Enter the inside diameter of the pipe in inches. Use the inside diameter, not the outside diameter, unless you’re calculating the pipe material’s area.
  2. Enter the pipe length in feet if you want volume. If you only need area, you can leave the length at 0 or ignore the volume outputs.
  3. Read the area results: the first result is in square inches, the second in square feet.
  4. Read the volume results: cubic feet and US gallons.

For metric users, convert inches to centimeters (1 in = 2.54 cm) and feet to meters (1 ft = 0.3048 m). The area formula works the same with any consistent unit.

Common Mistakes and How to Avoid Them

  • Using outside diameter instead of inside diameter: For flow calculations, always use the inside diameter. Outside diameter includes the wall thickness, which would overestimate the area.
  • Mixing units: If you enter diameter in inches, the area comes out in square inches. If you then multiply by length in feet, you must convert first. The calculator handles this, but if you’re doing manual math, keep units consistent.
  • Forgetting to halve the diameter: The formula uses radius, not diameter. Many people plug the diameter directly into Ï€r² and get an area four times too large.
  • Rounding too early: If you round Ï€ to 3.14 and round intermediate steps, your final answer can be off by several percent. Keep extra digits until the end.

Limitations of the Formula

The area formula is exact for a perfect circle, but real pipes may have slight ovality or internal corrosion that changes the effective area. For most engineering purposes, the nominal inside diameter is accurate enough, but for precise flow calculations, you should measure the actual inside diameter at several points.

The volume calculation assumes the pipe is completely full and has a constant cross-section. In real systems, pipes may have fittings, valves, or changes in diameter that add or subtract volume. Also, the formula gives the internal volume, not the volume of the pipe material itself.

For flow rate, the area alone is not enough; you also need the velocity, which depends on pressure, friction, and pipe roughness. The area is a necessary input but not the whole story.

Alternatives and Related Calculations

If you have the pipe’s radius instead of diameter, you can still use this calculator by entering twice the radius as the diameter. If you need to calculate the surface area of the pipe (for painting or insulation), that’s a different formula: the lateral surface area is the circumference times the length, or 2πrL.

For rectangular ducts or channels, the area is simply width × height. For elliptical pipes, the area is π × (major radius) × (minor radius). For partially full pipes, the area of the segment is more complex and depends on the fill depth.

If you need the weight of the pipe material, you would calculate the area of the ring (outside circle minus inside circle) and multiply by the material density and length.

Frequently Asked Questions

Do I use inside or outside diameter for pipe area?

For the cross-sectional area that fluid flows through, always use the inside diameter. The outside diameter includes the wall thickness and would give an area that is too large. If you only have the outside diameter and wall thickness, subtract twice the wall thickness to get the inside diameter.

How do I convert square inches to square feet?

Divide by 144, because there are 12 inches in a foot, so 12 × 12 = 144 square inches in a square foot. For example, 28.27 in² ÷ 144 = 0.1963 ft².

What is the area of a 4-inch pipe?

Using the formula A = π × (d/2)², with d = 4 inches, the radius is 2 inches, so A = π × 4 = 12.57 square inches. In square feet, that’s 12.57 ÷ 144 = 0.0873 ft².

How many gallons does a 100-foot pipe hold?

It depends on the diameter. For a 6-inch pipe, the volume per foot is about 0.1963 ft³, so 100 feet gives 19.63 ft³. Multiply by 7.48052 to get about 146.8 gallons. For other diameters, use the calculator.

Why is the volume in gallons different from cubic feet?

Gallons and cubic feet are different units. One US gallon equals 0.133681 cubic feet, or conversely, 1 cubic foot = 7.48052 gallons. The calculator gives both so you can use whichever is more convenient.

Can I use this for natural gas or air pipes?

Yes, the cross-sectional area is the same regardless of the fluid. However, for gas flow, you also need to account for pressure and temperature, which affect the density and velocity. The area calculation is just one part of the design.

Related

Formula used
in d | Inside diameter | in | 6 | 0 | 120
in l | Pipe length | ft | 10 | 0 | 10000
out a_in2 | Area | in² | pi * (d / 2)^2 | 2
out a_ft2 | Area | ft² | pi * (d / 2)^2 / 144 | 4
out v_ft3 | Volume | ft³ | pi * (d / 2)^2 / 144 * l | 2
out v_gal | Volume | gal | pi * (d / 2)^2 / 144 * l * 7.48052 | 2

Each line is one input (in, sel, list) or one result (out: label, unit, formula, decimals). How the calculators work

Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.

More in this bed

The whole Area and Shapes bed →