Prep method matters so much though. For comparison, a standard double shot of espresso is typically 18g of coffee. This would yield approximately 110mg of caffeine.
By comparison, the same 18g brewed using a pour over method should yield an 8oz cup of coffee with … likely around 170mg of caffeine.
I remember reading somewhere that the amount of caffeine in the cup is also proportional to the brewing time, therefore an espresso may not actually contain that much caffeine in the end (for the same initial amount of ground coffee, of course)
When I was in Organic Chemistry in College we demonstrated this experimentally. A cup of drip coffee had more caffeine than a shot of espresso. We were college kids so I'm not sure how consistent our how methodology was but the result was pretty consistent across all of us.
By comparison, the same 18g brewed using a pour over method should yield an 8oz cup of coffee with … likely around 170mg of caffeine.
Check out this James Hoffmann video specifically on this topic: https://youtube.com/watch?v=etnMr8oUSDo