While osmotic pressure is due to differences in solute concentration across a semipermeable membrane, hydrostatic pressure is the pressure exerted by a fluid at equilibrium due to the force of gravity.