Learn what quantitative and qualitative variables are and how to use them in your small business. A guide with real examples to segment customers and increase sales.
Qualitative and quantitative variables, in a nutshell: a quantitative variable is expressed as a number that you can measure or count (average ticket, visits per month); a qualitative variable is expressed as a category or quality (favorite drink, branch, payment method).
Quick questions (short answer)
What is the difference between qualitative and quantitative variables?
Quantitative answers how much? with a number that you can add or average. Qualitative answers what type? with a label that you can only count or group.
What are examples of quantitative variables in a business?
Average ticket ($85 MXN), visits per month (6), items per ticket (2), waiting minutes (4.5), accumulated points (120).
What are examples of qualitative variables?
Product category (hot drinks, cold drinks, bakery), branch, payment method, contact channel, drink size (small, medium, large).
Is a 0 to 10 score from an NPS survey qualitative or quantitative?
It depends on how you use it. Each customer's response (0 to 10) is an ordered scale; when grouped into promoters, passives, and detractors, it becomes ordinal qualitative. The final NPS (percentage of promoters minus percentage of detractors) is a quantitative indicator.
Is a number always quantitative?
No. Zip code, phone number, or branch number are numbers that only identify; they are qualitative. Averaging them means nothing.
The difference in a table
Quantitative variable | Qualitative variable | |
|---|---|---|
Question | How much? | What type? |
Response | Measurable or countable number | Label or class |
Example in coffee shop | Ticket $85 MXN, 6 visits/month, 120 points | Latte, Downtown branch, WhatsApp |
What you can do | Add, average, compare | Group, segment, personalize |
Typical error | Ignoring frequency | Forcing an "average" of categories |
This separation determines whether you send the same promo to your entire database or trigger an action that actually boosts revenue.
Quick example: a coffee shop in Puebla
Imagine a coffee shop in Puebla with a loyalty CRM. In a week you see:
Customer | Average ticket (quantitative) | Visits/month (quantitative) | Preferred drink (qualitative) | Branch (qualitative) | Useful action |
|---|---|---|---|---|---|
Ana | $140 | 8 | Frappé | Downtown | Drink + bakery combo; no aggressive discount |
Luis | $45 | 12 | Americano | Cholula | Frequency dynamic (10th visit) |
Marisol | $160 | 1 | Cold brew | Downtown | 7-day reactivation + benefit on cold drinks |
The same "average sale" does not mean the same customer. Qualitative and quantitative variables together tell you who to target, with what offer, and when.
What are quantitative variables
Quantitative variables measure quantities. In a physical business, they are the data points you can add, average, or compare month-over-month without inventing meanings.
In coffee shops, restaurants, and retail stores with loyalty programs, they usually look like this:
Ticket / purchase amount (MXN)
Frequency (visits per week or month)
Days since last purchase
Points accumulated or redeemed
Units per ticket (drinks, dishes, add-ons)
Revenue per customer in a period
How to use them in operations
Detect true value: a customer spending $180 every 15 days is not "the same" as one spending $50 three times a week.
Set goals by branch: average ticket and visits, not just total revenue.
Prioritize reactivation: if "days since last purchase" exceeds your threshold (for example, 14 days in an office coffee shop), the message goes out before the habit cools down.
Measure campaigns: not just open rates; look at the ticket and repeat purchases of the targeted segment.
Rule of thumb: if the data allows for "double" or "half" with commercial sense (visits, pesos, points), it is almost certainly quantitative.
Mini worksheet (CRM fields)
Copy these fields into your CRM or a simple spreadsheet:
CRM Field | Type | Example | What it is for |
|---|---|---|---|
| Quantitative | 92.50 | Upsell vs discount |
| Quantitative | 7 | Frequency / loyalty |
| Quantitative | 18 | Churn risk |
| Quantitative | 240 | Redemption moment |
| Quantitative | 1,250 | Retention priority |
With Swirvle, those fields stop living in scattered Excels: every purchase updates history, points, and frequency to segment without guessing.
What is a qualitative variable
A qualitative variable classifies. It doesn't say how much was spent; it says what they prefer, where they buy, or how they want to be contacted.
Typical examples in food SMBs and physical retail:
Preferred drink or dish
Regular branch
Channel (counter, WhatsApp, delivery)
Payment method
Preferred type of reward (points, coupon, free product)
Loyalty tier on a scale (new / frequent / loyal) — ordinal qualitative
Why it matters as much as the number
Knowing that the ticket went up is useful. Knowing that it went up in cold drinks + bakery at the Downtown branch via WhatsApp is actionable: stock, sales pitch, and campaign channel.
Qualitative variable | Scale | Commercial use |
|---|---|---|
Branch | Nominal | Goals and stock by location |
Favorite category | Nominal | Combos and menu of the day |
Preferred channel | Nominal | Where to send the offer |
Loyalty tier | Ordinal | Tiered benefits |
Reward type | Nominal | Redemption that the customer actually uses |
A business doesn't need advanced statistics. It needs to avoid mixing categories with absurd averages ("average branch") and instead cross-reference category + number.
Examples in a coffee shop: your classified metrics
This is how the data you already have in your POS, CRM, or surveys is classified (example values):
Your coffee shop metric | Type | Subtype | Example | What you can calculate |
|---|---|---|---|---|
Average ticket | Quantitative | Continuous | $92.50 MXN | Average, weekly trend |
Visits per month | Quantitative | Discrete | 7 visits | Sum, average, frequency |
Items per ticket | Quantitative | Discrete | 2 items | Average, cross-selling |
Wait time | Quantitative | Continuous | 4.5 minutes | Average, median by hour |
Milk used per day | Quantitative | Continuous | 12.3 liters | Consumption, waste, purchases |
Refrigerator temperature | Quantitative | Continuous (interval) | 4 °C | Allowed range, alerts |
NPS (final indicator) | Quantitative | Discrete | +35 | Compare month over month |
NPS customer type | Qualitative | Ordinal | Promoter / passive / detractor | Count and % by group |
Drink size | Qualitative | Ordinal | Small / medium / large | Mode, sales mix |
Loyalty tier | Qualitative | Ordinal | New / frequent / loyal | Tiered benefits |
Product category | Qualitative | Nominal | Cold, hot, bakery | Count, % of sales |
Payment method | Qualitative | Nominal | Cash, card, QR | % Share |
Branch | Qualitative | Nominal | Downtown, Cholula | Compare by location |
Customer zip code | Qualitative | Nominal | 72000 | Delivery zones, do not average |
The rule: if it makes sense to say "double" or calculate an average, it is quantitative. If you can only count how many there are of each type, it is qualitative.
Quantitative and qualitative variables together (what actually sells)
The commercial magic lies in crossing them:
Cross-reference | What you see | What you do |
|---|---|---|
High ticket + cold drink | High-margin impulse customer | Cold + bakery combo; no generic 2x1 |
High frequency + low ticket | Daily commuter | Small upsell (cookie, extra shot) |
Low frequency + specific branch | Local drop in performance | Review shift/experience at that location |
Many points + premium preference | Ready for a relevant reward | Premium product offer, not a flat coupon |
Days without purchase + WhatsApp channel | At-risk customer with a clear channel | Short reactivation message |
This logic powers data-driven decision making and relies on sales reports with examples to move beyond intuition.
Mistakes that cost margin
Averaging categories. "Average payment method" is useless. Use counts or % share.
Treating IDs as metrics. Receipt or customer IDs identify; they do not measure behavior.
Same promo for everyone. Without qualitative data, you give away margin to those who were already going to buy.
Inventing order where there is none. Branch A is not "greater" than branch B; they are different classes.
Looking only at the consolidated total. The overall number hides the specific branch that is losing frequency.
Types of variables: discrete, continuous, nominal, and ordinal
Every variable falls into one of these four boxes. This is the complete map:
Quantitative variables (numbers indicating quantity)
Discrete: counted in whole numbers. Visits per month, items per ticket, customers served per hour, accumulated points.
Continuous: measured and accept decimals. Ticket in pesos, liters of milk, wait minutes, kilos of coffee, temperature.
Qualitative variables (categories or attributes)
Nominal: categories with no order. Branch, product category, payment method, contact channel, favorite drink.
Ordinal: categories with a logical order. Small → medium → large size; new → frequent → loyal tier; low → medium → high satisfaction.
Discrete vs. continuous quantitative variables
Discrete: there is no such thing as "7.4 visits" from a customer in a month. You count 7. Useful for frequency and repeat purchase goals.
Continuous: a ticket can be $92.50 MXN and a wait time can be 4.5 minutes. Useful for averages, ranges, and alerts.
Note: the average of a discrete variable can have decimals ("the average customer visits 6.8 times a month"). The variable remains discrete; only the summary does not.
Nominal vs. ordinal qualitative variables
Nominal: no category is "greater" than another. Downtown branch is not more than Cholula branch; they are just different.
Ordinal: there is an order, but the distance between levels is not exact. From "frequent" to "loyal" there is no fixed "X points" of difference, just a step up.
Measurement scales (short version)
Nominal (qualitative): categories without order — branch, flavor, channel.
Ordinal (qualitative): categories with order — new → frequent → loyal.
Interval (quantitative): numbers without a true zero — temperature in °C (0 °C is not the "absence of temperature").
Ratio (quantitative): numbers with a true zero — visits, money, points. Here, saying "double" actually makes sense.
What calculation and graph to use with each type
Type of variable | Useful calculations | Recommended graph | Typical error |
|---|---|---|---|
Nominal | Count, %, mode | Bar chart or table | Calculating "average branch" |
Ordinal | Count, %, median, mode | Ordered bar chart | Treating levels as exact distances |
Discrete | Sum, average, median | Bar chart or histogram | Ignoring actual frequency |
Continuous | Average, median, ranges | Histogram or line chart over time | Looking only at the average and ignoring dispersion |
This prevents misleading charts (lines for "payment types") and invented averages.
5-Second cues
“Visited 6 times” → quantitative
“Prefires cold drinks” → qualitative
“Ticket above average” → quantitative
“Buys in Downtown” → qualitative
“High loyalty” → ordinal qualitative
Example of a segment ready for WhatsApp
Segment name: At-risk high-ticket cold drink lovers
Rules:
favorite_category= Cold (qualitative)average_ticket_30d≥ 120 (quantitative)days_since_last_purchase≥ 14 (quantitative)branch= Downtown (qualitative)
Message (example): “Your cold brew misses you. This week: +20 points if you return to Downtown before Friday.”
What you measure: redemption, ticket of the return visit, second visit within 7 days.
That is customer segmentation applied to the shop floor, not to an academic paper.
3-Step plan for this week
Audit 10 fields in your database: mark them Q (quantitative) or C (qualitative).
Build a mixed segment (e.g., ticket > $120 + cold category + visits ≤ 2 in 30 days).
Launch an action and measure only that segment: repeat purchase within 7/14 days, ticket, and points redemption.
If you want to move from scattered data to segments and loyalty campaigns that actually boost retention in your coffee shop or restaurant, Swirvle centralizes customers, purchasing habits, points, and results by branch to act with context — not with end-of-day intuition.
Related Blogs

Oct 7, 2026
What does a CRM look like in practice for a coffee shop or restaurant?

Oct 6, 2026
Which campaigns work to fill a restaurant during the week?

Oct 5, 2026
Does Excel work as a CRM for a small business, or is it better to use a software?

Oct 4, 2026
How to organize my client information if I have a small business? Guide

Oct 3, 2026
What message should I send on WhatsApp to win back a customer who is no longer returning?

Oct 2, 2026
Grocery Store Software: 2026 Comparative Guide
Try Swirvle for free
No card required · 30 days free
Start your free trial
