Variable:
A variable is a characteristic that can be measured in numbers. It can change from one person or item to another.
Examples:
- Height
- Weight
- Age
- Monthly income
Attribute:
An attribute is a quality or characteristic that cannot be measured directly in numbers. It is observed or placed into categories.
Examples:
- Eye colour
- Honesty
- Marital status
- Intelligence level
Difference Between Variable and Attribute
| Variable | Attribute |
| Can be measured numerically. | Describes a quality or category. |
| It is quantitative. | It is qualitative. |
| Expressed in numbers. | Expressed through qualities or categories. |
| Example: Age and height. | Example: Eye colour and honesty. |

