Pipe Ovality Calculator

The Pipe Ovality Calculator finds out-of-roundness from the max, min and nominal outside diameter, then checks the result against ASME B31.3 bend limits and the ASTM thin-wall 1.5% rule.

Quick Setup

Measure the widest and narrowest OD at one cross-section.

in
in
in
%
Wall and Result UnitWall 0.237 in (Sch 40) · in
in
Ovality on Nominal OD
6% Ovality
(Dmax - Dmin) ÷ nominal OD × 100, the basis used by ASME B31.3 and ASTM A999
0.27 in Out-of-Roundness
In Millimeters6.858 mm
Mean Measured OD4.485 in
Out-of-roundness is Dmax - Dmin at one cross-section, the number specs actually limit.
75% of the 8% Limit
Max Spread Allowed0.36 in
Max OD at Your Min4.71 in
Checks your spread against limit × nominal OD, the way ASME B31.3 332.2.1 words it.
6.02% on Mean OD
On Max + Min OD3.01%
Dmax ÷ Dmin Ratio1.0621
The same readings under the mean-OD and the Engineers Edge max + min conventions.
5.267% Wall-to-OD Ratio
Mean Inside Diameter4.011 in
Thin-Wall Mill RuleNot thin-wall
ASTM A999 caps straight thin-wall pipe, wall 3% of OD or less, at 1.5% ovality.
Cross-Section DiagramSpread 0.27 in
Dmax Dmin Ovality 6% Max OD 4.62 in Min OD 4.35 in Nominal 4.5 in Shape exaggerated ×6 Dashed: round at mean OD
Ovality Limits by StandardNominal OD 4.5 in

All limits are a share of nominal OD. Your rule is highlighted.

RuleLimitMax SpreadMax OD at Your MinMin OD at Your MaxYour Section
Thin-wall pipe1.5%0.0675 in4.418 in4.553 inFail
B31.3 bend, external3%0.135 in4.485 in4.485 inFail
Common guideline5%0.225 in4.575 in4.395 inFail
B31.3 bend, internal8%0.36 in4.71 in4.26 inPass
Step-by-Step MathO = (Dmax - Dmin) ÷ D × 100
  1. Readings: Dmax = 4.62 in, Dmin = 4.35 in, D = 4.500 in.
  2. Out-of-roundness = Dmax - Dmin = 4.62 in - 4.35 in = 0.27 in.
  3. Allowed spread at 8% = 0.08 × 4.5 in = 0.36 in.
  4. Ovality = 0.27 in ÷ 4.5 in × 100 = 6%.
Within Your 8% Limit
Check several cross-sections along the pipe and judge the worst one. Specs limit ovality at any one section, not an average.

How to Calculate Pipe Ovality

Pipe ovality is how far a pipe cross-section has drifted from a true circle. You measure the largest and smallest outside diameter at the same section, take the difference, and divide it by the nominal outside diameter. The pipe ovality calculator does this in inches, millimeters, centimeters or meters.

  • O is ovality in percent.
  • Dmax is the largest outside diameter measured at one cross-section.
  • Dmin is the smallest outside diameter at that same cross-section.
  • D is the nominal (specified) outside diameter of the pipe, not the NPS number.

The difference Dmax - Dmin on its own is the out-of-roundness, in inches or millimeters. Ovality simply expresses that number as a share of the pipe size, so a 0.27 in spread means far more on a 2-inch pipe than on a 24-inch one.

Example: NPS 4 Pipe After Bending

The pipe ovality calculator opens with an NPS 4 bend. Its nominal OD is 4.500 in, and the readings at the worst section are 4.62 in and 4.35 in.

  1. Out-of-roundness = 4.62 - 4.35 = 0.27 in.
  2. Ovality = 0.27 ÷ 4.500 × 100 = 6.0%.
  3. Allowed spread at 8% = 0.08 × 4.500 = 0.36 in, so the section passes with 75% of the limit used.

The same 6.0% fails a 3% or 5% limit. That is why the limit you check against matters as much as the math.

Pipe Ovality Formulas and Why Results Differ

Not every reference divides by the same diameter. Engineers Edge lists two forms, one over the nominal OD and one over the sum of the two readings. Many inspection reports also use the mean of the two readings.

FormulaDivides ByResult for 4.62 / 4.35 in
(Dmax - Dmin) ÷ D × 100Nominal OD6.00%
(Dmax - Dmin) ÷ Dmean × 100Mean of the two readings6.02%
(Dmax - Dmin) ÷ (Dmax + Dmin) × 100Sum of the two readings3.01%

The nominal-OD and mean-OD forms land within a few hundredths of a percent. The sum form gives about half the value, which can make a failing bend look acceptable. ASME B31.3 and the ASTM thin-wall rule both state their limits on nominal or specified OD, so use the first form when checking against them. The pipe ovality calculator shows all three so you can match whatever your spec uses.

Pipe Ovality Tolerance Standards and Acceptance Criteria

