Core relationship
Density measures how much mass is packed into a given volume, written as ho = rac{m}{V}.
If you know any two of mass, volume, and density, the third quantity follows directly from rearranging the same relationship.
The mode switch keeps that algebra explicit so the calculator does not silently guess which quantity you want.