The best and most accurate way to measure is by weight. A single shot of espresso uses about 7 grams of beans.