In general, in case of mechanics of fluids and solids there are 3 basic dimensions on which all quantities can be defined that is, length L or length dimension L, which is any linear dimension, Mass dimension M and time these are three basic dimensions based on which you can find the dimension of any other variable.