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.
Measure the widest and narrowest OD at one cross-section.
Wall and Result Unit
Cross-Section Diagram
Ovality Limits by Standard
All limits are a share of nominal OD. Your rule is highlighted.
| Rule | Limit | Max Spread | Max OD at Your Min | Min OD at Your Max | Your Section |
|---|---|---|---|---|---|
| Thin-wall pipe | 1.5% | 0.0675 in | 4.418 in | 4.553 in | Fail |
| B31.3 bend, external | 3% | 0.135 in | 4.485 in | 4.485 in | Fail |
| Common guideline | 5% | 0.225 in | 4.575 in | 4.395 in | Fail |
| B31.3 bend, internal | 8% | 0.36 in | 4.71 in | 4.26 in | Pass |
Step-by-Step Math
- Readings: Dmax = 4.62 in, Dmin = 4.35 in, D = 4.500 in.
- Out-of-roundness = Dmax - Dmin = 4.62 in - 4.35 in = 0.27 in.
- Allowed spread at 8% = 0.08 × 4.5 in = 0.36 in.
- Ovality = 0.27 in ÷ 4.5 in × 100 = 6%.
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.
- Out-of-roundness = 4.62 - 4.35 = 0.27 in.
- Ovality = 0.27 ÷ 4.500 × 100 = 6.0%.
- 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.
| Formula | Divides By | Result for 4.62 / 4.35 in |
|---|---|---|
| (Dmax - Dmin) ÷ D × 100 | Nominal OD | 6.00% |
| (Dmax - Dmin) ÷ Dmean × 100 | Mean of the two readings | 6.02% |
| (Dmax - Dmin) ÷ (Dmax + Dmin) × 100 | Sum of the two readings | 3.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.
| Rule | Ovality Limit | Applies To |
|---|---|---|
| ASTM A530 / A999 thin-wall pipe | 1.5% of specified OD | Straight pipe with wall 3% of OD or less |
| ASME B31.3 para. 332.2.1, external pressure | 3% of nominal OD | Bends under external pressure or vacuum |
| Common fabrication guideline | 5% of nominal OD | Bends where no code limit is given |
| ASME B31.3 para. 332.2.1, internal pressure | 8% of nominal OD | Bends 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.
| NPS | Nominal OD | 1.5% Limit | 3% Limit | 5% Limit | 8% Limit |
|---|---|---|---|---|---|
| 2 | 2.375 in | 0.036 in | 0.071 in | 0.119 in | 0.190 in |
| 4 | 4.500 in | 0.068 in | 0.135 in | 0.225 in | 0.360 in |
| 6 | 6.625 in | 0.099 in | 0.199 in | 0.331 in | 0.530 in |
| 8 | 8.625 in | 0.129 in | 0.259 in | 0.431 in | 0.690 in |
| 10 | 10.750 in | 0.161 in | 0.323 in | 0.538 in | 0.860 in |
| 12 | 12.750 in | 0.191 in | 0.383 in | 0.638 in | 1.020 in |
| 16 | 16.000 in | 0.240 in | 0.480 in | 0.800 in | 1.280 in |
| 24 | 24.000 in | 0.360 in | 0.720 in | 1.200 in | 1.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
- Pick the cross-section most likely to be worst. On a bend this is usually near the middle of the arc.
- Measure the outside diameter with calipers, an OD micrometer or a diameter tape, rotating around the pipe to find the largest and smallest readings.
- Keep both readings at the same cross-section. Readings taken at different points along the pipe do not give ovality.
- Repeat at several sections along the pipe or bend, and judge the worst one. Specs limit ovality at any single section, not an average.
- 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:
| Result | Excel 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.
| Code | Covers |
|---|---|
| B31.1 Power Piping | Power stations, industrial and institutional plants, district heating |
| B31.3 Process Piping | Refineries, chemical, pharmaceutical and similar process plants |
| B31.4 | Pipelines for liquids such as crude oil and liquid products |
| B31.8 | Gas transmission and distribution piping |
| B31.9 Building Services | Heating, 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.