Scientists Combine X-Rays and Math to Produce the Perfect Espresso

by

Editorial Policy

Published on

✉️ This story was featured in this week’s Coffee News Club
👋 Get the Coffee News Club newsletter in your inbox weekly—sign up.

Dialing in espresso to produce a tasty shot is a tricky and often laborious process. Anyone who has worked behind the bar or wrangled with their home espresso machine can attest to how many times they have had to adjust their grind and pull shots to get espresso to taste just right.

When fiddling with a grinder, making the settings finer slows the rate at which water can move through the grounds; a coarser setting does the opposite. But how exactly do those grind changes impact what’s happening within the portafilter? An international team of scientists decided to find out.

The study, published in the journal Royal Society Open Science, investigated how various grind sizes can impact puck permeability (or how water moves through ground and tamped espresso) and extraction. To do this, the researchers ground two different coffees at 11 grind settings, ranging from fine to coarse. They then packed the samples into tubes and used X-ray computed microtomography to create a 3D map of each sample. 

The maps allowed the researchers to see the internal structure of each sample, including all the little hidden passageways and rivulets known as pore spaces—these create paths for water to move through an espresso puck. They then ran digital tests to see how grind size impacted water flow. With this data, they were able to create a mathematical equation that predicts how well a shot might pull based on grind size and tamping.

“We have proposed and validated a constitutive model for the permeability of beds/pucks of ground coffee,” the authors wrote in their conclusion. They also note that other factors, like oxidation and coffee staling as it ages, and how the grounds expand when in contact with water, can impact permeability and require further investigation.

Read more on the espresso equation from Sprudge here.

Photo by ThisisEngineering on Unsplash

Share This Article
Avatar photo

Fionn Pooler

Fionn Pooler is a coffee roaster and freelance writer currently based in the Scottish Highlands who has worked in the specialty coffee industry for over a decade. Since 2016 he has written the Pourover, a newsletter and blog that uses interviews and critical analysis to explore coffee’s place in the wider, changing world (and also yell at corporations).

Join 14,000+ coffee leaders and get top stories, deals, and other industry goodies in your inbox each week.

This field is for validation purposes and should be left unchanged.


Other Articles You May Like

George Howell Cafes Near Closed Starbucks Stores See Specialty Drink Sales Jump 30% to 35%

Starbucks has closed nearly 20 Boston-area stores in the past year, leaving one downtown. Other cafes see more traffic but can’t link it to the closures.
by Fionn Pooler | November 5, 2026

Bodum Recalls 5.9 Million French Presses. The Fix Is a Plastic Spoon.

If you’ve ever broken a Bodum carafe, you’re in good company. Bodum has received 70 breakage and 48 burn reports, and the recall spans 52 years of sales.
by Fionn Pooler | November 3, 2026

Coffee Warehouse Stockpiles Are Low, Keeping Futures High

Brazil’s bumper coffee harvest was forecast to ease global prices, which hit record highs last year. However, futures prices remain elevated. As Cole Martin reports for Bloomberg, this can partly be put down to…
by Fionn Pooler | October 29, 2026

U.S. Funds New Coffee and Cacao Research Led by UH Mānoa and Clemson

The new Coffee and Cacao Innovation Lab will research hardier crops and more resilient farming practices, with $8 million from the State Department in year one.
by Fionn Pooler | October 27, 2026