In engineering and science, dimensional analysis of different physical quantities is the analysis of their physical dimension or quantity dimension, defined as a mathematical expression identifying the powers of the base quantities involved (such as length, mass, time, etc.), and tracking these dimensions as calculations or comparisons are performed.The concepts of dimensional analysis and quantity dimension were introduced by Joseph Fourier in 1822.
Commensurable physical quantities have the same dimension and are of the same kind, so they can be directly compared to each other, even if they are expressed in differing units of measurement; e.g., metres and feet, grams and pounds, seconds and years. Incommensurable physical quantities have different dimensions, so can not be directly compared to each other, no matter what units they are expressed in, e.g. metres and grams, seconds and grams, metres and seconds. For example, asking whether a gram is larger than an hour is meaningless.