How can you tell if an egg has gone bad?

Here are some signs to identify a rotten egg:

1. Smell: A rotten egg has a distinct pungent and unpleasant odor. To check this, crack the egg into a bowl and smell it. If it smells off or sulfurous, it's best to discard it.

2. Color and Texture: A rotten egg may have a slightly dull or grayish-greenish appearance compared to a fresh egg with a bright orange-yellow yolk and clear, firm white. The yolk may also be broken and spread out.

3. Floating Test: Place the egg in a bowl of cold water. A fresh egg should sink to the bottom and lie flat. A rotten egg may float or bob to the surface because of the increased air inside.

4. Candling: Hold the egg in front of a bright light in a dark room. If the egg is fresh, you should see a clear red glow. A rotten egg will appear cloudy or have dark shadows inside.

5. Cracked or Damaged Shell: If the egg has cracks, leaks, or a damaged shell, it is more likely to be contaminated with bacteria and should be discarded.

It's important to note that even if an egg doesn't show any obvious signs of spoilage, it's best to follow the "expiration" or "best before" date indicated on the carton. In case of doubt, it's always safer to discard an egg rather than risk consuming a spoiled one.