Variable in programming is a storage location paired with an associated symbolic name, which contains some known or unknown quantity of information referred to as a value. The variable name is the usual way to reference the stored value. Variables are like labeled boxes in a warehouse, where each box can store items that may change over time.