The fraction of a floating object of volume Vo and density do above the surface of a liquid of density d will be
dod
ddod+do
d-dod
dd0d-d0
For the floatation Vodog = Vindg ⇒Vin = Vodod
Vout= Vo-Vin= Vo-Vodod = Vo[d-dod]
VoutVo= d-d0d