Your standard 58mm portafilter basket can hold around 18 to 22 grams of espresso. This will vary a bit based on your machine, roast level, freshness, grind size, and other considerations.