Skip to content
LoveToCalc

Concept — what does that mean?

Variables

A letter that stands for a number. Put a number in the letter's place and the expression gets a value.

In Swedish: Variabel

What it is

A variable is a letter, usually x, that stands for a number. Which number is not fixed by the letter but by the situation: sometimes it can be any number, sometimes it is one particular number to be found.

These are not variables:

The letter need not be x. The choice often hints at the subject: t for time, r for radius, n for a count.

Why it matters

Without variables you can only write down single calculations, like 3 · 4 + 5. With a variable you can write a rule that holds for every number at once, which is what makes algebra more than arithmetic:

The equation solver solves an equation in one unknown and shows each step.

Common misconceptions

Common questions

What is the difference between a variable and an unknown? The same kind of letter in different roles. Call it an unknown when an equation is to determine it, like x in 3x + 5 = 17. Call it a variable when it can take different values, like x in the function y = 3x + 5.

Can a variable be something other than a number? In school mathematics it stands for a number. Later a letter can stand for a vector, a matrix or a function, but the rule is the same: you may replace the letter with a value of the right kind.

Why x? It is a convention, not a rule. Any letter works as long as it means the same thing throughout one problem.

Last reviewed October 20, 2026 ·How pages are reviewed

Calculate it in practice

AlgebraAll formulas