This drip irrigation calculator sizes a simple drip system for raised beds or garden rows. Enter how many beds you have, their size, how many drip lines you will run through each bed, the emitter spacing and flow rate, and how much water the garden needs each week. The calculator returns the number of emitters, the total flow in gallons per hour, the length of tubing to buy, and how long to run the system each week. It also warns you if the total flow is more than one supply line usually carries, so you know when to split the garden into zones.
How to use the drip irrigation calculator
- Enter the number of beds or rows and the length and width of each. If your beds differ in size, run the calculator for each group and add the results.
- Set the drip lines per bed. A common guide is one line for every 12 to 18 inches of bed width, so a 4-foot bed usually takes 2 or 3 lines.
- Enter the emitter spacing. Inline drip tubing is sold with emitters built in at fixed spacings, typically 6, 12 or 18 inches.
- Choose the emitter flow. Common flows are 0.5, 1 and 2 gallons per hour.
- Enter the water needed per week. About 1 inch is typical for vegetables. The garden watering calculator adjusts that for weather and crops.
- Enter the supply tubing length. This is the solid tubing from the faucet to the beds and between them.
How the calculation works
Emitters = beds × lines per bed × (bed length ÷ emitter spacing)
Flow (gal/hour) = emitters × emitter flow
Weekly gallons = bed area × inches × 0.62 ÷ 0.9
Run time = weekly gallons ÷ flow
The 0.9 accounts for drip irrigation’s high efficiency. About 90 percent of the water reaches the root zone, compared with roughly 70 percent for overhead sprinklers.
Worked example: three 4 by 8 beds
Three 4-by-8-foot beds, each with 2 lines of drip tubing with 0.5 gallon-per-hour emitters every 12 inches. Each line holds 8 emitters, so the system has 3 × 2 × 8 = 48 emitters, delivering 24 gallons per hour. The beds total 96 square feet, which at 1 inch per week needs about 66 gallons. The system therefore runs about 2 hours 46 minutes a week, or three sessions of about 55 minutes. With 48 feet of drip line in the beds and 25 feet of supply tubing, you need about 73 feet of tubing in total.
Parts of a drip system
A basic garden drip system is simple, and most parts are sold in starter kits. From the faucet outward, the usual order is:
- Backflow preventer. Stops garden water from siphoning back into your household supply. Many local plumbing codes require one.
- Timer (optional but recommended). A battery timer at the faucet runs the system automatically, which makes deep, regular watering easy.
- Filter. Catches grit that would clog emitters. A fine screen filter, often around 150 to 200 mesh, is standard.
- Pressure regulator. Household water pressure is usually much higher than drip systems are designed for. A regulator reduces it to the range the tubing and emitters are made for, commonly around 25 to 30 psi.
- Hose adapter. Connects the faucet parts to the drip tubing.
- Supply tubing. Solid ½-inch poly tubing carries water to the beds.
- Drip lines. Emitter tubing, or solid tubing with punched-in emitters, runs through each bed.
- End caps or flush valves. Close the end of each line and let you flush out sediment.
Inline emitter tubing or individual emitters?
Inline emitter tubing has emitters built into the line at regular intervals. It is the easiest choice for vegetable beds, where plants are close together and you want even moisture along the whole bed. You simply lay lines along the bed and connect them to the supply line.
Individual emitters are punched into solid tubing exactly where you want them. They suit widely spaced plants such as shrubs, fruit trees and containers, where water is only needed at specific points. Each plant can get a different flow, for example a 2-gallon-per-hour emitter for a shrub and a 0.5-gallon-per-hour emitter for a small perennial.
Drip tape is a thin, flat tubing used mostly for long rows on larger plots. It is inexpensive but less durable, and is often replaced every season or two.
Choosing emitter spacing and flow
Soil type is the main factor. Water from a drip emitter spreads sideways and downward in a wetted zone shaped like an onion. In sandy soil, water moves mostly straight down, so the wetted zone is narrow. In clay, water spreads sideways much more.
| Soil | Emitter spacing | Emitter flow |
|---|---|---|
| Sandy | 6–12 in | 1–2 gal/hour |
| Loam or raised bed mix | 12 in | 0.5–1 gal/hour |
| Clay | 12–18 in | 0.5 gal/hour |
Lower flows suit clay because they give water time to soak in instead of pooling. In raised beds filled with a loose mix, 12-inch spacing and 0.5 to 1 gallon per hour work well for most vegetables.
How many lines per bed?
For a 4-foot-wide bed, two lines about 12 inches in from each side cover most crops. Closely planted crops such as lettuce, carrots and onions benefit from three lines, so no part of the bed is far from an emitter. Large, widely spaced plants such as tomatoes and squash can manage with one or two lines, or with individual emitters at each plant.
Run lines parallel to the long side of the bed. In square foot gardens, a grid of lines or a loop around the bed can work well. Pin lines down with landscape staples and cover them with mulch to reduce evaporation and protect the tubing from sunlight.
Flow limits and zones
A single ½-inch supply line can only carry so much water before pressure drops along its length. As a common rule of thumb, one ½-inch line handles up to about 200 to 240 gallons per hour, and runs of up to about 200 feet. Smaller ¼-inch micro tubing is usually limited to short runs of around 30 feet or less. Check the manufacturer’s limits for the exact products you buy.
If your garden needs more flow than one line can handle, split it into two or more zones and water them one after another, either manually or with a multi-outlet timer. The calculator warns you when the total flow goes over 240 gallons per hour.
Setting run times
The weekly run time from the calculator is a starting point. Divide it into two or three sessions a week for most soils, fewer and longer for clay, and more frequent for sandy soil or containers. After the first run, dig a small hole near an emitter to check how deep and wide the moisture has spread. You want moist soil at least 6 inches down around the roots.
Adjust for the season. Young plants in spring need much less water than mature plants in July. Turn the timer down or off after significant rain, or add a rain sensor if your timer supports one.
Maintaining a drip system
- Flush the lines at the start of the season and every few weeks by opening the end caps and running water through.
- Clean the filter regularly, especially if your water carries sediment.
- Check emitters while the system runs. Clogged emitters leave dry spots, and leaks show up as puddles or spraying water.
- Protect from freezing. In cold climates, drain the system and bring the timer, filter and regulator indoors for winter.
- Watch for damage from tools, pets and animals chewing on tubing.
Drip versus soaker hoses
Soaker hoses are porous hoses that seep water along their whole length. They are cheaper and simpler to set up than drip, which makes them a good starting point for a few beds. However, they water unevenly over long runs, with more water near the faucet end, and they are more affected by water pressure. Drip systems cost more but deliver water evenly and predictably, and parts can be added as the garden grows.
For a single bed or two, a soaker hose on a timer is a perfectly good solution. For larger gardens or several beds, drip is usually worth the extra cost. Either way, collecting rainwater can supply some of the water. The rain barrel calculator shows how much your roof can collect.
Common mistakes
- Skipping the pressure regulator. High pressure can blow fittings apart and make emitters spray.
- Skipping the filter. Clogged emitters are the most common drip problem.
- Runs that are too long. Water pressure drops along very long lines, so far emitters deliver less.
- Too few lines in wide beds. Crops between lines go dry in sandy soil.
- Setting a timer and forgetting it. Adjust run times as plants grow and the weather changes.
Installing drip in raised beds, step by step
- Plan the layout. Sketch the beds, the faucet, and the route for the supply line. Note how many drip lines each bed needs.
- Assemble the head. At the faucet, connect the backflow preventer, timer, filter and pressure regulator in that order, then the adapter for ½-inch tubing.
- Run the supply line. Lay ½-inch solid tubing along the ends of the beds. Leaving the tubing in the sun for an hour first makes it easier to straighten.
- Connect the bed lines. Punch a hole in the supply line at each bed and insert a connector or a tee, then attach the emitter tubing.
- Lay and pin the lines. Run emitter tubing along each bed and pin it with landscape staples every few feet.
- Cap the ends and flush. Run water with the ends open to flush out debris, then close them with end caps or figure-8 closures.
- Test. Run the system and check every emitter, connection and end cap for leaks or dry spots before covering the lines with mulch.
Drip for containers
Drip is especially useful for containers, which need frequent watering. Run ½-inch tubing near the pots, then use ¼-inch micro tubing to carry water from the main line to each container, with an emitter or a small stake at the end. Give larger pots more flow, for example a 2-gallon-per-hour emitter or two 1-gallon-per-hour emitters in a large container, and a 0.5-gallon-per-hour emitter in small pots. Because containers dry out quickly, short daily runs often work better than longer runs a few times a week.
Adding a timer
A timer is the single most useful drip upgrade. It waters at the same time every day or every few days, ideally early in the morning, whether you are home or away. Simple battery timers attach directly to the faucet. More advanced timers support several zones, rain delays and smartphone control. Set run times from the calculator, then adjust after checking soil moisture.
Frequently asked questions
How long should I run drip irrigation in a vegetable garden?
Divide the weekly gallons your beds need by the total emitter flow. For three 4-by-8 beds with 48 half-gallon emitters, that is about 2 hours 45 minutes a week, often split into three runs of about 55 minutes.
How many drip lines do I need in a 4-foot bed?
Usually two, about 12 inches in from each edge. Use three lines for closely planted crops or sandy soil.
What emitter spacing should I use?
Around 12 inches suits most raised beds and loam. Use closer spacing in sandy soil, where water spreads less sideways, and wider spacing in clay.
How many emitters can I put on one line?
It depends on the total flow. As a rule of thumb, one ½-inch line handles about 200 to 240 gallons per hour. At half a gallon per hour, that is roughly 400 to 480 emitters. Check your tubing manufacturer’s limits.
Do I need a pressure regulator for drip irrigation?
In most homes, yes. Household water pressure is usually higher than drip systems are designed for, and a regulator protects fittings and keeps emitter flow consistent.
Is drip irrigation better than a sprinkler?
For vegetable beds, usually. Drip delivers about 90 percent of the water to the roots, keeps leaves dry, which reduces disease, and avoids watering paths and weeds.
Can I connect drip irrigation to a rain barrel?
Yes, but a barrel provides only low gravity pressure. Use soaker hoses or drip products designed for low-pressure systems, raise the barrel on a stand, and keep runs short.
How much does a basic drip system cost?
A starter kit for a few raised beds, with tubing, connectors, a filter and a pressure regulator, is usually inexpensive, often in a similar range to a good hose and sprinkler. A timer adds to the cost but saves time and water.