Mathematics: A direction in space that can be measured, like length, width, or height.
Examples:
• a point has no dimension
• a line has one dimension (1D)
• a square has two dimensions (2D)
• a cube has three dimensions (3D)
Physics: any measurable quantity such as length, time, mass, and so on. Time is often called the fourth dimension (combined with 3 space dimensions).