The amount of caffeine in coffee varies with the product and preparation, so an average value should not be treated as a measurement of every cup. The source discusses factors including coffee type, roast and brewing, while also illustrating how a large pot differs from a single serving.
If a product gives caffeine per one hundred milliliters, scale that concentration to the volume actually consumed. A value stated per bottle or serving needs a different calculation. Count espresso shots and other caffeine-containing ingredients according to their own information rather than assuming a café drink's name supplies an exact number.
Use current product data where available, and keep an estimate clearly labeled as an estimate. A larger beverage can contain more total caffeine even when a smaller drink is more concentrated. Machine cup markings, fluid ounces and ordinary mugs can also describe different quantities. Accurate units make the comparison useful; they do not turn a generalized figure from an older article into a personalized health limit.

The conversation
A good question can make a better brew.