Skip to content
Design Corner Knowledge Base ← Back to designcorner.co.ke
Knowledge Base

Software and Development

Variable

Also known as: Variables

1 min read Updated November 10, 2026

Definition A named container in a program that holds a value which can change while the program runs.

What it is

A variable has a name and holds data such as a number, a piece of text or a yes/no value. The program can read it and update it as it works.

Why it matters for your business

Almost every website feature, from shopping carts to login forms, relies on variables. Knowing the idea helps you talk clearly with developers.

Real-world example

On an online shop, a variable named cart_total changes each time a customer adds an item priced in Kenya shillings.

Design Corner tip

When briefing a developer, name the pieces of data your system must track, such as price, stock level or order status.