Water Supply Connection Calculator

Last updated: 2026-09-28

Water Supply Connection Calculator — Water supply pipe sizing based on flow rate and pipe length.
Inputs
Result
Enter values and press Calculate
Common Examples — Click to Fill
Flow rate (L/s)Connection length
Small bathroom 0.258
Medium bathroom 0.37511
Large bathroom 0.515
Apartment 0.7522
House 130

Water Supply Connection Calculator: Pipe Sizing Made Simple

TL;DR: To calculate the water supply pipe diameter, use the formula d = √(4Q / (π × v)), where Q is the flow rate in m³/s, v is the target water velocity (typically 1.5 m/s for optimal performance), and d is the internal pipe diameter in meters — for example, a 2 L/s flow rate at 1.5 m/s requires a 41 mm minimum internal diameter, meaning you'd select a commercial DN40 or DN50 pipe depending on the total run length.

What Is the Water Supply Connection Calculator?

The water supply connection calculator is an engineering tool that determines the minimum internal pipe diameter required to deliver a specific flow rate (in liters per second) over a given pipe length without excessive pressure loss. It is designed for plumbers, hydraulic engineers, irrigation system designers, and homeowners planning a new water service connection from a municipal main or a private well.

This calculator addresses a critical design question: what size pipe should you bury or install to ensure adequate water pressure at the point of use? Undersized pipes create friction losses that reduce pressure at showers and appliances, while oversized pipes waste money on materials and installation. By assuming an optimal water velocity of 1.5 m/s — a standard value that balances pump energy costs against pipe wear and noise — the calculator gives you a fast, reliable starting point for your pipe sizing.

The tool is particularly useful for residential service lines (typically 20–50 meters long), agricultural irrigation feeds, or commercial connections. It converts a hydraulic requirement into a concrete, commercially available pipe size (DN40, DN50, etc.), saving you time on complex Bernoulli equation calculations or friction loss tables.

How to Use the Calculator

