Smelling an egg is one of the best ways to detect if it’s bad. A raw egg has a distinct odor that is impossible to detect simply by looking at it. You can, however, use your sense of taste to determine whether or not the egg is rotten. Giving an egg a good shake is an excellent technique to detect whether it’s rotten and ought to recover.
Shaking an egg can also be used to determine its freshness. On its side, a fresh egg sinks to the bottom, and the egg will float if it has been sloshed.