A gravitational singularity or spacetime singularity is a location where the quantities that are used to measure the gravitational field become infinite in a way that does not depend on the coordinate system. These quantities are the scalar invariant curvatures of spacetime, which includes a measure of the density of matter.