The magnitude of a vector is shown by vertical lines on both the sides of the given vector “|a|”. It represents the length of the vector.