A constant does not change its value over time. A variable, on the other hand, changes its value dependent on the equation. ... Constants usually represent known values in an equation, expression or in line of programming. Variables, on the other hand, represent unknown values.