Will it float? (Archimedes)

Share under the surface
It
Fully under, net force

Anything in water is pushed up by the weight of the water it moves aside. A floating object sinks just far enough for that to equal its own weight, so the share under the surface is simply its density over the water's.

The physics

For an object of one density all through (a hollow boat counts its average density, hull and air together). Tested: the displaced fluid weighs exactly as much as the floating object (packages/mechanics/test/fluids.test.ts).

Example

With object density 600 kg/m³, fluid density 1000 kg/m³: share under the surface: 60.0%; it: floats; fully under, net force: -3.92 N per litre (up). Open this setup, then change one thing at a time.

Related: Water pressure at depth · Float valve (ballcock) · Siphon