A variable is something that can change. In math (e.g. algebra), a variable is an unknown quantity in an equation. For example: X and Y are variables in the following linear equation. One possible solution for the variables is the pair: X=1 and Y=5. Another is X= 5 and Y = 3.