ds@mcpanalytics.aiEmail your data and your question and get an answer about your own data, with the method shown.Email your data and question. Get an answer.

How to Use Tip and Gratuity Analysis in Square: Step-by-Step Tutorial

By MCP Analytics Team | Published , updated

Category: Square Analytics | By MCP Analytics Team | Updated: November 2026

Introduction to Tip and Gratuity Analysis

Understanding what drives tipping behavior is crucial for maximizing revenue in service-based businesses. Whether you run a restaurant, coffee shop, salon, or delivery service, tip analysis can reveal patterns worth testing in your operations.

About the numbers: every figure, name and table in this tutorial is invented to show the layout and the arithmetic. They come from no real business and no real Square export, and the outputs are what a tip analysis looks like, not results to compare yours against.

This tutorial will walk you through analyzing your Square tip data to answer questions like:

By the end of this guide, you'll be able to summarize tips by time, payment method and team member, read the differences with care, and design a test of a change.

Prerequisites and Data Requirements

What You'll Need

Before starting this tutorial, ensure you have the following:

  1. Square Account Access: A Square Dashboard login with permission to export transactions.
  2. Historical Transaction Data: Enough history that each group you compare (a daypart, a payment type, a team member) has many transactions. 30 to 90 days is a practical start; cover a longer span if you want to see seasonal patterns.
  3. Basic Data Literacy: Familiarity with CSV files and basic spreadsheet concepts.

Data Export from Square

To export your transaction data from Square:

Square exports transaction details as a CSV from the Dashboard (not from the point of sale app). Per Square's help article on viewing and searching transactions: "If you want to export your transaction data, click Export to download transaction details as a CSV file in your Square Dashboard."

  1. Log into your Square Dashboard
  2. Go to Orders & payments, then Transactions
  3. Set your date range
  4. Click Export and download the CSV
  5. Open the file and check its headers. The help article does not list the columns of the export, so look for tip, payment type, time and team member columns in your own file

Required Data Fields

