Read more: The 14 Best Sugar-Free Sodas Ranked The brands of ... but the same serving of Barq's root beer -- one of the more popular brands that contain caffeine -- has only 22 grams.