Landscaping & Outdoor
Drip Irrigation Calculator
Estimates dripline length, emitters, flow and application rate for a garden bed
Updated October 13, 2026 · Live
What this tool does
Estimates the inline dripline, number of runs and emitters for a rectangular garden bed from its length, width and the emitter and line spacing, with the flow and application rate at 2 L/h per emitter and the dripline cost at your price.
Enter the bed length and width and the emitter and line spacing to get the number of runs, the dripline to buy, the emitters, the flow and application rate at 2 L/h per emitter, and the dripline cost.
People also use
Formula Used
Formula Used
How the drip irrigation calculator works
A rectangular bed is watered by runs of inline dripline laid along its length, so the quantity is a counting problem. Divide the bed width by the spacing between lines and round up to get the number of runs; multiply by the bed length for the dripline to buy; divide each run by the emitter spacing and round up for the emitters in it. With the metric defaults, a 5 by 1.5 m bed at 0.4 m between lines takes four runs (1.5 ÷ 0.4 is 3.75, rounded up), 20 m of dripline, and 17 emitters per run at 0.3 m, 68 in all. On the US side a 16 by 5 ft bed at 18 in between lines takes four runs, 64 ft of line and 16 emitters per run at 12 in, 64 in all. The cost line is dripline length times your price per metre or foot and nothing else: the header pipe, the fittings, the filter and the regulator are extra.
Two more lines follow from the emitter count. At 2 litres an hour per emitter, a common inline rate (Colorado State Extension lists emitters of ½, 1, 2 and 4 US gallons an hour, and 2 L/h is 0.53 gph), the default bed draws 136 L/h (35.9 gph), which is what the tap and the zone valve have to deliver at once. And the application rate, flow divided by the area each emitter wets, is the figure that sets your run time: 2 L/h over 0.3 by 0.4 m is 16.7 mm/h (0.66 in/h), the same arithmetic as the Utah State Extension inline formula, flow per emitter × 231.1 ÷ (emitter spacing × line spacing, both in inches), which gives 0.96 in/h for its own example of 0.9 gph emitters on 12 in by 18 in. Thirty minutes at 16.7 mm/h is 8 mm of water, about what a vegetable bed uses on a hot day.
Emitter and line spacing for the soil and the crop
Water spreads sideways from a dripper further in clay than in sand, so the spacing that gives a continuous wetted strip depends on the soil. Colorado State's fact sheet 4.702 puts emitters 12 in (300 mm) apart in sand, 18 in (450 mm) in loam and 24 in (600 mm) in clay; Penn State's guide for vegetable growers says 8 to 16 in (200 to 400 mm) is common for vegetables, 12 in works on many soils, and very sandy ground needs closer still. The distance between lines follows the planting: one line per row of crops, or lines 12 to 18 in (300 to 450 mm) apart under a bed planted edge to edge, which is why the defaults sit at 0.4 m and 18 in. Tighten the line spacing and the dripline goes up in proportion; tighten the emitter spacing and only the emitter count and the flow do. A 10 by 1.2 m bed at 0.4 m lines needs 30 m and 102 emitters; the same bed at 0.3 m lines needs a fourth run and 40 m.
What this tool does not do
It counts dripline and emitters for one rectangular bed. It does not lay out a header pipe or the fittings that connect the runs, size the supply or the valve for the flow, decide how long to run the zone, or check that the far end of a long run still sees enough pressure. It assumes inline dripline with emitters at a fixed spacing; for drip tape, which Penn State rates in gallons per minute per 100 ft and runs at 6 to 15 psi, or for point-source drippers pushed into blank tubing at each plant, use the emitter count as a guide and the line length as it stands. An L-shaped or circular bed is two or three rectangles run separately and added.
On-site considerations for drip irrigation
Run the lines along the long side of the bed so there are fewer, longer runs and fewer connections to leak. Lay the dripline on the surface or just under the mulch, emitters upward so sediment settles away from the orifice, and flush each run before you cap the end. On a slope put the header at the top and the runs across the slope, because a run down the slope drains to its lowest emitters when the zone shuts off. The first run on a bare, uncovered bed shows the wetted circles on the surface: where they do not meet, the emitter spacing is too wide for the soil, and that is cheaper to find out before the plants go in.
Pressure, filtration and flow
Colorado State says drip systems are designed to run at about 20 to 30 psi (1.4 to 2 bar), with low-pressure components for a supply of 15 to 20 psi, and Utah State puts most systems between 10 and 30 psi; household mains commonly run at 40 to 100 psi (2.8 to 6.9 bar), so a pressure regulator sits at the head of almost every drip zone, with a 120 to 200 mesh filter in front of it for municipal water and a coarser first stage for a well, pond or water butt. Add up the flow row for every bed on the zone and keep it inside what the supply delivers: Colorado State limits a ½ in polyethylene mainline to 200 gph (757 L/h) and 200 ft (61 m) in a single zone. A default bed uses less than a fifth of that, so five such beds are a zone.
Before you order
Dripline is sold in coils of fixed length with emitters at fixed spacings, so round the total up to the coil and pick the coil whose spacing matches the soil rather than planning to cut emitters out. Count the fittings from the plan: one tee or elbow per run at the header, one end cap per run, plus the regulator, filter and the connector to the tap or valve. The cost line here covers the dripline only, so add those from the supplier's listing, and keep a few spare goof plugs for the holes you will punch in the wrong place.
Adjusting the defaults
Every input is editable and the result updates as you type. Measure the bed inside its edges, since the line stops at the soil. The emitter spacing slider runs from 0.1 to 1 m (3 to 48 in on the US side) and the line spacing from 0.2 to 1 m (6 to 48 in), which covers everything from a sandy salad bed to widely spaced shrubs. A line spacing wider than the bed gives a single run down the middle. The price is per metre or per foot of dripline from your supplier's quote; the unit switch above the inputs converts the defaults between feet and metres.
Using this drip irrigation calculator alongside other BuildMetricLab tools
The raised bed soil calculator fills the same bed, the rain barrel calculator sizes the stored water a low-pressure drip zone can draw on, and the artificial turf calculator covers the ground around it that needs no watering at all. Every BuildMetricLab tool runs in your browser, nothing you type is sent anywhere, and the formula is shown on the page so the maths can be audited.
Sources & methodology
Runs = ⌈bed width ÷ line spacing⌉; dripline = runs × bed length; emitters per run = ⌈bed length ÷ emitter spacing⌉; total emitters = runs × emitters per run; cost = dripline × price per metre or foot (dripline only). Flow = emitters × 2 L/h (0.53 US gph), a common inline emitter rate (Colorado State Extension fact sheet 4.702 lists emitters of ½, 1, 2 and 4 gph). Application rate = flow per emitter ÷ (emitter spacing × line spacing), with 1 L over 1 m² = 1 mm, the same arithmetic as Utah State Extension's inline formula (gph × 231.1 ÷ (emitter spacing in × line spacing in) = in/h). Spacing guidance is from Colorado State (emitters 12 in in sand, 18 in in loam, 24 in in clay; drip at 20 to 30 psi; ½ in mainline limited to 200 gph and 200 ft per zone) and Penn State (8 to 16 in for vegetables, closer on very sandy soil; drip tape at 6 to 15 psi). Imperial inputs are converted at 0.3048 m per foot before the calculation. No prices or rates are embedded; the dripline price is your input.
- Colorado State University Extension, Fact Sheet 4.702: Drip Irrigation for Home Gardens (emitters 12 in apart in sand, 18 in in loam, 24 in in clay; emitters of ½, 1, 2 and 4 gph; 20 to 30 psi; 150 to 200 mesh filter; ½ in mainline up to 200 gph and 200 ft per zone)
- Penn State Extension: Drip Irrigation for Vegetable Production (emitter spacings of 8 to 16 in common for vegetables, closer on very sandy soils; tape flow 0.2 to 1.0 gpm per 100 ft; tape at 6 to 15 psi)
- Utah State University Extension: The Do-It-Yourself Guide to Backyard Drip Irrigation (inline application rate = gph × 231.1 ÷ (emitter spacing × lateral spacing); 10 to 30 psi; 120 to 200 mesh filter)
Frequently asked questions
Are drip irrigation calculator results accurate enough to order materials?
For the dripline, yes: runs = bed width ÷ line spacing rounded up, each run the length of the bed, so the total is exact for a rectangular bed at the spacing you enter. Round up to the coil length your supplier sells, since dripline comes in fixed coils with emitters at fixed spacings. The emitter count is a count per run, exact for inline dripline; the header pipe, tees, end caps, filter and pressure regulator are not included and are counted from the plan.
Should I order extra drip line and emitters for cuts and waste?
Not much. There is no wastage allowance built in because inline dripline is cut once per run and the offcut from one run starts the next, so the only extra you need is enough to reach the header from each run (a few centimetres or inches per run) and the coil rounding. For point-source drippers in blank tubing, buy a few spare emitters and goof plugs; for an irregular bed that you have split into rectangles, add the pieces and round each to the coil.
Does this replace professional advice?
No. It counts dripline and emitters for a bed; it does not design the zone. Flow per zone, pressure at the far end of a run, filtration for a well or pond supply, and backflow protection at the tap are set by the supplier's design data and the local plumbing rules (backflow prevention on garden taps is a code requirement in most places). For a large or sloping garden, or any system fed from a shared supply, have an irrigation contractor or the supplier's design service check the layout.
Can I change the unit prices?
Yes. The price per metre or per foot of dripline is editable and the cost line is simply the total dripline length multiplied by it, in the page currency. Put in your supplier's quote for the coil you will buy; fittings, filter and regulator are priced separately.
Spotted something off?
Calculations or display — let us know.
Related tools
Calculators from other categories that planners often reach for next.













