👉 In mathematics, a scalar is a number that has magnitude but no direction. For example, 5 and -2 are scalars because they have both magnitude (10) and sign (negative). A vector is a quantity that has both magnitude and direction, such as velocity or force. The term "scalar" refers to the concept of a single number, which can be used in mathematical operations without regard for its direction. In physics and other fields involving vectors, a scalar represents a magnitude but