In mathematics and physics, a scalar is a quantity with magnitude or size but no direction (unlike vectors, which have both magnitude/size and direction). All numbers on the number line are scalars, as well as quantities such as temperature and speed. They are frequently combined with vectors for use in physics. A scalar is a tensor of rank zero.