Keg Line Length Balancing – The Science of Draft Beer

by Brad Smith on July 14, 2011 · 73 comments

This week we take a look at the science behind designing a good draft beer system for your kegged homebrew. Everyone loves draft beer, and I consider my keg system to be one of the best purchases I’ve made in my brewing career. Kegging makes everything easier, and if you want to start kegging, please read my earlier article on how to keg. This week we’re going to look at the more advanced topic of balancing your keg lines.

In my previous article we covered how the temperature of the beer and carbonation level desired in volumes of CO2 drives the overall carbonation pressure – a number you can also calculate easily using BeerSmith. You will need to know your keg pressure as a starting point for designing your overall system. However this is not the complete story – as the lines of your keg play a very important role. In general the longer your keg lines are, the lower the serving pressure at the tap. If the tap pressure is too high or too low, the overall system is said to be out of balance and your beer will either foam or be flat.

Line Resistance is Not Futile

So how does one design a draft beer system to maintain proper balance at the tap? The pressure drop depends on resistance in the beer line. Beer lines have two types of resistance – one due to elevation change (i.e. the keg being higher or lower than the tap), and a second due to the beer lines themselves which generate friction as the beer flows through the lines.

Lets look at resistance first to keep things simple. Here are some sample resistance ratings for various popular beer lines:

  • 3/16″ ID vinyl tubing = 3 psi/ft
  • 1/4″ ID vinyl tubing = 0.85 psi/ft
  • 3/16″ ID Polyethylene tubing = 2.2 psi/ft
  • 1/4″ ID Polyethylene tubing = 0.5 psi/ft
  • 3/8″ OD Stainless tubing = 0.2 psi/ft
  • 5/16″ OD Stainless tubing = 0.5 psi/ft
  • 1/4″ OD Stainless tubing = 2 psi/ft

Generally plastic tube of smaller than 3/16″ ID is not recommended – it provides too much resistance for practical use!

So now that we have the resistance factors how to we go about designing a keg system that is in balance? For the purpose of our example lets assume that you have pressurized your kegging system at a nominal 12 psi, which at a 40F refrigerator temperature represents a mid range carbonation level of about 2.5 volumes of CO2 – typical for an average American or European beer.

At the tap end of our balanced keg system we want a slight positive pressure to push the beer out, but not enough to foam. Generally this would be between less than 1 psi. So let’s target a tap end pressure of 1 psi. The math from here is pretty easy to calculate the balanced line length (L):

  • L = (keg_pressure – 1 psi) / Resistance

So starting with our example of 12 psi keg pressure, and some typical 3/16″ vinyl keg tubing (which loses 3 lb/ft) we get L= (12-1)/3 which is 3.66 feet. So a 12 psi kegging system would provide 1 psi of pressure at the tap with 3.66 feet of tubing.

Note that some authors leave out the 1 psi tap pressure (i.e. use zero tap pressure) and simplify the equation to L= (keg_pressure/Resistance) which makes the math even easier (the simplified equation would give you 4 feet of tubing vs 3.66 ft). The truth is that you can target anywhere between zero and 1 psi at the tap and still be in balance – the difference is relatively small, though a slight positive keg pressure will give you a better flow rate.

The four foot example with 3/16″ ID vinyl is great if we only have a few feet to go (i.e. in a fridge) but what if one needs to go further? A simple switch to 1/4″ ID vinyl tubing will get us there – looking at the same 12 psi keg system we get: L = (12-1)/0.85 = 12.9 feet. So with the larger tubing we can deliver our beer to just under 13 feet. For other applications we can consider polyethylene or stainless. However if going a long distance one needs to also consider refrigeration – as you don’t want a large volume of warm beer in the lines.

Beer Line Length and Elevation

Changes in elevation also come into play if you design a more complex serving system. The rule of thumb is that your beer loses 0.5 psi/foot of elevation gain. So if your tap is 1 foot higher than the keg it loses 0.5 psi, and conversely if it is lower than the keg it will gain 0.5 psi per foot of elevation.

So if we roll this into our equation, we get the following for a given height (Height – in feet) of the tap above the keg itself:

  • L = (keg_pressure – 1 – (Height/2)) / Resistance

So lets go back to our original example of a 12 psi keg pressure, 3/16″ ID vinyl tubing and this time put the tap 2 feet above the keg itself. We get L=(12-1-(2/2))/3 which is 10/3 or a line length of 3.33 feet.

