Skip to pipe sizing calculator

Pipe Sizing Calculator for GPM, Water Flow & Fixture Units

Estimate internal diameter and nominal pipe size from flow rate and velocity, check an existing pipe, or total fixture units for a planning-size supply and drain.

Pipe size calculator

FreeBrowser-basedNo uploadUS + metric units

Example targets, not code limits

ft/s

Design target only. Many cold-water checks sit near 4 to 8 ft/s.

ASTM D1785 IPS bore. Another PVC product line can differ.

Advanced pressure check

Recommended pipe size

1"

NPS 1" · DN 25

Within target

Required ID
0.904 in · 23.0 mm
Actual ID
1.049 in · 26.6 mm
Actual velocity
3.71 ft/s · 1.13 m/s
Pressure loss
Not checked

Why this size?

10.00 GPM at 5.00 ft/s needs 0.904 in inside. The smallest PVC Schedule 40 size with at least that bore is 1" (ID 1.049 in), so velocity is 3.71 ft/s.

Results update as you change the inputs.

Next smaller

3/4"

6.02 ft/s

Above velocity target

Recommended

1"

3.71 ft/s

Within target

Next larger

1-1/4"

2.15 ft/s

Within target

Pipe Sizing Calculator: Quick Answer

A pipe sizing calculator estimates the internal diameter from a flow rate and a velocity target, then matches that bore to a nominal pipe size. Flow alone does not pick a diameter. A higher velocity fits the same GPM through a smaller bore, and a lower velocity needs a larger one.

Real water-pipe sizing can also depend on pressure loss, developed length, fittings, pipe material, and the plumbing code adopted where the work is done. Use the result as a planning estimate, then check the project against those limits.

How to Use the Pipe Sizing Calculator

  1. Enter the water flow rate in GPM, liters per minute, or liters per second.
  2. Use the US or metric control. Results still show inches and millimeters.
  3. Enter a design velocity in ft/s or m/s. The default 5 ft/s is an example target, not a code limit.
  4. Select the pipe family and schedule or series, or enter a custom inside diameter.
  5. Review the required internal diameter, the recommended nominal size, and the velocity through the actual bore.
  6. Open the pressure check and enter length, fitting allowance, and the pressure you can afford to lose.

How to Calculate Pipe Size From Flow Rate

Water moving at a steady rate fills the bore. Flow equals area times velocity:

Q = A × v
A = πD² / 4
D = √(4Q / (πv))

D(in) = √(0.4085 × GPM / velocity(ft/s))
v(ft/s) = 0.4085 × GPM / D(in)²

The last two lines are the same relationship in GPM, inches, and feet per second. Do not drop GPM straight into a metric velocity. The calculator converts units before it uses the formula.

Nominal pipe size is the name on the pipe. The velocity check uses the actual inside diameter for that material and schedule. A 1-1/2 inch name is not a 1.5 inch hole.

IDFlow Q through the boreVelocity v along the pipeDiameter is the inside, not NPS

Water Pipe Sizing for Plumbing

A bathroom branch and a house main are different pipes. The branch sees one or two fixtures. The main sees overlapping use. Enter the flow you are actually sizing, not the sum of every fixture nameplate as if they all run together.

Fixture-unit mode is the other way to sketch demand. It totals simplified WSFU for a supply suggestion and DFU for a drain suggestion. Final code sizing can still change with the adopted code, available pressure, developed length, fitting losses, fixture type, occupancy, and the jurisdiction. This table is not a permit drawing.

Simplified fixture weights used on this page
FixtureWSFUDFU
Toilet33
Sink1.51
Shower22
Bathtub42
Dishwasher1.51
Clothes washer2.52
Hose bib2.50

If any toilet is counted, this planning table will not suggest a drain smaller than 3 in. A local code table can use a different minimum.

Pipe Friction Loss and Pressure Drop

A diameter can meet the velocity target and still give up too much pressure on a long run. Friction grows with length and flow, and it drops quickly as the inside diameter gets larger. Rougher pipe and extra fittings add loss. Elbows and valves are entered here as equivalent length, added to the straight run.

