The slope of a line measures its steepness and is calculated using the formula: slope (m) = (y₂ - y₁) ÷ (x₂ - x₁), where (x₁, y₁) and (x₂, y₂) are two points on the line. A positive slope means the line rises, a negative slope means it falls, and zero slope indicates flatness.