What a Floating Egg Tells You About the Air Pocket
Health
A shell egg can float when the air cell inside has become large enough to lift it. USDA explains that this can indicate lower quality. Buoyancy gives no assurance that an egg is free of harmful bacteria.
Follow the storage and cooking guidance for shell eggs whether an egg floats or sinks. If an egg smells off or looks unusual when you crack it, discard it.
Crack an egg into a small bowl before adding it to a larger mixture if you have doubts about its condition. That keeps an egg you decide to discard out of the rest of the ingredients.