Black tea contains 20mg of caffeine per 100g, while coffee for the same amount contains double the number (40mg). Hence, coffee ranks higher in terms of caffeine content.