The buoyant force is equal to the weight of the volume of fluid displaced by the solid immersed into it, and it is equal to:
[tex]B=\rho_L V_{imm} g[/tex]
where
[tex]\rho_L[/tex] is the density of the fluid
[tex]V_{imm}[/tex] is the volume of the part of the solid immersed in the fluid
g is the gravitational acceleration
We see that the greater the density of the fluid, the greater the buoyant force that pushes the object upward. When the object floats in the fluid, the buoyant force is equal to the weight of the object, mg:
[tex]mg=\rho_L V_{imm} g[/tex] (1)
and since the mass of the solid is equal to the product between its density and its volume: [tex]m=d_s V[/tex]
we can rewrite (1) as
[tex]\rho_S V =\rho_L V_{imm}[/tex]
where [tex]\rho_S[/tex] is the density of the object and [tex]V[/tex] is its total volume. So the fraction of the object immersed in the fluid is
[tex] \frac{V_{imm}}{V}= \frac{\rho_s}{\rho_L} [/tex]