The crisp, earthy wind in the woods shifted and suddenly carried the pungent odor of a dead animal. In my disgust, I shied away and narrowly missed stepping on a decaying raccoon. Saved by a nose. I shudder to think about what would have happened if I’d had a cold.

Death’s distinctive smell saved me from near disaster. Despite its instantly recognizable odor, the scent is extremely complicated, with four distinctive stages and a highly variable chemical makeup.

Over 800 chemicals make up the smell of death, according to Anna Williams, a forensic anthropologist at the University of Huddersfield in England. About 480 have been identified for human death alone. Not just for the morbidly curious, death smell is a powerful tool for police and disaster workers, who use specially trained cadaver dogs to help locate missing bodies. To improve training for these dogs, researchers have been working to identify the chemical composition of death. They hope to find a unique cocktail of chemicals that dogs could learn to associate solely with corpses.

But building a recipe of the smell of death is still a rough science. Although we have an idea of some of the chemicals that make up the death smell, we’re still just scratching the surface, according to Williams.

In her work with the police and assisting in scent-training cadaver dogs, Williams and her team have noticed that the skills and sensitivities of individual dogs vary greatly. A good cadaver dog has a strong work ethic and a great sense of smell. Two cadaver dogs can interpret a smell differently, just like two people can.

“If you were given an artificial rose, you might say ‘oh, that smells of rose,’ but somebody else might say ‘that smells of bananas,’ because it’s triggering a different response,” she says. Smell identification is subjective and based on individual experience. Williams hopes that instead of training dogs using decomposing tissue, a chemical combination could be created in a lab. This would make training easier, more standardized, and lead to dogs that are better at finding lost bodies.

Achieving this death smell cocktail is extremely difficult for several reasons. First, there are multiple stages of death, and each one has a slightly different chemical signature according to Arpad Vass, a forensic anthropologist at the Law Enforcement Innovation Center at the University of Tennessee. These stages are further altered by environmental conditions: moisture, air temperature and treatment of the body.

Despite this variability and complexity, some of the most important scents in different stages of decomposition have been identified by researchers like Eva Cuypers, a forensic toxicologist at the Catholic University of Leuven in Belgium. These researchers can even name consumer products that mimic those odor ingredients. However, the overall proportions of the various death smells are still uncertain.

Some of these component compounds are not discernable to the human nose, but others have strong and sometimes surprising scents. A large number of them are potentially dangerous: they are flammable, carcinogenic or, in the atmosphere, ozone depleting. In death, they’re occurring naturally and at low concentrations, but attempting to physically mix this scent could be extremely dangerous — so don’t try this at home!

Still, if you ever wondered what you were reacting to as you avoided a decaying raccoon, here are recipes drawn from Vass’ odor mortis representing the common scents that make up the various stages of the smell of death.

GENERAL DEATH SMELL

The general death smell varies based on the stage of decomposition, which occurs in four distinct stages — each with a slightly different scent profile. It remains in the background of all death smells. Here are some common products that mimic the odors of those chemicals:

citrus gasoline pineapple

citrus infused butter freshly cut grass rotting radishes

coal mint tar

flowers nail polish remover wine

STAGE ONE: FRESH DEATH

The first stage is characterized by bacterial action in the body. Externally, the body will not look terribly different, but the smell is already distinctive. The overall odor can be generated by these products:

almonds fish mothballs

ant-panic pheromone gasoline/nail polish remover refrigerator coolant

bitter herbs green twigs rose

coconut oil hyacinth tallow

Crisco jet fuel wax candles

STAGE TWO: GASEOUS BLOAT

The second stage of decomposition, when the body bloats with gas, has a powerful and unfortunately familiar human smell as bodily fluids are pushed out of the body. The odor will change based on the environment: heat, moisture, and variation between personal body chemistry. The odor can be generated by:

asphalt garlic Styrofoam

feces gasoline urine

Freon fridge coolant plastic vomit

STAGE THREE: ACTIVE DECOMPOSITION

The stage of active decomposition — the terrifying moment in the woods with a partially-exposed raccoon skeleton — has a particularly broad scent profile. Often there are multiple chemicals with similar smells. In this stage, there are multiple chemicals that make up the smells of gas, freshly cut grass, whiskey and bananas. These are the products that generate some of the overall smell:

almond gasoline (1, 2, 3, 4, 5) straw

banana (1, 2) malt vodka

boiled cabbage molasses wet cereal

chocolate nail polish remover whiskey (1, 2)

freshly cut grass (1, 2) paint thinner Windex

fruit rotten eggs

STAGE FOUR: SKELETAL REMAINS

In the final stage of decomposition, only the skeleton remains. The smell here is not as strong, but a number of chemicals from earlier in the process return. Here are products that make the overall scent:

citrus flowers dry cleaning fluid paint thinner

coal mint tar

degreaser nail polish (1, 2)

Plus these returning chemical scents:

almonds coconut oil hyacinth

ant-panic pheromone Freon fridge coolant tallow

bitter herbs gasoline (1, 2, 3)