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.

Square Hourly Performance: Sales Trends Guide

By MCP Analytics Team | Published , updated

Identify peak sales hours and plan staff scheduling around your own data

Introduction to Hourly Performance Analysis

Understanding when your business experiences peak sales activity can help you plan operations and labor costs. Square's transaction data holds hourly patterns that show when sales happened in the period you export.

Hourly performance analysis transforms raw transaction timestamps into actionable insights about your business rhythm. By identifying high-traffic hours, you can make informed decisions about staffing levels, inventory preparation, promotional timing, and resource allocation.

This tutorial will guide you through the complete process of analyzing your Square hourly sales data, from data extraction to implementing staffing changes based on your findings. Whether you run a coffee shop with morning rushes, a restaurant with dinner peaks, or a retail store with weekend surges, this analysis shows the hourly pattern in your data.

Steps: 1 Export your data, 2 Prepare it, 3 Run the hourly analysis, 4 Read the results, 5 Draft a staffing plan, 6 Monitor changes, 7 Set a review routine. The script below is a small simulated run of Steps 2 and 3 in pandas, to show what the hour and weekday tables look like.

A Small Simulated Example: Hour by Weekday

This example is simulated (numpy seed 5), not Square data. It generates 8 weeks of sales in which weekdays peak at 8 and 12 o'clock and weekends peak at 10 and 11 o'clock, then derives the hour and weekday from each timestamp and counts transactions in each cell, as a spreadsheet pivot table would.

import numpy as np
import pandas as pd

rng = np.random.default_rng(5)   # seed stated: 5
days = pd.date_range("2026-08-03", periods=56, freq="D")  # 8 weeks

# built-in effect: weekdays peak at 8 and 12, weekends peak at 10-11
wk = {7: 4, 8: 9, 9: 6, 10: 3, 11: 3, 12: 10, 13: 7, 14: 2}
we = {7: 1, 8: 3, 9: 6, 10: 9, 11: 9, 12: 5, 13: 3, 14: 2}
rows = []
for d in days:
    rates = we if d.dayofweek >= 5 else wk
    for hour, lam in rates.items():
        for _ in range(rng.poisson(lam)):
            t = d + pd.Timedelta(hours=hour,
                                 minutes=int(rng.integers(60)))
            rows.append((t, round(float(rng.gamma(4, 3.5)), 2)))

df = pd.DataFrame(rows, columns=["when", "gross"])
df["hour"] = df["when"].dt.hour
df["weekday"] = df["when"].dt.day_name().str[:3]

order = ["Mon", "Tue", "Wed", "Thu", "Fri", "Sat", "Sun"]
n = df.pivot_table(index="hour", columns="weekday",
                   values="gross", aggfunc="count")[order]
print("Transactions by hour and weekday (8 weeks):")
print(n.fillna(0).astype(int).to_string())

by_hour = df.groupby("hour")["gross"].agg(["sum", "count"])
by_hour = by_hour.reindex(range(5, 17), fill_value=0)
by_hour["avg"] = by_hour["sum"] / by_hour["count"].replace(0, np.nan)
print()
print(by_hour.round(2).loc[[5, 8, 12]].to_string())
Transactions by hour and weekday (8 weeks):
weekday  Mon  Tue  Wed  Thu  Fri  Sat  Sun
hour                                      
7         28   39   28   39   27   10   16
8         57   74   69   78   75   18   22
9         44   49   38   34   52   57   38
10        23   24   16   27   25   79   66
11        31   20   29   19   23   80   69
12        55   77   87   85   75   36   32
13        63   63   66   59   54   28   20
14        13   15   17   22   17   17   11

          sum  count    avg
hour                       
5        0.00      0    NaN
8     5571.47    393  14.18
12    6375.13    447  14.26

The table recovers the built-in pattern: on Tuesday to Friday the two busiest hours are 8 and 12, and on Saturday and Sunday they are 10 and 11, so one all-days hourly total would blur two different profiles. Monday shows hour 13 (63 transactions) above hour 8 (57), a difference that comes from random draws in the simulation, which is why you should compare many separate days before trusting a single weekday. Hour 5 has no transactions, so its average is blank (NaN), the same case the IF formula in Step 2 handles. This simulation cannot tell you how your own days compare or whether a gap would repeat.

