Calculator
Beer line length calculator
How long should your beer line be? The answer depends on serving pressure, temperature, line inner diameter, and how far the keg sits below the faucet. Plug in your setup, get a balanced length range and a foam-risk read.
How the calculation works
Beer line balance is a friction equation. Your keg pushes beer at the regulator setting (say 12 PSI). The beer needs to arrive at the faucet at roughly atmospheric pressure (0 PSI). The line between them must drop that pressure to zero through friction. Plus you need to overcome the vertical rise: 0.43 PSI per foot of vertical lift.
For 3/16" inner diameter vinyl line, each foot drops about 2.2-3 PSI of pressure (depending on flow rate and beer viscosity). For 1/4" line, each foot drops only about 0.5-0.85 PSI. Larger-ID lines need much more length to achieve the same balance.
The formula in this calculator is the home-kegerator standard:
Line length = (PSI − rise penalty) ÷ pressure-drop-per-foot
What the result tells you
- Balanced length: the line length that produces atmospheric pressure at the faucet. Within ±10% of this, pour quality should be good.
- Pressure loss per foot: how much friction your line geometry produces.
- Total drop needed: serving pressure plus vertical-rise penalty.
Common scenarios
Stock kegerator (4-6 foot line, 3/16" ID, 12 PSI, 2 ft rise): usually under-length. The math says you need ~10 feet. Replace with 10-12 feet of 3/16" line for noticeably better pour quality.
Long horizontal run (3/16" line, 15+ feet, no rise): can over-restrict at higher pressures. If you're getting slow pours, drop pressure slightly OR step up to 1/4" line for the long runs.
Cellar to upstairs bar (10+ feet rise): the vertical penalty adds 4-5 PSI of pressure need. You'll likely run higher serving pressure (16-18 PSI) and longer 1/4" line (30+ feet). This is closer to commercial setup territory than typical home.
Stout / nitrogen tap (30 PSI, 38°F): very different math. Nitrogen mix uses restrictor plates rather than line length for balance. Use a stout faucet with built-in restriction; line length matters less.
When the math says one thing but you're still foaming
Line length is one input among several. If you've matched the calculator and still get foam, run the other checks:
- Temperature is actually 38°F at the faucet (not just in the kegerator). Lines warm during pours.
- Beer line is actually 3/16" ID. Wrong line stock is common.
- Faucet is fully open (don't half-open).
- Regulator is reading accurately. See the foamy beer diagnostic.
- Lines are clean. Biofilm narrows effective diameter and creates foam. See cleaning frequency.
Related reading
Setup-first context: first kegerator setup walkthrough. CO2 sizing: 5 lb vs 10 lb vs 20 lb tanks. The cost math: kegerator ROI calculator.
People also ask
Why is 3/16-inch line standard for home kegerators?
Three reasons: it produces enough friction per foot to balance typical home pressures (10-14 PSI) at reasonable line lengths (8-14 feet); it's cheap and widely available; and the smaller ID minimises wasted beer in the line between pours. Larger-ID lines work but require dramatically more length.
How much line length should I add for vertical rise?
Each foot of vertical rise adds ~0.43 PSI of effective serving pressure that the line needs to drop. For 3/16-inch line, that's roughly 0.15-0.2 feet of additional line per foot of rise. A 5-foot rise needs about 1 extra foot of line vs a flat setup at the same pressure.
Can I use too long a beer line?
Yes. Over-restricted lines produce slow pours, more in-line foam buildup, and difficult cleaning. If your pour takes more than 15-20 seconds to fill a pint, the line is too long or the pressure is too low. Reduce line length or raise pressure to rebalance.
Does temperature affect line length math?
Slightly. Warmer beer is less viscous and produces slightly less friction per foot. For typical home range (36-42°F) the effect is small (under 10% change in required length). For dramatically warmer setups (cellar at 55°F), the math shifts more meaningfully.
Should I use the same line for all beer styles?
Yes for almost everything except nitrogen-poured stouts. Standard 3/16-inch vinyl handles lagers, IPAs, ales, ciders, and most kegged beverages with appropriate pressure adjustment. Stouts (Guinness, Murphy's) need a different system entirely: nitrogen gas blend + stout faucet with internal restrictor.
How often should I replace beer line?
Vinyl lines last 12-18 months with regular cleaning. After that, internal scoring begins to trap biofilm and creates foam regardless of cleaning frequency. PTFE-lined or specialty draught lines last 3-5 years. Replacement is the cleaner-than-cleaning fix when persistent foam survives a deep clean.
Sources & references
Claims in this article cross-check against the following. We link out so you can verify.
- Draught Beer Quality Manual: Balance Calculations — Brewers Association standard
- Beer Line Length Calculations — Brewers Friend reference
- Vinyl Beer Line Specifications — KegWorks manufacturer
- Draught system balance principles — Draught Masters reference
- r/kegerators line length discussions — r/kegerators community