There is no single ovality limit for all pipe. The right figure depends on whether you are checking straight pipe from the mill or a bend, and which code governs the job.

RuleOvality LimitApplies To
ASTM A530 / A999 thin-wall pipe1.5% of specified ODStraight pipe with wall 3% of OD or less
ASME B31.3 para. 332.2.1, external pressure3% of nominal ODBends under external pressure or vacuum
Common fabrication guideline5% of nominal ODBends where no code limit is given
ASME B31.3 para. 332.2.1, internal pressure8% of nominal ODBends under internal pressure

ASME B31.3 calls ovality of a bend "flattening" and measures it as the difference between maximum and minimum diameters at any cross-section. The 5% figure is a fabricator rule of thumb, not a code value, so agree on it in writing before you rely on it.

Other codes and project specs can be tighter. Gas pipelines once carried a federal 2½% ovality limit for field bends, which PHMSA removed in 1985 as redundant. Always check the code edition and the project specification that apply to your line.

Maximum OD Spread by Pipe Size

Multiply the limit by the nominal OD to get the largest Dmax - Dmin a section can show. The table uses standard NPS outside diameters in inches. Multiply by 25.4 for millimeters. The pipe ovality calculator shows the same figure as Max Spread Allowed for whatever size you enter.

NPSNominal OD1.5% Limit3% Limit5% Limit8% Limit
22.375 in0.036 in0.071 in0.119 in0.190 in
44.500 in0.068 in0.135 in0.225 in0.360 in
66.625 in0.099 in0.199 in0.331 in0.530 in
88.625 in0.129 in0.259 in0.431 in0.690 in
1010.750 in0.161 in0.323 in0.538 in0.860 in
1212.750 in0.191 in0.383 in0.638 in1.020 in
1616.000 in0.240 in0.480 in0.800 in1.280 in
2424.000 in0.360 in0.720 in1.200 in1.920 in

For metric pipe the method is the same, and the size list includes DN 15 to DN 600 outside diameters from EN 10220 and ISO 4200. A DN 150 pipe with a 168.3 mm OD may spread 13.5 mm at 8% and 5.0 mm at 3%. Readings of 171.2 mm and 165.9 mm give a 5.3 mm spread, which a pipe ovality calculator reports as 3.15% ovality.

Thin-Wall Pipe: The ASTM 1.5% Rule

ASTM A530 and A999 define thin-wall pipe as pipe with a wall thickness of 3% or less of the outside diameter. For that pipe, the difference between the extreme OD readings at any one section may not exceed 1.5% of the specified OD, as quoted in this discussion of the A530 text.

Thin pipe tends to go oval during annealing and straightening, which is why the rule exists. When you pick an NPS size, the pipe ovality calculator fills in its Schedule 40 wall and shows whether the pipe counts as thin-wall. Type your own wall if the pipe is a different schedule.

NPS 4 Schedule 10S has a 0.120 in wall, which is 2.67% of its 4.500 in OD. It counts as thin-wall, so its spread may not pass 0.0675 in. The same size in Schedule 40 (0.237 in wall, 5.27% of OD) is not thin-wall and falls under the normal OD tolerance instead.

Most Schedule 40 sizes are not thin-wall. NPS 20 (0.594 in wall, 2.97% of OD) and NPS 24 (0.688 in wall, 2.87%) are the exceptions in the common range. This rule covers straight pipe as supplied. Bends made from that pipe are judged by the bending limits of the governing code.

How to Measure Ovality

  1. Pick the cross-section most likely to be worst. On a bend this is usually near the middle of the arc.
  2. Measure the outside diameter with calipers, an OD micrometer or a diameter tape, rotating around the pipe to find the largest and smallest readings.
  3. Keep both readings at the same cross-section. Readings taken at different points along the pipe do not give ovality.
  4. Repeat at several sections along the pipe or bend, and judge the worst one. Specs limit ovality at any single section, not an average.
  5. Enter the worst pair into the pipe ovality calculator with the correct nominal OD.

A diameter tape reads the mean OD from the circumference. It is useful for the OD tolerance check but cannot show ovality on its own.

Finding the Max or Min OD That Still Passes

Inspectors often need the go/no-go reading before measuring. Rearranging the formula gives the limiting diameter, and the pipe ovality calculator solves it in its Max Allowed OD and Min Allowed OD modes.

If a 4.500 in bend under external pressure reads 4.40 in at its narrowest point, the widest reading at that section may be 4.40 + 0.03 × 4.500 = 4.535 in. Anything wider fails the 3% limit.

Finding Nominal OD from a Stated Ovality

Some reports give the ovality percent and the two readings but not the pipe size. Rearranging the formula recovers the nominal OD.

Readings of 4.62 in and 4.35 in with a stated 6% ovality give D = 0.27 ÷ 0.06 = 4.500 in, which is NPS 4. The pipe ovality calculator solves this in its Nominal OD mode and names the closest NPS size.