Follow these steps to get your recommended pipe diameter. The calculator has been simplified to require only two inputs, making it accessible even for non-engineers.

  1. Enter the required flow rate (L/s): This is the maximum instantaneous water demand you expect from the connection. For a residential house with 2 bathrooms and a garden tap, 2 L/s is typical. For irrigation systems, add the flow of all simultaneously operated sprinklers. The calculator accepts values in liters per second (L/s).
  2. Enter the pipe length (m): Measure the total physical length of the pipe run from the water source (municipal main, well, or tank) to the farthest point of use. Include vertical rises and horizontal distances. The length is in meters (m).
  3. Click "Calculate": The calculator processes your inputs using the optimal velocity method and returns: the recommended commercial pipe diameter in millimeters (mm) and inches ("), the actual water velocity achieved, and the total pressure loss (head loss) in bars over the specified length.

The output will show a specific pipe size (e.g., DN40 = 40 mm). If your pipe length is long (over 30 m), the calculator accounts for this in the pressure loss estimate, which may lead you to select the next larger size (e.g., DN50 instead of DN40) to keep pressure losses below 0.5 bar.

Formula and Calculation Method

The calculator uses the principle of continuity of flow combined with a predefined optimal velocity. The core assumption is that water should flow at 1.5 m/s in a pressure pipe. This speed is low enough to prevent pipe erosion and excessive noise, but high enough to avoid using unnecessarily large pipes.

The governing formula is the flow-continuity equation rearranged to solve for diameter:

d = √(4 × Q / (π × v))

Where:

  • d = internal pipe diameter (meters)
  • Q = volumetric flow rate (m³/s)
  • v = flow velocity (1.5 m/s)
  • π = 3.14159

Worked example (the exact logic of the calculator):

Suppose you need a flow rate of 2 L/s. First, convert to m³/s: 2 L/s = 0.002 m³/s. Next, plug into the formula: d = √(4 × 0.002 / (3.14159 × 1.5)) = √(0.008 / 4.712) = √(0.001698) = 0.041 meters = 41 mm.

Since 41 mm is not a standard commercial size, the calculator selects the nearest available options: DN40 (40 mm) or DN50 (50 mm). The decision between these is guided by the pipe length. For a short run (e.g., 10 m), DN40 will suffice because the pressure loss (approximately 0.1 bar) is acceptable. For a longer run (e.g., 30 m), the frictional losses accumulate, so the calculator recommends DN50 to reduce velocity and keep the total pressure drop safe.

The calculator then recalculates the actual velocity for the chosen diameter. For DN50, the velocity becomes v = Q / (π × (d/2)²) = 0.002 / (π × 0.025²) = 1.02 m/s. The pressure loss (pérdida de carga) is estimated using the Darcy-Weisbach equation simplified for water, typically yielding around 0.35 bar for a 30 m DN40 pipe at 1.02 m/s. The tool reports this so you can verify your system has sufficient residual pressure.

Practical Examples

Here are three realistic scenarios showing how the calculator behaves with different inputs.

ScenarioFlow Rate (L/s)Pipe Length (m)Recommended DiameterActual VelocityPressure Loss
Tiny house / single bathroom1 L/s15 mDN32 (32 mm / 1 ¼")1.24 m/s0.18 bar
Standard family home (2 bathrooms + garden)2 L/s30 mDN50 (50 mm / 2")1.02 m/s0.31 bar
Medium irrigation system (10 sprinklers)4 L/s50 mDN80 (80 mm / 3")0.80 m/s0.42 bar

Key insight from the table: Notice how the recommended pipe jumps from DN40 to DN50 in the standard home example because the 30-meter length adds friction. If you installed DN40 at 30 m, the pressure loss would exceed 0.6 bar, which might reduce your shower pressure significantly. Always check the pressure loss output, not just the diameter.

Tips for Accurate Results

To get the most reliable pipe sizing from this tool, pay attention to these practical nuances:

  • Use peak demand, not average: Enter the maximum simultaneous flow — when all taps, showers, and appliances could run at once. For a 4-person home, 2 L/s is standard; do not use 1 L/s unless it is genuinely a small dwelling. Undersizing leads to pressure drops during morning rush hour.
  • Measure the true pipe run: Include every bend, valve, and fitting in your length estimate, but do not overcomplicate. Add 10–15% to the physical distance to account for fittings (elbows, tees) that add friction not included in the simple length-based loss calculation.
  • Do not round down pipe size: The calculator output (e.g., 41 mm) is a minimum. Commercial pipes have a nominal internal diameter that may have thin walls. For example, a DN40 PVC pipe may have an internal diameter of 36 mm. If you use the exact 41 mm result, you must confirm the selected pipe's internal diameter is at least that value, or you'll have to jump to the next size.
  • Watch the velocity limit: If your flow is very high (above 4 L/s) and you use a small pipe, the velocity will exceed 2.5 m/s, causing water hammer noise and premature erosion. The calculator's 1.5 m/s start keeps you safe, but if you are using a pump, follow its recommended suction and discharge speeds separately.
  • Pressure loss context: A typical municipal supply has 3–4 bar at the meter. If your calculated pressure loss is above 1 bar, your appliance (boiler, pump) may not work correctly. If the result shows loss > 1 bar, manually select a larger pipe diameter in your planning.
  • Units consistency: Enter flow in L/s, not m³/h or gallons per minute. One L/s equals 3.6 m³/h. If you have a 5 m³/h pump, convert to 1.39 L/s before entering.

Frequently Asked Questions

1. What is the optimal water velocity for a domestic supply pipe?

For standard domestic and commercial water supply lines, the recommended flow velocity is 1.5 meters per second (m/s). This is an industry standard from plumbing codes (e.g., BS EN 806) because it keeps noise levels low, prevents erosion in copper and PVC pipes, and avoids water hammer. Speeds below 0.7 m/s are fine, but may allow air pockets to settle; speeds above 2.5 m/s cause pressure surges and excessive noise. The 1.5 m/s target balances efficiency and durability. If you have a long run (over 40 m), you may aim lower (around 1.0–1.2 m/s) to reduce pressure losses.

2. How do I convert my water meter's capacity to L/s for this calculator?

Check your water meter or municipal bill; it often shows a capacity in m³/h. To convert to L/s, divide by 3.6. Example: a meter rated at 7.2 m³/h gives 7.2 / 3.6 = 2 L/s. If you have a pump, read the datasheet: a 1.5 kW pump typically delivers around 2.5 m³/h (0.69 L/s) at 3 bar head. Use that value. Never input the pump's maximum flow at zero head, as that is unrealistic. Use the flow rate at your required operating pressure (typically 2–4 bar).

3. Why is the calculated pipe diameter different from my old pipe's size?

This usually happens for three reasons: (1) The old pipe is undersized because it was designed for a lower flow rate — modern homes use more fixtures simultaneously, so 40 mm (DN40) is now often insufficient for 30 m + runs. (2) The old pipe may be made of steel or galvanized iron, which has a rough internal surface, creating higher friction; the calculator assumes a clean, modern material like PVC, PEX, or copper. (3) Your old pipe length may be incorrect — the calculator's result of 50 mm for a 2 L/s, 30 m run is correct for PVC; if your existing 40 mm steel pipe works, it may be because your real peak demand is less than 2 L/s. Always measure your actual flow with a bucket and stopwatch before re-piping.

Related Calculators