There is no way for people to tell if a bottle of leftover bubbly will stay good until they pop the cork and taste it at the next celebration.
But the new method developed by Spanish researchers can help wineries - and their customers - predict how long their sparkling wines will last.
Montserrat Riu-Aumatell and colleagues said that the shelf life of various sparkling wines, from champagne to prosecco, depends on environmental factors such as temperature.
Currently, wineries detect the so-called browning of bubbly by measuring its "absorbance," or its absorption of light at a particular wavelength.
Also Read
Food manufacturers can measure a compound called 5-HMF, which builds up in food as it goes bad, to tell when to toss a product out.
Riu-Aumatell's team decided to see if they could use the compound, which is also found in bubbly, to predict the shelf life of sparkling wines.
They tested levels of this browning compound in several bottles stored over two years at different temperatures: room, cellar (16 degrees Celsius) and refrigerator (4 degrees Celsius).
To make their results more practical for wineries, the researchers came up with a mathematical model that predicts how long products will stay drinkable at varying storage temperatures.
The study appears in American Chemical Society's Journal of Agricultural and Food Chemistry.