hf(ft) = 10.44 × L(ft) × GPM^1.852 / (C^1.852 × ID(in)^4.87)
psi = hf / 2.31

C is a Hazen-Williams coefficient stored with the material: 150 for PVC and PEX, 140 for copper, and 120 for steel. Those are design placeholders. An older or scaled pipe can need a lower C. For 30 GPM through 100 ft of 1.610 in pipe at C = 150, the head loss is about 5.21 ft (2.26 psi).

PVC, PEX, Copper and Steel Pipe Sizing

Material changes the bore you actually get at a given nominal size, and it changes the friction coefficient. PVC Schedule 40 and steel Schedule 40 share the IPS dimensions in this list, but steel uses a lower C, so the same bore loses more pressure. Copper is sized from ASTM B88 Type K, L, or M walls. PEX here is SDR 9 on copper-tube-size outside diameter.

Do not treat one inside diameter as universal. Schedule 80 is thicker than Schedule 40. Type K copper is thicker than Type M. A PEX brand can publish a minimum ID slightly under the SDR geometry. When the product sheet lists a bore, use custom inside diameter.

GPM to Pipe Size Chart

Target velocity 5 ft/s. Material is PVC Schedule 40. The nominal size is the smallest listed IPS size whose inside diameter is at least the required bore. It is not a rule for every material or every velocity.

  • 5 GPM → 3/4"

    Required 0.639 in · Actual ID 0.824 in · 3.01 ft/s

  • 10 GPM → 1"

    Required 0.904 in · Actual ID 1.049 in · 3.71 ft/s

  • 15 GPM → 1-1/4"

    Required 1.107 in · Actual ID 1.380 in · 3.22 ft/s

  • 20 GPM → 1-1/4"

    Required 1.278 in · Actual ID 1.380 in · 4.29 ft/s

  • 30 GPM → 1-1/2"

    Required 1.566 in · Actual ID 1.610 in · 4.73 ft/s

  • 40 GPM → 2"

    Required 1.808 in · Actual ID 2.067 in · 3.82 ft/s

  • 50 GPM → 2"

    Required 2.021 in · Actual ID 2.067 in · 4.78 ft/s

  • 75 GPM → 3"

    Required 2.475 in · Actual ID 3.068 in · 3.25 ft/s

  • 100 GPM → 3"

    Required 2.858 in · Actual ID 3.068 in · 4.34 ft/s

Pipe Sizing Examples

10 GPM at 5 ft/s

Required ID is 0.904 in. PVC Schedule 40 3/4 inch has an ID of 0.824 in, which is under that bore, so velocity would exceed 5 ft/s. The next size, 1", has ID 1.049 in and velocity 3.71 ft/s. The larger bore is why the velocity lands under the target.

30 GPM at 5 ft/s

Required ID is 1.566 in. PVC Schedule 40 1-1/4 inch (ID 1.380 in) is short of that. 1-1/2" (ID 1.610 in) is the first size that covers it, at 4.73 ft/s.

Existing 1-1/2 inch pipe at 30 GPM

30.00 GPM at 5.00 ft/s needs 1.566 in inside. The smallest PVC Schedule 40 size with at least that bore is 1-1/2" (ID 1.610 in), so velocity is 4.73 ft/s. The check uses the Schedule 40 bore of 1.610 in, not the nominal 1.5. Switch the family to Schedule 80 and the same name has a 1.500 in bore, so the velocity rises.

Common Pipe Sizing Questions

How do I calculate pipe size from GPM?

Divide the work into two steps. Find the inside diameter from GPM and velocity, then choose a catalog size whose real bore is at least that large.

What size pipe do I need for 10, 20, or 30 GPM?

At 5 ft/s on PVC Schedule 40, 10 GPM points to 1", 20 GPM points to 1-1/4", and 30 GPM points to 1-1/2". Change the velocity or the material and the nominal size can change with it.

Does pipe material change the recommended size?

It can. PEX SDR 9 has a smaller bore than PVC Schedule 40 at the same nominal name, so a flow that fits in 1 inch PVC may need the next PEX size. Copper type works the same way.

