Water Supply Connection Calculator

Last updated: 2026-08-10

Use the Water Supply Connection Calculator to get instant, accurate results. Enter your values below.
Inputs
Technical Parameters
Dimensions
Result
Enter values and press Calculate
Common Sizes — Click to Fill
Connection length (m) Flow rate (L/s) (L/s)
Small bathroom 8 m 0.25 L/s
Medium bathroom 11 m 0.375 L/s
Large bathroom 15 m 0.5 L/s
Apartment 22 m 0.75 L/s
House 30 m 1 L/s

When designing or evaluating a domestic or small commercial water supply system, one of the first technical steps is determining the correct pipe size. The Water Supply Connection Calculator is a practical tool that solves this problem instantly by calculating the normalized pipe diameter based on your flow rate and pipe length. Whether you are a plumber, an engineer, or a DIY homeowner planning a new connection, this calculator helps you select the right commercial pipe size without guesswork.

What the Water Supply Connection Calculator Does and When to Use It

The Water Supply Connection Calculator takes two key inputs: the required flow rate in litres per second (caudal_lps) and the length of the pipe run in metres (longitud_m). It then computes the theoretical pipe diameter needed to carry that flow at a standard velocity of 1.5 metres per second, and rounds it up to the nearest commercially available normalized pipe size (20 mm, 25 mm, 32 mm, 40 mm, or 50 mm). This is a critical step in water supply design because using a pipe that is too small leads to excessive pressure loss and poor performance, while an oversized pipe wastes material and money.

You should use this calculator whenever you need to size a new water supply line from a main or a tank to a building, or when upgrading an existing connection. Typical scenarios include rural house connections, irrigation systems, small apartment buildings, or any project where you need a quick and reliable metric-based pipe sizing check. The calculator assumes a standard flow velocity of 1.5 m/s, which is widely accepted in plumbing codes for cold water supply to avoid noise and erosion.

The Formula Explained Variable by Variable

The calculator uses a straightforward hydraulic formula based on the continuity equation. Here is each variable and its role:

Q (caudal_lps) – This is the design flow rate entered in litres per second. It is the total amount of water that must pass through the pipe per second at peak demand. For example, if a house needs 0.5 litres per second for simultaneous taps and showers, that value is Q.

L (longitud_m) – The length of the pipe in metres. While the calculator currently uses this input for future enhancements like friction loss (not yet implemented), it is required for validation. In the current version, L does not affect the diameter calculation directly, but it must be a positive number for the tool to function.

v – This is the target flow velocity, fixed at 1.5 metres per second. This value is a standard recommendation for water supply pipes because it balances low noise, minimal pressure drop, and reasonable pipe size. Higher velocities cause water hammer and erosion; lower velocities may leave pipes oversized.

A (A_m2) – The cross-sectional area of the pipe in square metres, calculated as Q divided by v (with Q converted to cubic metres per second). The formula is A = (Q / 1000) / v. Since Q is in litres per second, dividing by 1000 converts it to cubic metres per second.

D (D_m) – The theoretical pipe diameter in metres, derived from the area using the formula for the area of a circle: D = √(4 × A / π). This gives the exact diameter needed to achieve the target velocity.

D_mm – The theoretical diameter converted to millimetres by multiplying D_m by 1000 and rounding to one decimal place.

D_norm – The normalized pipe diameter, rounded up to the nearest standard commercial size. The calculator checks: if D_mm is 20 or less, it selects 20 mm; if up to 25 mm, it selects 25 mm; up to 32 mm, it selects 32 mm; up to 40 mm, it selects 40 mm; otherwise 50 mm. This ensures you always get a pipe size that is widely available and safely above the theoretical minimum.

Two Worked Examples with Concrete Numbers

Example 1: Small House Connection

Suppose you are connecting a single-family home that needs a peak flow of 0.3 litres per second, and the pipe run from the street main to the house is 25 metres. Enter Q = 0.3 and L = 25. The calculator first computes the area: A = (0.3 / 1000) / 1.5 = 0.0002 square metres. The theoretical diameter in metres is D = √(4 × 0.0002 / 3.1416) ≈ 0.01596 m, which is 15.96 mm. Since 15.96 mm is less than 20 mm, the normalized diameter becomes 20 mm. The calculator also returns the flow in cubic metres per hour: 0.3 × 3.6 = 1.08 m³/h. So the recommended pipe size is a standard 20 mm pipe (often called ¾ inch in imperial terms).

Example 2: Larger Apartment Block

Imagine a small apartment building with a peak flow of 1.2 litres per second and a pipe length of 40 metres. Input Q = 1.2 and L = 40. The area is A = (1.2 / 1000) / 1.5 = 0.0008 square metres. The theoretical diameter is D = √(4 × 0.0008 / 3.1416) ≈ 0.0319 m, which is 31.9 mm. This falls between 25 mm and 32 mm, so the normalized diameter is 32 mm (commonly referred to as 1 ¼ inch imperial). The flow in cubic metres per hour is 1.2 × 3.6 = 4.32 m³/h. A 32 mm pipe is a common size for medium-demand connections and will handle the load without excessive velocity.

Common Mistakes When Using the Calculator

Entering flow rate in the wrong units: The calculator expects the flow rate in litres per second (caudal_lps). A frequent error is entering litres per minute or cubic metres per hour directly. To convert: if you have litres per minute, divide by 60 to get litres per second. For example, 30 litres per minute is 0.5 L/s.

Ignoring the length input: Although the current version does not use length to calculate diameter, the calculator still requires a valid number for longitud_m. If you leave it empty or enter zero, the tool may return an error. Always provide a reasonable length, even if approximate, to avoid breaking the calculation.

Assuming the normalized size is the exact minimum: The normalized diameter is always rounded up from the theoretical value. Some users mistakenly think they can use the exact calculated diameter (e.g., 15.96 mm) instead of the nearest commercial size (20 mm). This would lead to undersized pipes because 15.96 mm pipes do not exist. Always use the normalized output.

Overlooking the fixed velocity assumption: The calculator assumes a constant flow velocity of 1.5 m/s. If your local code requires a different velocity (e.g., 1.0 m/s for noise-sensitive areas or 2.0 m/s for fire supply), this calculator will not adjust. In such cases, use the formula manually with your target velocity.

Frequently Asked Questions

What does "normalized pipe diameter" mean?

Normalized pipe diameter refers to the nearest standard commercial pipe size that is at least as large as the theoretical calculated diameter. In metric plumbing, common sizes are 20 mm, 25 mm, 32 mm, 40 mm, and 50 mm. The calculator always rounds up to the next available size to ensure the pipe can safely carry the required flow without exceeding the design velocity.

Can I use this calculator for imperial pipe sizes?

The calculator outputs diameters in millimetres, but you can easily match them to common imperial equivalents. For instance, 20 mm is close to ¾ inch, 25 mm is close to 1 inch, 32 mm is about 1 ¼ inches, 40 mm is about 1 ½ inches, and 50 mm is roughly 2 inches. Keep in mind that imperial pipe sizing has slightly different wall thicknesses, so always verify compatibility with your local standards.

Why is the pipe length input required if it does not affect the calculation?

The pipe length field is included for future versions that will incorporate friction loss calculations using the Hazen-Williams formula. In the current version, it serves as a required field to validate the input. Always enter the estimated length of your pipe run to ensure the tool works correctly and to prepare for upcoming enhancements that will give you a more complete design recommendation.

Written and reviewed by the CalcToWork editorial team. Last updated: 2026-08-10.