Another example with longer lines: 12 psi keg pressure, 1/4″ ID vinyl and a tap four feet above the keg gives: L=(12-1-(4/2)/0.85 which is 9/0.85 or 10.6 feet of line length.


Using the above equations, it is pretty easy to calculate the ideal line lengths for a given keg system operating at pressure. Hopefully this will help you properly balance your own keg system for home use. I intend to roll the line length calculator into a future update for BeerSmith. I hope you enjoyed this short article on balancing your kegging system. Thank you for joining me on the BeerSmith blog – and please subscribe to my newsletter or give my home brewing software a spin for some great ways to improve your homebrewing.

Related Beer Brewing Articles from BeerSmith:

Enjoy this Article? You'll Love Our BeerSmith Software!
  Don't make another bad batch of beer! Give BeerSmith a try - you'll brew your best beer ever.
Download a free 21 day trial of BeerSmith now

{ 21 comments… read them below or add one }

danny January 14, 2015 at 1:22 pm

i have soda in my kegs 45psi at 38 degrees, how many feet should i have of 3/16 line? 15feet? and the tap is 2feet higher then kegs

Brad Smith January 16, 2015 at 12:12 am

That sounds like a lot of pressure – probably too much for that temperature. You would need to balance the keg line with the keg pressure – do a quick search for “keg line balancing” and I think you’ll find my article on this.

Woody March 28, 2015 at 10:55 am

I read the article, and replaced my keggerator lines with three and a half feet of 3/16 id tubing, but still get foaming at the front of the pour, I have flow control faucets and am serving at 10 psi. I previously had a two foot run and had the same issue. After the two foot run, I tried a five foot length and poured nothing but foam, so I switched to a shorter run. As it stands now, I can see co2 rising in the line up to the tower so I’m assuming thats where the foaming is an issue. How can I prevent that? Is it a pressure issue?

Pat May 9, 2015 at 6:01 am

I am a draft installer And refrigeration guy. 1 thing you guys are missing. It’s all about the relationship of temperature and pressure. Higher the temp the more restriction and subsequent pressure u need. Altitude also plays a big role. Look up the Denver effect – coors brewing discovered that when they took their rocky mtn beers and pressure requirements down from the mountains. They use 9′ on straight Co2. At lower elevations, their beer turned to whipped cream. Ok- soda water is different from beer, but Co2 will only stay dissolved in a liquid substrate if the pressure and temp are in balance. As the product rises above 38f, the Co2 molecules expand in size and exert greater internal keg pressure. Applied pressure must exceed the natural internal keg pressure and again, depends on temp. And also volumes of Co2 dissolved in your particular beer, which varies if brewed properly by style..
I do this every day and there is much dispute over the restriction value of 3/16″id vinyl or PVC tubing. It used to be 3psi/ft, now many argue it’s 2.2psi/ft. Neither seems to work and when I press the suppliers, no one knows where the values come from because the tubing manufacturers don’t test it for restriction. 1/4″ is .8/ft – 5/16″ is .4 – 3/8″ is .2 for vinyl… poly tubing 1/4″ is .6 – 5/16″ is .2 – 3/8″ is .07/ft…. barrier tubing is as follows – 3/16″ = 2.0/ ft – 1/4″ is .3/ft – 5/16″ is.1/ft – 3/8″ is .06/ ft …. Generally 1/2″id across all variations is considered o.o/ft and is for running a distance of up to 500′ (Stadiums, venues, large ships, etc) Guys, I used to brew when I wasn’t working 100+ hours a week running my business, so I’ve done all aspects + draft technician at a Guinness distributor for 20+ years. Let me just say, balancing, troubleshooting, and installing draught beer is closer to rocket science than anyone realizes and I’m sorry to say, but I’ve never seen any info on any home brewers forum that is remotely close to correct. General rule for BEER, NOT SODA OR SDOA WATER when u are say 1500′ or so above sea level, unless you are dealing with a nitrogenated stout or ale is KEEP YOUR PRODUCT BETWEEN 36f & 38f +/- 1 degree IS OK AND USE STRAIGHT CO2 SET AT 12 – 14PSI AND USE 5′ OF 3/16″id HIGH QUALITY BEVERAGE TUBING AND If you’re tapping a fridge directly with a shank and quality faucet, and you don’t have wild beer, it should pour trouble free. Again, every style of beer is different. GENERALLY speaking, nitro stouts and ales have the lowest specific carbonation rates, then ESB ales, ales, lagers. Pilsners, then wheat beers, gueze, and lambics . GENERALLY SPEAKING. The Home Brewer’s Bible, etc can give more specifics. If you run your beer to a remote tower, it must stay refrigerated all the way to the faucet or temp/pressure will get out of balance and the Co2 will bust out and foam will ensue. If using straight Co2, never exceed 16.5psi unless u are above 5000’altitude. Use the correct combination of tubing to stay around 16.5psi and figure on using a minimum of 3′ when figuring your run. If above 38f temp, use more restriction and increase applied pressure up to 17psi only if beer is stored @ 42f max. If it’s 45, use blended gas and u can hit 40psi (depending on co2/n2 ratio) if beer is over 45, you are screwed. Ice it down. The colder the beer, the more readily it will absorb co2 at lower pressures – colder isn’t always better. 12psi should be the lowest you restrict at for most beers. For rise/fall calculations – add .5 every foot of lift & subtract .5 every foot of drop. Measure from the bottom of the keg to faucet spout for most applications, about 1.5psi.. So, say – 5′ of 3/16″ @ 2.2 lbs/ft + 1.5psi from rise = 12.5+/- a little for keg connectors and shank length variation (btw) 1/4″id shank is best. If you do soda, use pure co2 and much higher pressures and much more restriction to keep it carbonated. Sorry, I don’t have time to go into a lengthy discussion on soda theory and practice… Hope this explains and allows fixes for some of your problems. In closing, IF THE APPLIED PRESSURE TO YOUR KEG DOES NOT EXCEED THE NATURAL INTERNAL KEG PRESSURE BY WAY OF TEMPERATURE AND VOLUMES OF CO2 DISOLVED IN YOUR BEER, YOUR BEER WILL GO FLAT. Nature hates imbalance and if u don’t apply enough positive pressure to exceed natural keg pressure, nature will balance that out by out-gassing the disolved co2 from your beer into the headspace of the keg until everything is at a natural equilibrium again. Seriously, ROCKET SCIENCE guys and gals. I could actually go on for several hours or longer about this stuff, but I have to sleep and work, so I bid you goodnight and good brewing.

Pat May 9, 2015 at 6:17 am

Sorry, actually Brad did mention pressure/temperature relationship, but seemed to be just in passing. In reality, it is universally important to so many things. I occasionally set up a system with beer pumps for a beer purists bar where the pump is the motive force and co2 is set at a pressure to maintain the brewers intended specific carbonation rate for that beer. Fun, fun, fun. My apologies to Brad- I was reacting more to the questions and complaints and bragging of the great unwashed wondering why they were having problems. So many reasons, so little time. Restriction, related to pressure, related to temperature, and the condition ofriends the tapping equipment, and oh yeah, is it a bad/spoiled keg and was it even brewed and/carbonated correctly. Was it force carbonated or natural. What, I’m rusty 1 cup of corn sugar if you bottle and only 1/3 cup if you keg. Details, there the Devil lays.

Jim May 19, 2015 at 12:20 pm

Hey Woody – I have had a similar experience. I switched to longer serving lines and my foaming issues are gone. These calculations sound great, but don’t seem to match my real-world experience. I am running 10 ft 3/16 lines at 10PSI right now on picnic taps as my kegerator refrigeration broke and I had no way to serve. No foam, and no problems with beer reaching the glass. I am going to try 4 ft of 3/16 on my current keezer build with perlick 630ss faucets. I will report back when I have the project complete and let you know how it pours. I wonder if you could have a problem with your ball lock (assuming ball lock) not seating/operating correctly. Check the gaskets and poppits in your posts. They are cheap to replace. In the past I have had CO2 mixing into the beer at the post (I believe) making for crazy foam when I poured. I replaced the gaskets and the shameful waste stopped. I know that if I had 2 ft of 3/16 at 10 PSI the beer would come blasting out of there and would be all foam. Try a 10 ft. length and see what happens.

Matt July 15, 2015 at 3:04 am

Hi, glad the discussions are still very much alive, I have a few questions for when using an in-line chiller (such as the Cornelius maxi range) with python cooling all the way to the faucet.
1. Is the length of the chilling coil included in the calculation?
2. Where the chiller is 3/8″ ID and the rest of the beer line is 3/16″, how do you calculated this?
3. Where is it best to have the the chiller, immediately after the beer leaves the keg?



TwoRow August 6, 2015 at 11:04 am

I agree with a number of posters here. The equation/math says I shouldn’t need more than 4.5 ft. I’m up to 7 ft. of 3/16″ line now and it still foams excessively at 12 psi. I guess I’ll take the opposite approach that I have been taking. That is, install 12 ft of 3/16 in line and start cutting it until the system is balanced. Its better to cut from one long line than constantly buying more line a foot at a time.

Michael Allen August 12, 2015 at 7:27 am

I have read and understand the requirements associated with balancing a draft beer system. Here is my question: I am currently carbonating at 21 psi at 66 degrees. When I purchased my draft system, I ordered 7 foot long beer hoses, not knowing any better. I plan to store my beer at 38 degrees, and in order to have 0 to 1 PSI at the tap, I will have to pump 21 PSI into the keg. I plan to store my beer at 38 degrees once the carbonation process is complete. Doing so will increase my volume of CO2 considerably. If I purge the keg and reduce the current volume of CO2 in the keg, once the carbonation process is complete, and then use the 21 PSI to pump the beer through the 7 foot lines, will I over carbonate the beer in the keg? I am trying to avoid having to reduce the length of the beer line, but it looks like I may have to cut it. I am also setting up a nitrogen system, do the same PSI rules apply?

Brett Binns December 15, 2015 at 3:17 pm

I am looking for a factor for 5/16″ PVC Bevlex tubing. Pat’s “poly” numbers I believe are confused – they go down and then up as the diameter increases. Does anyone have a good number? Or for that matter, it would be great to hear if someone has practical experience with 5/16″ beer lines. It isn’t what I ordered but I am trying to make the best of the situation.

Brett Binns December 15, 2015 at 3:28 pm

An update as I keep reading from the web: Our friends at BYO posted a page at stating that the factor for 5/16″ tubing is .4 psi/ft. I will work with that unless I hear otherwise from one of you…

Anthony February 22, 2016 at 3:08 am

Hi there,

I’m in the same boat I’ve recently built a kegarator and started of with roughly 4ft beer lines and got froth every pour.
I went to nearly double and still foam every time. My serving pressure is at 10 psi and my kegs I would say maybe a foot and a half from my taps. Also having trouble carbing it I have no leaks either. Please help as I’m over wasting good beer.

Joe March 6, 2016 at 1:27 am

in the equation and example above dealing with height differences, L = (keg_pressure – 1 – (Height/2)) / Resistance, shouldn’t the Height/2 be added to account for losing the psi where the tap is above the keg as in the example? L should equal (12-1+(2/2))/3 = 4 ft. An increase over the 3.66 ft needed for no elevation difference.

Mark May 27, 2016 at 5:30 am

Agreed. I had the same thought. rho*g*h

Russell May 30, 2016 at 7:49 pm

I’m building a portable kegerator with 2.5 gallon kegs inside a wheeled cooler. I was wondering would you recommend a 3/16 or 5/16″ beer line, and how long? The shank will be drilled through the front of the cooler, so it won’t have any elevation.

Adam May 31, 2016 at 10:39 pm

Joe, imagine your tap was 10 feet above the keg, (12-1+(10/2))/3 = 5.33 feet.
It would not make sense to be adding more length (resistance) to balance your system the further the beer has to climb. You need less resistance to compensate for the pressure loss due to elevation.

Russell, definitely you want to use the 3/16″ ID tubing. This article tells you that you would need longer beer lines to balance your system if your used the larger ID tubing. Most people recommend 5 feet of 3/16 tubing. Set your temp to 36 degF – 38 degF and your regulator to 8 – 12 psi.

Eirik H June 21, 2016 at 1:24 pm

I shamelessly took this formula and made an online version of it at that also support metric units (bars and meters).

Timothy October 23, 2016 at 1:39 pm

These calculations are wrong. I know this because I followed the above instructions and my beer poured way too fast, and there was way too much foam. Go to this website for the correct calculation.

Carl November 13, 2016 at 10:24 pm

Does anyone In this forum work near Chicago? I’m looking to install 19 taps and the beer chiller is in the basement 30ft away

Evan January 16, 2017 at 6:33 pm

Thanks Brad,

I listen to your podcast regularly, I am really enjoying the content.

Again with this thread you have taught me something new, your simple explanation and math is really appreciated.

Cheers from Australia,


glenn January 19, 2017 at 10:57 pm

This is a very very simplified version of calculating system head loss in fluid systems which they use to find out what pump they should use in mechanical engineering. basically they calculate this is two sections static & dynamic head.
In which the following factors apply:
-height difference (between keg top fluid and outlet)
-temperature and in turn viscosity (thickness of the beer) (fully insulate any exposed lines that are in the sun or warm areas)
-friction of tubing material (different materials have different roughness)
-diameter of tubing ( bigger diameter will give you less resistance)
-changes in diameter of the lines (this has a big impact in shocking the system, dont have a small diameter go to a bigger one and back to small)
-pressure differences (what you set your regulator at and what altitude you are working)
-bends and curves and hops (k factor, this is when your fluid is being thrown around inside the lines like in a super-chiller or chiller plate or elbow fittings, which agitate and stir up the fluid)

Leave a Comment

{ 2 trackbacks }

Previous post:

Next post: