The magnitude of a vector provides a measure of its size or length. It is denoted by placing the vector inside vertical bars (similar to the absolute value notation for numbers). For example, a vector’s magnitude in two-dimensional space is calculated as:

A vector’s magnitude in three-dimensional space is calculated as: