The formula
Keg pressure (psi) = −16.6999 − 0.0101059T + 0.00116512T² + 0.173354TV + 4.24267V − 0.0684226V² (T in °F, V = volumes CO₂)
Residual CO₂ after fermentation = 3.0378 − 0.050062T + 0.00026555T² (T = warmest temperature after fermentation, °F)
Priming sugar (g) = (target − residual volumes) × litres × sugar factor (dextrose 4.0, sucrose 3.82, DME 5.33 g per litre per volume)
Worked example
- A 5-gallon (18.9 L) batch to 2.5 volumes, served at 38 °F:
- Keg pressure ≈ 11.2 psi (0.78 bar).
- After fermenting at 68 °F, the beer already holds 0.86 volumes, so 1.64 volumes must be added.
- Bottle priming with corn sugar: 1.64 × 18.9 × 4.0 ≈ 124 g (4.4 oz), about 2.3 g per 355 mL bottle.
What CO₂ volumes mean
Carbonation is measured in volumes of CO₂: the volume the dissolved gas would occupy at standard temperature and pressure, relative to the volume of beer. A beer at 2.5 volumes contains 2.5 litres of CO₂ gas for every litre of beer. Styles have typical ranges: British cask ales around 1.5–2.0 volumes, most American ales and lagers 2.2–2.8, Belgian ales 2.8–3.5 and German wheat beers up to 4.5. Choosing the right level makes a big difference to mouthfeel, head and how aromas are released.
Force carbonating a keg
In a keg, CO₂ dissolves into the beer until it reaches equilibrium with the gas pressure in the headspace. Colder beer absorbs more CO₂, so the same carbonation needs less pressure at lower temperatures. The calculator uses the widely used Zahm and Nagel relationship to give the regulator setting. At equilibrium, a set-and-forget approach takes about 1–2 weeks; shaking or using a carbonation stone speeds things up but makes over-carbonation easier. Once carbonated, keep the pressure constant and balance your lines so the beer pours without foaming.
Priming bottles
For bottle conditioning, a measured dose of sugar is added before bottling, and the remaining yeast ferments it, producing CO₂ in the sealed bottle. Some CO₂ is already dissolved after fermentation, depending on the warmest temperature the beer reached after fermentation finished, so enter that temperature rather than your bottling or serving temperature. Corn sugar is the traditional choice; table sugar is equally effective at slightly lower weight, while dry malt extract needs about a third more. Dissolve the sugar in a little boiled water and mix it gently into the whole batch.
Safety
Over-carbonated bottles can burst, sending glass flying. Always weigh priming sugar rather than measuring by volume, make sure fermentation has truly finished by checking that the gravity is stable over several days, and use bottles rated for the carbonation level: standard beer bottles are generally fine up to about 3 volumes, while higher levels need heavy Belgian-style or champagne bottles. Store bottles somewhere safe at room temperature for 2–3 weeks to condition, then refrigerate.
Cider, kombucha and soda
The same principles work for cider, mead, kombucha and homemade soda, although wild yeasts and residual sugars make kombucha and some ciders less predictable. If the drink isn't fully fermented to dryness, residual sugar will keep fermenting in the bottle, so priming can over-carbonate it. Check the final gravity with a hydrometer before priming; our ABV calculator and Brix converter help interpret readings.
Balancing draft lines
For a clean pour, line resistance should roughly match keg pressure. Typical 3/16-inch vinyl beer line has a resistance of about 2–3 psi per foot, so a keg at 12 psi often needs around 5–6 feet of line, plus allowance for the height of the tap above the keg. Too little line gives fast, foamy pours; too much gives a slow trickle.
Troubleshooting
Flat bottles after three weeks usually mean the yeast was exhausted, too cold or too little sugar was used; move bottles somewhere warmer and wait. Gushing bottles mean too much sugar, an unfinished fermentation or an infection. With kegs, foamy pours often come from serving lines that are too short for the pressure, or beer that's warmer than the pressure was set for. Lowering the pressure, chilling the beer and lengthening the lines usually fixes it.