In this particular case, if we know the value of W then can be calculated.
If we neglect the curved region just below the liquid surface and assume the surface to be planar,
If the capillary walls are clean and then for most of the liquid
Now