Prerequisites and Data Requirements

What You'll Need Before Starting

Before beginning your hourly performance analysis, ensure you have the following in place:

Understanding Your Data Structure

Square transaction data typically includes these key fields needed for hourly analysis:

Technical Requirements

No advanced technical skills are required, but familiarity with these concepts helps:

Pro Tip: Before starting your analysis, consider external factors that might affect hourly patterns. Special events, holidays, weather, or recent business changes can create anomalies in your data that should be noted during interpretation.

Step-by-Step Analysis Process

Step 1: Export Your Square Transaction Data

Begin by extracting your transaction data from Square Dashboard:

  1. Log into your Square Dashboard at squareup.com/dashboard
  2. Go to Orders & payments (on some accounts Payments), then Transactions
  3. Set your date range (60 to 90 days is a practical window, long enough to cover several of each weekday)
  4. Click Export to download the transaction details as a CSV file
  5. Save the file to a memorable location on your computer

Square's help article on viewing and searching transactions says to "click Export to download transaction details as a CSV file in your Square Dashboard" (export is available in the Dashboard, not in the point of sale app). That article does not list the CSV's columns, so check the headers of your own file. The layout below is the one this tutorial uses; if your column names or order differ, change the column letters in the formulas in Step 2 to match.

CSV layout used in this tutorial (illustrative rows):

Date,Time,Time Zone,Gross Sales,Net Sales,Payment ID,Location
2024-03-15,08:45:23,PST,$12.50,$12.50,ABC123,Main Street Store
2024-03-15,09:12:45,PST,$45.00,$45.00,DEF456,Main Street Store
2024-03-15,09:34:12,PST,$8.75,$8.75,GHI789,Main Street Store

Step 2: Prepare Your Data for Analysis

Once you have your transaction export, you'll need to process it for hourly aggregation:

The steps below use a spreadsheet. To upload the CSV instead, see "Run It on Your Own Square Export" further down.

Spreadsheet steps

If you prefer hands-on analysis, follow these data preparation steps:

  1. Open your CSV file in Excel or Google Sheets
  2. In the first empty column (H in the layout above), type "Hour" in the header cell and fill it down with =HOUR(B2), where column B holds the time of the sale. If your spreadsheet imported the times as text, use =HOUR(TIMEVALUE(B2)) instead. Do not point it at column C, which holds the time zone
  3. Create a pivot table with Hour as rows and SUM of Gross Sales as values
  4. Add COUNT of transactions to show transaction volume per hour

Example spreadsheet formulas (Excel or Google Sheets):

Hour column, H2 (fill down); B holds the time of the sale:
=HOUR(B2)

If the times came in as text:
=HOUR(TIMEVALUE(B2))

Weekday column, I2 (fill down); A holds the date, Monday = 1:
=WEEKDAY(A2,2)

Summary table: J2 holds an hour number such as 8; D is Gross Sales
K2 (total sales):        =SUMIFS($D:$D,$H:$H,J2)
L2 (transactions):       =COUNTIFS($H:$H,J2)
M2 (average value):      =IF(L2=0,"",K2/L2)

By weekday: put the weekday numbers 1 to 7 across O1:U1
O2 (transactions):       =COUNTIFS($H:$H,$J2,$I:$I,O$1)

The summary formulas use whole columns, so they keep working when your export has more than a few thousand rows. The Gross Sales column must hold numbers: if your spreadsheet imported "$12.50" as text, convert it first. An hour with no transactions has no average, which is why M2 returns an empty cell instead of a division error. If the dates came in as text, use =WEEKDAY(DATEVALUE(A2),2). To build the hour-by-weekday table in the simulated example, copy O2 across to U2 and then down your list of hours; the dollar signs keep the hour column and the weekday row fixed.

Step 3: Run the Hourly Performance Analysis

Now that your data is prepared, execute the analysis to identify patterns:

