Figuring out the units of quantities in an equation by the principle of homogeneity of physical equation is an extremely useful skill.
For example, the Bernoulli’s equation states that
where p is the fluid pressure, v is the fluid velocity, g is the acceleration of free fall, h is the fluid height, and p0 is some constant. I am not going to tell you what ρ is. But can you figure it out?
The key is to realize that we can only add, subtract or equate quantities if they are of the same kind! This means that in the equation above, p, , and p0 must all be pressures, and thus have the same unit pascal (Pa).
Now that we know ρ has the unit kg m-3, we can all guess that ρ is the density of the fluid.
Homogeneity of Physical Equation (xmphysics)