Normal, healthy stool is solid and doesn't usually float or stick to the sides of the toilet bowl. But floating feces alone is not usually a sign of serious illness, and most of the time things will go back to normal with a change in diet.
Is it better for poop to sink or float?
Healthy Poop (Stool) Should Sink in the Toilet
Floating stools are often an indication of high fat content, which can be a sign of malabsorption, a condition in which you can't absorb enough fat and other nutrients from the food you're ingesting.
Is floating poop okay?
Floating poop is common and not usually a sign that anything is wrong. Gas, changes in the diet, and minor infections may cause poop to float. Some underlying medical conditions can also cause persistent floating stool.