Mathematicians figured out the perfect espresso
Coffee requires physics and flawless calculations. The post Mathematicians figured out the perfect espresso appeared first on Popular Science .

Coffee enthusiasts have long debated the perfect brew, but now an international team of mathematicians and environmental scientists have taken a scientific approach to solving the age-old question. In a study published in the journal Royal Society Open Science, they have developed formulas to calculate the ideal espresso, focusing on the crucial factor of puck size.
Espresso machines, as seen in cafes around the world, rely on precise calculations to produce the perfect cup. The small dish, or puck, into which baristas pack coffee grounds plays a significant role in the brewing process. As hot water flows through the receptacle, it absorbs the beans' flavor, color, and caffeine. The quality of the final espresso depends on various factors, including how the grounds are packed, the duration of water passage, and the size of the grounds themselves. Previously, it was challenging to predict how these variables would affect the final cup.
To gain a better understanding of how these factors interact, the researchers ground Tumba beans from Rwanda and Guayacán beans from Colombia into 11 different sizes, ranging from extremely fine to coarse. Each variant was placed into tubes, and a visualization technology called X-ray computed micro-tomography (XCT) was used to generate 3D maps of the samples' internal structures. This technique revealed the passageways between grains, known as pore spaces, which are invisible to the human eye.
With these detailed maps in hand, the team proceeded to simulate water flow through each sample using digital flow tests. They applied percolation theory, a subset of physics that studies fluid movement between connected spaces, to understand how well each sample's pore space facilitated uninterrupted water routes through the puck.
The researchers found that the ideal puck size for espresso is a balance between the coffee's ability to retain its flavor and the efficiency of water flow. By optimizing the pore spaces and ensuring smooth water passage, the perfect espresso can be achieved. This breakthrough not only provides a mathematical framework for brewing perfection but also offers insights into how coffee beans from different regions interact with water during the brewing process.
In conclusion, the quest for the perfect espresso has taken a scientific turn, with mathematicians and environmental scientists developing formulas to calculate the ideal brew. By focusing on puck size and the intricate pore spaces within the coffee grounds, researchers have unlocked a new understanding of how to achieve the ultimate cup of espresso. This innovative approach not only benefits baristas and coffee lovers but also highlights the fascinating intersection of mathematics, physics, and the art of brewing.









