In mathematics, the determinant is a scalar value that can be computed from the elements of a square matrix and encodes certain properties of the matrix, such as whether it is invertible and its scaling factor on volume when it is used as a transformation.