When you shove water aside, it pushes back up. That upward push is called buoyancy.
Get in a full bathtub and water spills out. That's the water you pushed aside. A very old Greek thinker named Archimedes noticed this: the upward push equals the weight of the water you moved.
Try it: Make the block heavier until it sinks. Then swap the fluid. Watch the green and red arrows.
buoyancy = weight of displaced fluid
"Displaced" means pushed out of the way.
Floating
Buoyancy = its weight. The two arrows match.
Fraction under
Part underwater = object density ÷ fluid density. Half as dense? Half underwater.
Less dense than the fluid? It floats. Denser? It sinks.
A log's density is 500 kg/m³. In water (1,000 kg/m³), how much is underwater?