The analysis will aggregate your transactions into hourly buckets (0-23, representing midnight through 11 PM) and calculate these key metrics:

In a spreadsheet you build these with the pivot table and formulas above, and chart them. Totals by hour are descriptive: they show when sales fell in the period you exported, not whether a gap between two hours would repeat. To judge that, compare the same hours across many separate days and see whether the busy hour wins on most of them or only on one or two large days. If you run a significance test across days, the p-value is the probability of data at least this extreme if there were no real difference; a small p-value is evidence against no difference, not proof of an effect, and a large one is not proof of no effect. For how that works, see A/B testing for statistical significance.

Step 4: Interpret Your Hourly Performance Results

Here's how to read your hourly performance data:

Identify Peak Hours

Look for hours with the highest sales volume. These are your business-critical periods that require maximum staffing and inventory readiness. Typically, you'll see:

Example Analysis Output (illustrative figures made up for this tutorial, not from a real business; the table stops at 14:00, so the percentages are shares of a full day's sales of roughly $11,700 to $11,800 that includes the later hours):

Hour    | Total Sales | Transactions | Avg Value | % of Daily Sales
--------|-------------|--------------|-----------|------------------
06:00   | $245        | 18           | $13.61    | 2.1%
07:00   | $892        | 67           | $13.31    | 7.6%
08:00   | $1,456      | 112          | $13.00    | 12.4%  ← Morning Peak
09:00   | $1,234      | 95           | $12.99    | 10.5%
10:00   | $678        | 51           | $13.29    | 5.8%
11:00   | $534        | 42           | $12.71    | 4.6%
12:00   | $1,823      | 134          | $13.60    | 15.5%  ← Lunch Peak
13:00   | $1,567      | 118          | $13.28    | 13.3%
14:00   | $423        | 34           | $12.44    | 3.6%

In this example, the 8 AM and 12 PM hours stand out as the morning and lunch peaks, so those are the hours to consider staffing up. Check that the same hours lead on most separate days before you change a schedule.

Analyze Transaction Value Patterns

Don't just look at total sales; examine average transaction values. Higher average values during certain hours might indicate:

Compare Weekday vs. Weekend Patterns

Split your analysis by day of week to identify different patterns. Add a weekday column (=WEEKDAY(A2,2), see Step 2) and count transactions by hour and weekday, as in the simulated example near the top:

Step 5: Apply Insights to Staffing Decisions

Turn your analysis into a first-draft staffing schedule:

Create a Staffing Matrix

Use your hourly sales percentages to draft an initial estimate of staff allocation. Sales share alone does not set the right staffing: reconcile the draft with how long each task takes, the minimum coverage you need open, who is available, and your total staff-hour budget after rounding:

  1. Calculate your average hourly labor cost
  2. Determine your target labor-to-sales ratio from your own books (labor cost divided by sales for the same period)
  3. Allocate staff proportionally to sales volume
  4. Add buffers for peak preparation (30 minutes before major peaks)
  5. Reconcile the result with minimum coverage, availability and your staff-hour budget, then adjust by hand

Staffing Calculation Example:

// If 12 PM generates 15.5% of daily sales
// And you have 8 total staff hours available per day
// Allocate: 8 hours × 15.5% = 1.24 staff hours at noon

// Round up for major peaks: 2 staff members during 12 PM hour
// Start one staff member at 11:30 AM for prep
// Keep both through 1 PM for post-rush cleanup
// This is a first draft: raise or lower it to meet minimum coverage
// and your staff-hour budget once every hour has been rounded

Schedule Optimization Strategy

Build schedules that match your data:

Step 6: Implement and Monitor Changes

After creating your new schedule, track its effectiveness:

  1. Implement your new staffing schedule for at least 2-4 weeks
  2. Monitor these key performance indicators (KPIs):
    • Customer wait times during peak hours
    • Sales per labor hour (SPLH)
    • Employee overtime hours
    • Customer satisfaction scores or feedback
  3. Run your hourly analysis again after that 2 to 4 week period
  4. Compare labor costs before and after optimization
  5. Adjust schedules based on findings

Success Metric: Record your baseline before you change anything: labor cost per dollar of sales, wait times and overtime hours. Then compare the same measures after the new schedule has run, keeping in mind that season, weather and promotions also move them, so a change in one period is not proof the schedule caused it.

Step 7: Establish Ongoing Analysis Cadence

Hourly patterns change over time due to seasons, trends, and business evolution:

Export the same date window each time (for example the previous full month) so the periods are comparable.

Advanced Interpretation Techniques

Identifying Anomalies and Outliers

Not all patterns are normal business rhythms. Learn to spot and handle anomalies:

When analyzing your data, note these events and consider excluding those dates or creating separate analyses for "normal" vs. "special event" patterns.

Segmentation Strategies

Go beyond basic hourly analysis by segmenting your data:

Correlation with External Factors

Consider analyzing your hourly data alongside:

These correlations help explain why certain hourly patterns exist and inform strategic decisions beyond just staffing.

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

Troubleshooting Common Issues

Issue: Missing or Incomplete Transaction Data

Symptoms: Your export has gaps, certain hours show zero transactions when you know you had sales, or the date range is shorter than expected.

Solutions:

Issue: Inconsistent Time Zones

Symptoms: Peak hours appear at odd times, or hourly patterns don't match your observations.

Solutions:

Issue: Patterns Don't Match Expected Behavior

Symptoms: Your analysis shows peak hours that don't align with when you observe your busiest times.

Solutions:

Issue: Extreme Variability Between Days

Symptoms: Hourly patterns are wildly inconsistent day-to-day, making it hard to identify reliable peaks.

Solutions:

Issue: Cannot Generate Visualizations

Symptoms: Pivot tables won't create, charts are broken, or formulas return errors.

Solutions:

Issue: Low Sales Volume Makes Patterns Unclear

Symptoms: You only have a few transactions per hour, making it difficult to identify meaningful patterns.

Solutions:

Issue: Implementation Not Improving Metrics

Symptoms: You optimized staffing based on analysis but haven't seen expected labor cost savings or service improvements.

Solutions:

Next Steps with Square Analytics

Hourly performance analysis is just one dimension of Square data insights. After mastering hourly patterns, consider these complementary analyses:

Product Performance Analysis

Identify which products sell best during your peak hours vs. slow periods. This informs inventory preparation, promotional timing, and menu/product mix optimization.

Customer Cohort Analysis

If you use Square Loyalty or capture customer data, segment hourly patterns by customer type to understand if different demographics shop at different times.

Employee Performance Tracking

Cross-reference employee schedules with sales performance to identify your highest-performing team members and the staff combinations that coincide with strong sales.

Seasonal Trend Analysis

Build year-over-year hourly comparisons to understand how your business evolves seasonally, informing long-term planning and forecasting.

Integration with Marketing Data

Correlate your hourly sales patterns with marketing campaign timing to understand when your customers are most receptive to promotions.

Each of these analyses builds on the foundation you've established with hourly performance tracking.

Continuous Improvement Framework

Establish a data-driven culture by:

  1. Monthly metrics reviews: Share hourly performance insights with your team
  2. Hypothesis testing: Run controlled experiments with schedule changes
  3. Feedback loops: Combine quantitative data with qualitative staff and customer feedback
  4. Benchmark tracking: Monitor key metrics month-over-month and year-over-year
  5. Documentation: Keep records of insights and actions for institutional knowledge

Resources for Deeper Learning

Conclusion

Hourly performance analysis turns Square transaction data into a description of when your sales happen. By following this tutorial, you've learned to identify peak sales hours, plan staff scheduling, and test operational changes against your own results.

The most successful businesses don't just collect data. They systematically analyze it, act on insights, and continuously refine their approach. Your hourly sales patterns contain answers to critical questions about resource allocation, customer behavior, and operational efficiency.

Remember: the goal isn't perfection, but progress. Begin with simple hourly aggregations, implement initial schedule optimizations, measure results, and iterate. Each cycle of analysis and adjustment gives you a better-informed schedule to check against your results.

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

Not sure which plan? Compare plans →

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