A variable is a symbolic name for a value that can be changed. They are often used in math and programming. Both mathematicians and programmers also use constants, which are somewhat related to variables.