If the result lands far from the mean of your readings, the report likely used a different base. The same readings stated as 3.01% (the max + min form) would give 8.97 in, about double the 4.485 in mean, which points to the sum formula rather than nominal OD.

OD, ID and Wall Thickness of Pipe

Pipe is sized by its outside diameter, while flow depends on the inside diameter. The two are linked by the wall thickness t.

NPS 4 Schedule 40 has a 4.500 in OD and a 0.237 in wall, so its ID is 4.026 in. For NPS 12 the OD is 12.750 in, and the 0.406 in Schedule 40 wall leaves an 11.938 in ID. From NPS 14 upward, the OD in inches equals the NPS number. To see what the bore carries, use the Pipe Flow Calculator or the Pipe Volume Calculator.

Pipe Ovality Calculator Formula in Excel

With Dmax in A2, Dmin in B2, nominal OD in C2 and your limit in percent in D2, these formulas match the calculator:

ResultExcel Formula
Ovality %=(A2-B2)/C2*100
Allowed spread=D2/100*C2
Pass or fail=IF((A2-B2)/C2*100<=D2,"Pass","Fail")
Ovality on mean OD %=(A2-B2)/((A2+B2)/2)*100

ASME B31 Piping Codes at a Glance

Several People Also Ask questions concern which B31 section applies. Each section covers a different kind of piping system, as summarized in this code scope guide from Los Alamos.

CodeCovers
B31.1 Power PipingPower stations, industrial and institutional plants, district heating
B31.3 Process PipingRefineries, chemical, pharmaceutical and similar process plants
B31.4Pipelines for liquids such as crude oil and liquid products
B31.8Gas transmission and distribution piping
B31.9 Building ServicesHeating, cooling, steam and water piping in buildings

B31.3 is the code most often quoted for bend ovality, through its 8% and 3% flattening limits.

Frequently Asked Questions

What is pipe ovality?

Pipe ovality is the out-of-roundness of a pipe cross-section, given as the difference between its largest and smallest outside diameters divided by the nominal OD. A perfectly round pipe has 0% ovality.

What is the difference between ovality and roundness?

Ovality is one measure of roundness. It compares two diameters at one section. Roundness in machining (circularity) checks every point of the surface against a pair of circles, so it can catch lobed or flat shapes that two diameter readings miss.

What is ovalization?

Ovalization is the process of a round pipe becoming oval. It happens during bending, under external pressure or soil load, and in thin-wall pipe during heat treatment. Buried flexible pipe resists it through firm side support, which is what the Pipe Bedding Calculator helps you size.

What is the tolerance in mm?

A tolerance in mm is the allowed difference from a stated size. For pipe OD, ASTM A999 allows -0.031 in (about 0.8 mm) under on all sizes and, for NPS 1½ to 4, +0.031 in over. Ovality limits are separate from OD tolerance on thin-wall pipe.

What is 1% tolerance?

A 1% tolerance means the value may differ from nominal by 1% of that nominal. For a 168.3 mm OD, that is ±1.68 mm, or a range of 166.6 to 170.0 mm.

What is 0.05 tolerance?

A 0.05 tolerance usually means ±0.05 of the stated unit, such as ±0.05 mm. A 50.00 mm part with that tolerance may measure from 49.95 to 50.05 mm.

How do you calculate a tolerance?

Subtract the nominal value from the measured value to get the deviation. Divide by the nominal and multiply by 100 for a percent. The part passes when the deviation sits inside the plus and minus limits.

What is the difference between ASTM and ASME?

ASTM writes material and product specifications, such as A106 and A530 for steel pipe. ASME writes design and construction codes, such as the B31 piping codes, and its rules call up ASTM-type material specifications.

Is ASME B31.1 a code or a standard?

B31.1 is a code section. It is one part of the ASME B31 Code for Pressure Piping, which sets mandatory rules once a jurisdiction or contract adopts it.

What is the difference between ASME B31.3 and B31.4 or B31.8?

B31.3 covers piping inside process plants. B31.4 covers liquid pipelines, and B31.8 covers gas transmission and distribution lines. Each has its own rules for bends, testing and design factors.

What is 2% slope in piping?

A 2% slope drops 2 ft for every 100 ft of run, which is about ¼ in per foot. The Pipe Slope Calculator converts between percent, fall per foot and angle.

How do you calculate a pipe angle for an offset?

For a simple offset, travel = offset ÷ sin(fitting angle). A 12 in offset with 45° fittings needs a 16.97 in travel. Use the Rolling Offset Calculator when the offset runs in two directions.

How do you check pipe quality on site?

Check the markings against the order, measure OD, wall thickness and ovality at several points, and look for dents, gouges and weld defects. Use the pipe ovality calculator on the worst OD pair you find.

What does oval mean?

Oval means egg-shaped, from the Latin ovum for egg. In piping it describes a cross-section that is wider in one direction than the other.