How does pipe length affect pressure drop?

Head loss in the Hazen-Williams check is proportional to length. Double the run, including fitting equivalent length, and you double the estimated loss if flow, C, and ID stay the same.

Common Pipe Sizing Mistakes

  1. Using nominal size as the bore. Velocity has to use the inside diameter.
  2. Mixing units. GPM with m/s, or liters with inches, without converting, will invent a diameter.
  3. Adding every fixture nameplate. Fixtures do not all run at full flow at the same time. Fixture units are one way codes account for that, and they are not the same as GPM.
  4. Ignoring length. A short branch can be fine at a velocity that is too lossy on a 200 ft main.
  5. Ignoring fittings. A cluster of elbows can add as much loss as a long straight section.
  6. Assuming every material shares a bore. PVC, PEX, and copper at 3/4 inch are not the same hole.
  7. Rounding down. If the required bore is 1.566 in, a 1.380 in ID does not meet the target.
  8. Treating this as permit-ready design. It does not replace the adopted code or a project-specific design.

Frequently Asked Questions

How do I calculate pipe size from GPM?

Convert GPM and velocity to an internal diameter with D = square root of (0.4085 × GPM / velocity in ft/s). Then pick the smallest listed pipe whose actual inside diameter is at least that large. Nominal size alone is not the bore.

What size pipe do I need for 10 GPM?

At 10 GPM and a 5 ft/s target, the required inside diameter is 0.904 in. On PVC Schedule 40, the smallest listed size that meets that bore is 1" (ID 1.049 in, velocity 3.71 ft/s).

What size pipe do I need for 20 GPM?

At 20 GPM and a 5 ft/s target, the required inside diameter is 1.278 in. On PVC Schedule 40, the smallest listed size that meets that bore is 1-1/4" (ID 1.380 in, velocity 4.29 ft/s).

What size pipe do I need for 30 GPM?

At 30 GPM and a 5 ft/s target, the required inside diameter is 1.566 in. On PVC Schedule 40, the smallest listed size that meets that bore is 1-1/2" (ID 1.610 in, velocity 4.73 ft/s).

What is the difference between nominal pipe size and inside diameter?

Nominal pipe size (NPS) is the name of the size, such as 1-1/2 inch. The inside diameter is the actual bore the water flows through. Schedule, copper type, and PEX SDR change that bore even when the nominal name stays the same.

Does Schedule 40 vs Schedule 80 change velocity?

Yes. Schedule 80 has a thicker wall and a smaller bore at the same nominal size, so the same GPM moves faster. PVC Schedule 40 1-1/2 inch has an ID of 1.610 in. Schedule 80 at that nominal size has an ID of 1.500 in.

What velocity should I use for water pipe sizing?

There is no single required velocity. Many cold-water designs are checked around 4 to 8 ft/s to limit noise and erosion. A lower target makes a larger pipe. Use the velocity your designer or local practice calls for, and treat the calculator default as an example.

What are WSFU and DFU?

Water supply fixture units (WSFU) and drainage fixture units (DFU) are demand weights used in plumbing codes. This page uses a simplified residential table so you can see a planning size. It is not the adopted IPC or UPC table for your city.

Is this pipe sizing calculator code compliant?

No. It is a browser planning estimate from flow and velocity, an optional Hazen-Williams friction check, and a simplified fixture-unit table. Permit design still depends on the adopted code, pressure, developed length, fittings, and the authority having jurisdiction.

Can this calculator be used for PVC, PEX, and copper?

Yes, for the listed series: PVC Schedule 40 and 80, PEX SDR 9, and copper Types K, L, and M, plus steel Schedule 40 and 80. If your product bore is different, enter a custom inside diameter. The lists are standard published bores, not every manufacturer.

How to read this estimate

The math runs in your browser. Flow, velocity, pipe choice, and fixture counts are not uploaded to EverydayTools. Results are estimates. Verify the applicable plumbing code and the project-specific pressure, length, and material requirements before you buy or install pipe. Local amendments differ, and this page does not certify a design.