How Can I Get Material Displacement Height?

I need to know the height of my displaced water waves, so that I can simulate a kinda buoyancy. If not, are there any better methods for buoyancy? Everything ive found is incredibly dated, or stuck in the spaghetti code of someone elses work.