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:
- Active Square Account: You need a Square account with transaction history. This tutorial applies to Square for Retail, Square for Restaurants, and all other Square POS variations.
- Sufficient Transaction History: At minimum, you should have 2-4 weeks of transaction data. Ideally, 2-3 months provides better pattern detection and accounts for weekly variations.
- Data Access Permissions: Ensure you have admin or reporting access to export transaction data from your Square dashboard.
- Analysis Tool: Spreadsheet software (Excel or Google Sheets). The steps below are written for a spreadsheet; the section "Run It on Your Own Square Export" near the end covers uploading the same CSV instead.
Understanding Your Data Structure
Square transaction data typically includes these key fields needed for hourly analysis:
- Transaction Date/Time: Timestamp when the sale occurred
- Gross Sales: Total sales amount before discounts and refunds
- Net Sales: Final sales amount after adjustments
- Transaction Count: Number of individual transactions
- Location: If you operate multiple locations
Technical Requirements
No advanced technical skills are required, but familiarity with these concepts helps:
- Basic understanding of CSV file formats
- Ability to navigate Square Dashboard reporting section
- Knowing which time zone your export uses (check the Time Zone column if your file has one, and compare a few rows with sales you remember)
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:
- Log into your Square Dashboard at
squareup.com/dashboard - Go to Orders & payments (on some accounts Payments), then Transactions
- Set your date range (60 to 90 days is a practical window, long enough to cover several of each weekday)
- Click Export to download the transaction details as a CSV file
- 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:
- Open your CSV file in Excel or Google Sheets
- 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 - Create a pivot table with Hour as rows and SUM of Gross Sales as values
- 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:
- Total Sales per Hour: Sum of all sales within each hour
- Transaction Count per Hour: Number of individual transactions
- Average Transaction Value: Mean purchase amount per hour
- Sales Percentage Distribution: What percentage of daily sales occurs in each hour
- Day-of-Week Patterns: How hourly patterns differ between weekdays and weekends
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:
- Primary Peak: The single busiest hour of your day
- Secondary Peaks: Other hours with elevated activity
- Shoulder Hours: Hours immediately before/after peaks that need transition planning
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:
- Different customer demographics (business lunches vs. quick coffee)
- More leisure time allowing browsing (higher basket sizes)
- Opportunities for upselling during specific periods
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:
- Weekday patterns: Often driven by commuter traffic, lunch breaks, after-work shopping
- Weekend patterns: Typically more leisure-oriented, different peak hours
- Monday/Friday variations: May differ from mid-week patterns
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:
- Calculate your average hourly labor cost
- Determine your target labor-to-sales ratio from your own books (labor cost divided by sales for the same period)
- Allocate staff proportionally to sales volume
- Add buffers for peak preparation (30 minutes before major peaks)
- 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:
- Stagger start times: Have staff arrive 30-60 minutes before peak hours
- Use split shifts: If you have morning and evening peaks with slow midday
- Cross-train employees: Deploy staff flexibly during unexpected surges
- Plan breaks strategically: Schedule them in the hours your data shows are slow
Step 6: Implement and Monitor Changes
After creating your new schedule, track its effectiveness:
- Implement your new staffing schedule for at least 2-4 weeks
- 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
- Run your hourly analysis again after that 2 to 4 week period
- Compare labor costs before and after optimization
- 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:
- Monthly reviews: Quick check for significant pattern shifts
- Quarterly deep dives: Comprehensive analysis with schedule adjustments
- Seasonal planning: Pre-analyze before known busy periods (holidays, summer, etc.)
- Event-based analysis: Review patterns after major changes (new location, menu changes, marketing campaigns)
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:
- One-time events: Grand openings, special promotions, local events that distort patterns
- System issues: POS downtime that creates artificial gaps in transaction data
- Weather impacts: Extreme weather can significantly shift hourly patterns
- Staff shortages: Understaffing during a period may suppress sales, not reflect true demand
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:
- By product category: Coffee vs. food sales may peak at different times
- By customer type: New vs. returning customers (if you capture this data)
- By payment method: Cash vs. card transactions might indicate different customer segments
- By location: If you operate multiple stores, compare their hourly patterns
Correlation with External Factors
Consider analyzing your hourly data alongside:
- Local traffic patterns: Rush hour timing in your area
- Nearby business hours: Office buildings, schools, other retailers
- Public transportation schedules: If applicable to your location
- Competitor hours: When alternatives are open or closed
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.
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:
- Verify your export date range in Square Dashboard: ensure you selected the correct start and end dates
- Check if you have multiple locations and accidentally filtered to only one
- Confirm your POS was online during the missing periods (offline mode transactions sync later)
- Try exporting a smaller date range to isolate when data becomes incomplete
- Contact Square support if data is genuinely missing from their system
Issue: Inconsistent Time Zones
Symptoms: Peak hours appear at odd times, or hourly patterns don't match your observations.
Solutions:
- Check which time zone your export uses and compare it with your account's time zone setting
- If you changed timezones recently, older data may be in a different timezone
- When analyzing, ensure your analysis tool uses the same timezone as your Square data
- For multi-location businesses across time zones, analyze each location separately
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:
- Distinguish between transaction count peaks and revenue peaks. They may differ
- Check if you're analyzing gross sales vs. net sales (refunds can distort patterns)
- Verify your date range includes enough data: patterns in one week may not represent trends
- Consider that what "feels busy" (lots of customers) may not align with when you make the most money
- Review if recent changes (new products, price changes) have shifted patterns from historical observations
Issue: Extreme Variability Between Days
Symptoms: Hourly patterns are wildly inconsistent day-to-day, making it hard to identify reliable peaks.
Solutions:
- Separate weekday and weekend data. They often have completely different patterns
- Extend your analysis period to 2-3 months for more stable averages
- Identify and exclude special event days that distort patterns
- Consider if your business naturally has high variability (event-based, tourist-driven, etc.)
- Use median values instead of means to reduce impact of outliers
Issue: Cannot Generate Visualizations
Symptoms: Pivot tables won't create, charts are broken, or formulas return errors.
Solutions:
- Ensure timestamp columns are formatted as Date/Time in your spreadsheet
- Check for blank rows or cells in your data that break calculations
- Verify column headers don't have special characters that confuse formulas
- Save your CSV and reopen in a fresh spreadsheet to clear formatting issues
Issue: Low Sales Volume Makes Patterns Unclear
Symptoms: You only have a few transactions per hour, making it difficult to identify meaningful patterns.
Solutions:
- Extend your analysis period to 3-6 months for low-volume businesses
- Group hours into larger time blocks (morning, midday, afternoon, evening)
- Focus on day-of-week patterns rather than precise hourly patterns
- Consider that highly variable demand may require flexible staffing rather than fixed schedules
- Supplement quantitative data with qualitative observation
Issue: Implementation Not Improving Metrics
Symptoms: You optimized staffing based on analysis but haven't seen expected labor cost savings or service improvements.
Solutions:
- Verify schedules are actually being followed (check time clock data vs. planned schedules)
- Ensure sufficient time has passed: allow 4-6 weeks for patterns to stabilize
- Check if external factors changed (competitors, season, local events)
- Review if you accounted for task time beyond serving customers (prep, cleaning, restocking)
- Consider if your labor-to-sales ratio targets are realistic for your industry
- Gather employee feedback. They may identify operational issues your data doesn't reveal
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:
- Monthly metrics reviews: Share hourly performance insights with your team
- Hypothesis testing: Run controlled experiments with schedule changes
- Feedback loops: Combine quantitative data with qualitative staff and customer feedback
- Benchmark tracking: Monitor key metrics month-over-month and year-over-year
- Documentation: Keep records of insights and actions for institutional knowledge
Resources for Deeper Learning
- Square's help article on viewing, filtering and exporting transactions
- Industry-specific labor efficiency benchmarks for your sector
- Advanced statistical methods for time series analysis and forecasting
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 →