Home ScienceMathematicians figured out the perfect espresso...
Science⭐ Featured

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 .

7 April 2026 at 07:47 am
1 views
Mathematicians figured out the perfect espresso

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.

📰 Related News
The largest orbital compute cluster is open for business | TechCrunch
The largest orbital compute cluster is open for business | TechCrunch
Kepler Communications is flying 40 GPUs in Earth orbit. And its latest customer is Sophia Space.
14 Apr
‘Mideast conflict poses risks to Philippines growth’
‘Mideast conflict poses risks to Philippines growth’
The Philippine economy is expected to grow at a faster pace of 5.3 percent this year from last year’s 4.4 percent but the ongoing Middle East conflict is seen to pose risks, according to the Association of Southeast Asian Nations Plus 3 Macroeconomic Research Office.
7 Apr
AFBI welcomes DUP representatives to its research farm at Hillsborough
AFBI welcomes DUP representatives to its research farm at Hillsborough
The Agri-Food and Biosciences Institute (AFBI) welcomed a number of DUP representatives to its research farm at Hillsborough on Friday.
7 Apr
A simple way to get more value from metrics
A simple way to get more value from metrics
We spent one day 1 building a system that immediately found a mid 7 figure optimization (which ended up shipping). In the first year, we shipped mid 8 figures per year worth of cost savings as a result. The key feature this system introduces is the ability to query metrics data across all hosts and all services and over any period of time (since inception), so we've called it LongTermMetrics (LTM) internally since I like boring, descriptive, names. This got started when I was looking for a starter project that would both help me understand the Twitter infra stack and also have some easily quantifiable value. Andy Wilcox suggested looking at JVM survivor space utilization for some large services. If you're not familiar with what survivor space is, you can think of it as a configurable, fixed-size buffer, in the JVM (at least if you use the GC algorithm that's default at Twitter). At the time, if you looked at a random large services, you'd usually find that either: The buffer was too small, resulting in poor performance, sometimes catastrophically poor when under high load. The buffer was too large, resulting in wasted memory, i.e., wasted money. But instead of looking at random services, there's no fundamental reason that we shouldn't be able to query all services and get a list of which services have room for improvement in their configuration, sorted by performance degradation or cost savings. And if we write that query for JVM survivor space, this also
7 Apr
Accelerating Mathematical and Scientific Discovery with Gemini Deep Think
Accelerating Mathematical and Scientific Discovery with Gemini Deep Think
Research papers point to the growing impact of Deep Think across fields
7 Apr
Gemini 3 Deep Think: Advancing science, research and engineering
Gemini 3 Deep Think: Advancing science, research and engineering
Our most specialized reasoning mode is now updated to solve modern science, research and engineering challenges.
7 Apr
Context Engineering for Coding Agents
Context Engineering for Coding Agents
The number of options we have to configure and enrich a coding agent’s context has exploded over the past few months. Claude Code is leading the charge with innovations in this space, but other coding assistants are quickly following suit. Powerful context engineering is becoming a huge part of the developer experience of these tools. Birgitta Böckeler explains the current state of context configuration features, using Claude Code as an example. more…
7 Apr
What does less protein and nitrogen mean for methane?
What does less protein and nitrogen mean for methane?
Does feeding less protein to cows over a longer period not only reduce nitrogen losses, but also affect methane emissions? Researchers at Wageningen University & Research (WUR) investigated this in a multi-year study with dairy cows, funded by the Vereniging Diervoederonderzoek Nederland (VDN), the Dutch Ministry of Agriculture, Fisheries, Food Security and Nature (LVVN), and […] The post What does less protein and nitrogen mean for methane? appeared first on Agriland.ie .
7 Apr
Second’s Bark Boasts New era of Bitcoin Payments, drawing in former Blockstream developers
Second’s Bark Boasts New era of Bitcoin Payments, drawing in former Blockstream developers
Bitcoin Magazine Second’s Bark Boasts New era of Bitcoin Payments, drawing in former Blockstream developers Second, the Bitcoin development lab founded by ex-Blockstream executives including CEO Steven Roose and CTO Erik De Smedt, has unveiled Bark — its custom Ark protocol implementation promising self-custodial payments that are faster and cheaper than Lightning channels. This post Second’s Bark Boasts New era of Bitcoin Payments, drawing in former Blockstream developers first appeared on Bitcoin Magazine and is written by Juan Galt .
7 Apr
'Morale boost': Nasa carries out Moon mission during tough year for science
'Morale boost': Nasa carries out Moon mission during tough year for science
HOUSTON — As the four Artemis astronauts approached a high point of their lunar mission -- getting slung around the far side of the Moon -- National Aeronautics and Space Administration (Nasa) staffers crowded into Houston's famed mission control room Monday for a team photo.
7 Apr