Your data needs these fields (rename your export's columns to match the layout used in this tutorial):

Data Quality Checklist

Before proceeding, verify your data meets these quality standards:

Step-by-Step Analysis Process

Step 1: Load the Export

Load your CSV into a spreadsheet, a notebook or a database. The layout used here (invented rows):

Transaction ID,Date,Time,Gross Sales,Tip,Payment Type,Staff
txn_001,2024-01-15,09:23:45,24.50,4.90,Card,Sarah
txn_002,2024-01-15,09:45:12,15.75,3.00,Digital Wallet,Mike
txn_003,2024-01-15,10:12:33,42.00,8.40,Card,Sarah

Tip percentage for each row is Tip / Gross Sales x 100. For txn_001 that is 4.90 / 24.50 = 20.0%.

Step 2: Choose Filters and Grouping

Decide these before you look at results, so the choices do not follow the answer:

  1. Analysis Period: The date range you want to analyze
  2. Minimum Transaction Amount: Whether to exclude very small tickets, where one dollar of tip is a large percentage. Pick a threshold from your own ticket sizes and say what you chose
  3. Outlier Rule: What counts as an outlier tip, for example a percentage far above the rest. Report results with and without outliers
  4. Grouping Variables: The dimensions to compare (time of day, day of week, payment type, team member)
  5. Interval Level: The confidence level for interval estimates (95% is a common convention)

Step 3: Calculate the Summary Metrics

Group the rows and calculate:

Worked Example (Simulated)

The data here is simulated: 3,000 transactions over 90 days, generated with seed 11 and planted so that card, digital wallet and cash differ in how often they are tipped and in the tip percentage. Cash tips are mostly not recorded, as the Step 5 note warns can happen. It cannot show how your customers tip or how your export is laid out. First write the file.

import numpy as np
import pandas as pd

rng = np.random.default_rng(11)  # seed stated
n = 3000
pay = rng.choice(["Card", "Digital Wallet", "Cash"], n,
                 p=[0.55, 0.30, 0.15])
staff = rng.choice(["Sarah", "Mike", "Taylor"], n, p=[.4, .4, .2])
gross = np.round(rng.lognormal(3.0, 0.5, n), 2)
# Planted: share tipping and tip percent depend on payment type
p_tip = {"Card": 0.85, "Digital Wallet": 0.90, "Cash": 0.10}
mean_pct = {"Card": 17.0, "Digital Wallet": 19.0, "Cash": 15.0}
tipped = rng.random(n) < np.array([p_tip[p] for p in pay])
pct = np.clip(rng.normal([mean_pct[p] for p in pay], 5.0), 0, None)
tip = np.where(tipped, np.round(gross * pct / 100, 2), 0.0)
start = pd.Timestamp("2024-01-01")
secs = rng.integers(0, 90 * 86400, n)
ts = start + pd.to_timedelta(np.sort(secs), unit="s")
ids = [f"txn_{i:04d}" for i in range(n)]
df = pd.DataFrame({"Transaction ID": ids, "Timestamp": ts,
                   "Gross Sales": gross, "Tip": tip,
                   "Payment Type": pay, "Staff": staff})
df.to_csv("square_tips.csv", index=False)
print(f"{len(df):,} transactions written")

Output: 3,000 transactions written. Now the summary, with the denominator of every figure stated.

import numpy as np
import pandas as pd

df = pd.read_csv("square_tips.csv")
df["tip_pct"] = df["Tip"] / df["Gross Sales"] * 100
df["tipped"] = df["Tip"] > 0
tp = df[df["tipped"]]

print(f"all transactions: {len(df):,}")
print(f"tipped: {len(tp):,} ({df['tipped'].mean():.1%} of all)")
print(f"avg tip %, all transactions (no tip = 0): "
      f"{df['tip_pct'].mean():.1f}")
print(f"avg tip %, tipped only: {tp['tip_pct'].mean():.1f}")
print(f"median tip %, tipped only: {tp['tip_pct'].median():.1f}")

g = df.groupby("Payment Type")
out = pd.DataFrame({
    "n_all": g.size(),
    "share_tipped": g["tipped"].mean().round(3),
    "avg_pct_tipped": tp.groupby("Payment Type")["tip_pct"]
        .mean().round(1),
    "n_tipped": tp.groupby("Payment Type").size()})
print(out.to_string())

# Wallet minus card, tipped only: difference and 95% interval
w = tp.loc[tp["Payment Type"] == "Digital Wallet", "tip_pct"]
c = tp.loc[tp["Payment Type"] == "Card", "tip_pct"]
d = w.mean() - c.mean()
se = np.sqrt(w.var() / len(w) + c.var() / len(c))
print(f"wallet - card: {d:.1f} points, "
      f"95% interval {d - 1.96 * se:.1f} to {d + 1.96 * se:.1f}")

Expected Output

all transactions: 3,000
tipped: 2,292 (76.4% of all)
avg tip %, all transactions (no tip = 0): 13.4
avg tip %, tipped only: 17.6
median tip %, tipped only: 17.6
                n_all  share_tipped  avg_pct_tipped  n_tipped
Payment Type                                                 
Card             1659         0.854            16.8      1416
Cash              411         0.092            14.6        38
Digital Wallet    930         0.901            19.0       838
wallet - card: 2.2 points, 95% interval 1.8 to 2.6

The two averages differ because of the denominator: 17.6% among the 2,292 tipped transactions, 13.4% across all 3,000 when no tip counts as 0%. By payment type, cash has only 38 tipped transactions out of 411, so its 14.6% average rests on very few rows and mostly reflects that cash tips are not recorded. Among tipped transactions, digital wallet is 2.2 points above card (interval 1.8 to 2.6), which matches the planted 2-point gap. That interval says how precisely the gap is measured here; it does not say wallet payments cause bigger tips, and it treats transactions as independent, which repeat customers can break. Missing values: this file has no blank tips, but a real export may, so decide whether a blank means zero or unknown before you group.

Step 4: Review Key Performance Indicators

A finished summary has sections like these. The numbers are invented, and 15.6% is 17.9% x 86.9% (counting each untipped transaction as 0%):

Overall Tip Metrics

Total Transactions Analyzed: 12,450
Transactions with Tips: 10,823 (86.9% of all)
Average Tip %, tipped transactions only: 17.9%
Average Tip %, all transactions (no tip = 0%): 15.6%
Median Tip %, tipped transactions only: 16.5%
Standard Deviation, tipped transactions only: 6.2%

Tip Amount Distribution:
- 0-10%: 15.2% of tipped transactions
- 10-15%: 22.8% of tipped transactions
- 15-20%: 38.4% of tipped transactions
- 20-25%: 18.3% of tipped transactions
- 25%+: 5.3% of tipped transactions

Temporal Patterns

Group by daypart and weekday to see when tip percentages are higher. A layout like this:

Peak Tipping Times:
- Morning (6am-11am): 15.8% average tip
- Lunch (11am-2pm): 16.2% average tip
- Afternoon (2pm-5pm): 17.1% average tip
- Dinner (5pm-9pm): 18.9% average tip
- Late Night (9pm-close): 19.4% average tip

Day of Week Performance:
- Monday: 16.1%
- Tuesday: 16.5%
- Wednesday: 16.8%
- Thursday: 17.2%
- Friday: 18.7%
- Saturday: 19.3%
- Sunday: 17.9%

This data suggests that evening hours and weekends generate higher tip percentages, valuable information for staffing decisions.

Step 5: Analyze Payment Method Impact

Payment type is one of the first splits to look at. Break tipping down by payment type, using the same tipped transactions as the overall metrics:

Payment Method Analysis:
- Credit Card: 18.2% avg tip (4,523 transactions)
- Debit Card: 17.1% avg tip (3,891 transactions)
- Digital Wallet: 19.6% avg tip (1,892 transactions)
- Cash: 14.3% avg tip (517 transactions)

Total: 10,823 tipped transactions (same population as the overall metrics above)

In this invented example, the average tip percentage for digital wallet payments (19.6%) is about 37% higher than for cash (14.3%). That is an observed difference between groups, not evidence that the payment method changes how much people tip: the customers, tickets and settings differ too, and cash tips may not be recorded in the export. Before acting, estimate the difference with an interval; see statistical significance.

Step 6: Evaluate Staff Performance

If your data includes the team member, group by it:

Staff Tip Performance (same 10,823 tipped transactions):
Name          Avg Tip %   Median Tip %   Transactions   Total Tips
Sarah         18.6%       17.9%          2,734          $9,821
Mike          17.2%       16.4%          2,456          $7,654
Jennifer      17.9%       17.4%          2,103          $7,892
Alex          16.3%       15.6%          1,987          $6,234
Taylor        19.5%       18.9%          1,543          $8,123

In this invented table Taylor has the highest average tip percentage with the fewest transactions. That could reflect service, but also shifts, locations and customers, and a smaller count means a less precise average. Compare team members on the same shifts before drawing a conclusion.

Step 7: Check What Goes With Tip Percentage

Tip percentage tends to move with ticket size, because a fixed tip is a larger share of a small ticket. Before reading any dayparts or team member comparison, split by ticket size bands or compare within a band. Statistical models (a regression of tip percentage on ticket size, time and payment type) can separate these overlapping factors, but they describe association, not what causes tipping.

A Tiny Example You Can Check by Hand

Here is the Step 3 math on a file small enough to read. The 10 rows below are invented for this page. They are not a Square export, and the column names are ours (rename your own columns to match). Code block 1 builds the table and prints the output shown after it.

Code block 1

import pandas as pd, io

df = pd.read_csv(io.StringIO("""txn,gross_sales,tip,payment_type,daypart
t01,20.00,4.00,Card,Lunch
t02,10.00,1.00,Cash,Lunch
t03,40.00,8.00,Card,Dinner
t04,25.00,0.00,Cash,Lunch
t05,30.00,6.00,Wallet,Dinner
t06,50.00,10.00,Card,Dinner
t07,12.00,1.20,Cash,Lunch
t08,18.00,3.60,Wallet,Lunch
t09,60.00,9.00,Card,Dinner
t10,8.00,0.00,Cash,Lunch
"""))
df["tip_pct"] = df["tip"] / df["gross_sales"] * 100

print("Rows:", len(df), "| with a tip:", (df["tip"] > 0).sum())
print("Overall tip % (total tips / total sales):", round(df["tip"].sum() / df["gross_sales"].sum() * 100, 1))
g = df.groupby("payment_type").agg(n=("txn", "count"), sales=("gross_sales", "sum"),
                                   tips=("tip", "sum"), avg_row_pct=("tip_pct", "mean"))
g["pooled_pct"] = g["tips"] / g["sales"] * 100
print(g.round(1).to_string())
d = df.groupby("daypart")[["tip", "gross_sales"]].sum()
d["pooled_pct"] = d["tip"] / d["gross_sales"] * 100
print(d.round(1).to_string())

Expected Output of Code Block 1

Rows: 10 | with a tip: 8
Overall tip % (total tips / total sales): 15.7
              n  sales  tips  avg_row_pct  pooled_pct
payment_type                                         
Card          4  170.0  31.0         18.8        18.2
Cash          4   55.0   2.2          5.0         4.0
Wallet        2   48.0   9.6         20.0        20.0
          tip  gross_sales  pooled_pct
daypart                               
Dinner   33.0        180.0        18.3
Lunch     9.8         93.0        10.5

Check it by hand. Total tips are 31.00 + 2.20 + 9.60 = 42.80 and total sales are 170 + 55 + 48 = 273, so 42.80 / 273 = 15.7%. Two rows (t04 and t10) have a 0.00 tip, so 8 of 10 rows have a tip. For Card, the four row percentages are 20, 20, 20 and 15, which average 18.75, shown as 18.8. The pooled figure (31.00 / 170 = 18.2%) differs because bigger tickets count for more. Both are fair; say which one you report. In this made-up file Cash is low (4.0% pooled) and Dinner beats Lunch (18.3% vs 10.5%). With 10 rows that only shows the arithmetic and is not a finding. Cash tips may also be missing from a real export.

Interpreting Your Results

Understanding Statistical Significance

Not every pattern in your data is a real difference. Report an estimate of the difference together with a confidence interval, and use a p-value as one piece of evidence:

For example, if Friday tips come out 2 percentage points above Monday tips with p=0.03, that is evidence against no Monday-to-Friday difference in this data, together with an interval for the size of the gap. It does not show the cause, and with p=0.15 the data are still compatible with no difference or a modest one.

Practical Significance vs. Statistical Significance

A finding can be statistically significant but not practically meaningful. If digital wallet payments generate 0.5% higher tips with p=0.001, it's statistically significant but may not justify major operational changes. Decide in advance what size of difference would change a decision for your business, and focus on patterns where the interval for the difference sits on the side that matters.

Actionable Insights to Extract

Look for these high-value insights in your results:

  1. Optimal Staffing Times: Schedule your best-tipped staff during peak tipping hours
  2. Payment Method: Note which payment types are associated with higher tips, and test before pushing customers toward one
  3. Training Opportunities: Ask high-tipped team members what they do differently, then test it
  4. Suggested Tip Amounts: Use the tip distribution to choose suggestions worth testing
  5. Service Speed: Compare transaction duration with tip amounts, if you have both

Segmentation Analysis

If you can identify repeat customers, compare their tips with first-time customers. An invented layout:

Customer Segment Analysis:
Regular Customers (10+ visits): 21.3% avg tip
Occasional Customers (3-9 visits): 18.1% avg tip
First-Time Customers: 16.2% avg tip

Hypothesis: customers who visit often tip more. Whether a loyalty
program would change tipping is unknown from this table; it would
need a controlled test.

Maximizing Tip Revenue: Implementation Strategies

Strategy 1: Optimize Tip Suggestion Amounts

Based on your tip distribution, choose alternative suggested tip amounts to test against the current ones:

Current Average Tip: 17.9%
Current Suggestions: 15%, 18%, 20%

Test to run:
New Suggestions: 18%, 20%, 22%

Outcome to measure: average tip, in percentage points, against the
current suggestions. No effect size is assumed; measure it.

Strategy 2: Time-Based Interventions

If your analysis reveals that certain time periods underperform:

Strategy 3: Staff Development Program

Use staff performance data to create a structured improvement program:

  1. Have top-performing staff shadow and mentor lower performers
  2. Document specific behaviors correlated with higher tips (greeting style, upselling techniques, timing)
  3. Review tip performance regularly, treating team-member differences with the caution described above
  4. If you consider incentives tied to tips, check first that shifts and locations are comparable

Strategy 4: A/B Testing Implementation

The analysis provides a baseline for running controlled experiments. Learn more about proper A/B testing methodology to ensure your experiments are statistically valid.

Example test:

Hypothesis: Adding a custom tip screen message increases tips
Control Group: Standard Square tip screen
Test Group: "Your support helps our team thrive!"

Run for: long enough to reach the planned sample size and cover full weeks
Measure: Average tip percentage difference
Required Sample Size: from a power calculation (smallest difference worth
detecting, variability of tip percentage, 5% significance level, 80% power)
Success Criteria: set before the test, as a minimum difference in
percentage points plus the interval for it

Verification and Quality Assurance

How to Know Your Analysis is Correct

Verify your analysis results by checking these key indicators:

  1. Data Volume Check: Confirm the number of transactions analyzed matches your CSV row count minus the header, less any rows you deliberately excluded
  2. Date Range Verification: Ensure the analysis covers the intended time period
  3. Sanity Check Metrics: Check that tip percentages are plausible for your business and that no row has a tip larger than its sale without a reason
  4. Cross-Reference: Compare key totals (total tip amount) with Square's built-in reporting to ensure consistency

Checking Your Own Summary

A complete summary should include:

Review Schedule

Tip analysis isn't a one-time activity. A regular review schedule might look like this:

Example Analysis Frequency:
- Weekly: High-level check of average tip % and total tips
- Monthly: Comprehensive pattern analysis
- Quarterly: Deep-dive segmentation and trend analysis
- After Changes: 2-4 weeks post-implementation of any optimization

Sources

Run It on Your Own Square Export

Export your transactions from Square as a CSV and upload it at MCP Analytics, then ask the question in plain language; the report names the method. Nothing connects to your Square account.

Try it on your data

Next Steps with Square Analytics

Expand Your Analysis

Once you've mastered tip analysis, consider expanding to these related areas:

Advanced Analytics Techniques

For businesses ready to take their analysis to the next level, explore these advanced methodologies:

Continuous Improvement Cycle

Establish a data-driven culture of continuous improvement:

Monthly Improvement Cycle:
Week 1: Export and analyze latest data
Week 2: Identify top opportunity for optimization
Week 3: Implement change and communicate to team
Week 4: Review early results and gather feedback

Repeat monthly, tracking cumulative improvement in average tip %

Common Issues and Solutions

Issue 1: Data Export Problems

Problem: Square export doesn't include tip data or shows $0.00 for all tips.

Solution: Check the headers of your export for a tip column. Square's help article does not list the columns of the transactions CSV, so if you find none, check in Square that tipping is turned on for the sales you exported and ask Square support what the export includes.

Issue 2: Inconsistent or Missing Data

Problem: Analysis shows gaps in date ranges or unexpected data quality issues.

Solution:

1. Check for system downtime during export period
2. Verify transaction date filters in Square before export
3. Look for timezone inconsistencies in timestamp data
4. Ensure you're exporting ALL locations if multi-location
5. Re-export with expanded date range to capture missed data

Issue 3: Counterintuitive Results

Problem: Analysis shows patterns that don't match your business intuition (e.g., worse tips during busy periods).

Solution: This often indicates real issues worth investigating:

Issue 4: Insufficient Sample Size

Problem: Very wide confidence intervals, or a group with only a handful of transactions.

Solution: Increase your data collection period, and judge sample size by interval width, not by a fixed count:

Rules of thumb (planning heuristics, not guarantees):
- Every group you compare needs many transactions; the count you
  need depends on the difference you want to detect and how variable
  tip percentage is within the group
- Interval width tells you whether you have enough: if it is too
  wide to change a decision, you do not
- A/B testing: size the test with a power calculation

If you don't have enough data, wait longer before analyzing
or focus on broader patterns (weekly vs. hourly).

Issue 5: High Variance in Results

Problem: Tip percentages vary wildly, making it hard to identify patterns.

Solution: High variance is common in tip data. Address it by:

Issue 6: File Problems When Loading

Problem: Your spreadsheet or script fails to read the file.

Solution:

Common fixes:
- Save as CSV, not PDF or Excel
- Check that a Tip column and a sale amount column exist
- Check dates parse in one format (MM/DD/YYYY or YYYY-MM-DD)
- Very large files may need to be split
- Remove repeated header rows if the CSV has more than one

Getting Additional Help

If you encounter issues not covered here, consult Square support for questions about the export itself.

Your turn

Bring your own data and the question you actually need answered.

MCP AnalyticsData science by email Send us your data and your question, and we will reply. ds@mcpanalytics.ai

Explore more: Square Analytics: all tools, tutorials, and guides →