Skip to content
Foxcolab

How to Make a Timesheet (with Overtime Formulas)

What a timesheet has to record, the columns and formulas that count hours, breaks, night shifts and overtime, a worked week you can check, and how to run weekly timesheets in end-to-end encrypted Foxcolab Sheets.

8 min read
On this page14 sections

In short

To make a timesheet, give each day a row with the date, start time, end time and unpaid break, and let a formula work out the hours: =MOD(End-Start,1)*24-Break/60. Total the week with SUM, split regular and overtime hours with MIN and MAX, and multiply by the pay rate. Lock approved weeks and keep them. Foxcolab Sheets has a Weekly timesheet template, and the spreadsheet is end-to-end encrypted.

Key takeaways

  • Record start, end and unpaid break for every day. A typed total of hours can't be checked later.
  • MOD(End-Start,1)*24 turns two clock times into decimal hours and handles shifts that run past midnight.
  • Under the US Fair Labor Standards Act, overtime is counted per workweek, over 40 hours, at no less than one and a half times the regular rate, and weeks can't be averaged.
  • Only subtract unpaid meal breaks. In the US, short rest breaks count as hours worked.
  • Foxcolab Sheets encrypts hours, pay rates and notes on your device, so Foxcolab can't read your payroll records.

Last reviewed 3 December 2026 by Foxcolab Team

To make a timesheet, give each workday a row with the date, the start time, the end time and any unpaid break, then let one formula turn those times into hours. Total the week, split the total into regular and overtime hours, and multiply by the pay rate. This guide shows what a timesheet has to record, the formulas to copy, a worked week with a night shift and overtime, and the mistakes that cause pay disputes. Then it shows how to run weekly timesheets in Foxcolab Sheets, starting from the Weekly timesheet template, where hours, pay rates and notes are end-to-end encrypted and Foxcolab can't read them.

What a timesheet has to record#

A timesheet is the record that pay is calculated from, so it has to hold up when someone asks how a number was reached. The legal minimum depends on where your people work:

WhereWhat the rules ask for
United States (federal)The day and time the workweek begins, hours worked each day and total hours each workweek. No particular form is required, and any timekeeping method is fine "as long as it is complete and accurate" (DOL Fact Sheet #21).
European UnionMember states must require employers to set up "an objective, reliable and accessible system" that measures the time each worker works each day. Each country decides the form (Court of Justice, Case C-55/18).

Both point the same way: record each day's actual times, not a weekly guess. In the US, keep payroll records for at least three years and time cards and work schedules for two years. Other countries set their own retention periods, so check yours before you delete anything.

Set up the columns#

Use one row per day and keep a few details at the top: the employee's name, their manager, the date the week starts and the hourly rate.

ColumnHoldsExample
B: DayDay of the weekMonday
C: DateThe week's start date plus 0 to 6Dec 7, 2026
D: StartClock-in time8:00
E: EndClock-out time17:00
F: Break (min)Unpaid break in minutes30
G: HoursCalculated hours worked8.50
H: NotesAnything payroll should knowCovered the late delivery

Only unpaid breaks go in column F. The US Department of Labor says short rest breaks, usually 20 minutes or less, "must be counted as hours worked", while bona fide meal periods of 30 minutes or more generally aren't paid when the employee is fully relieved from duty (DOL Fact Sheet #22). A coffee break stays in the hours. A lunch break away from the desk comes out.

The formulas that count hours#

With the week in rows 9 to 15, the hourly rate in F6 and the week's start date in F5, these formulas do all the arithmetic:

Timesheet formulas (days in rows 9 to 15)·Text
C9   Date               =$F$5+0          (C10 is =$F$5+1, and so on)
G9   Hours              =IF(OR(D9="",E9=""),0,MAX(0,MOD(E9-D9,1)*24-F9/60))
G17  Total hours        =SUM(G9:G15)
G18  Regular hours      =MIN(40,G17)
G19  Overtime hours     =MAX(0,G17-40)
G20  Pay                =G18*F6+G19*F6*1.5

Spreadsheets store a time as a fraction of a day, so 12:00 is 0.5. Subtracting two times gives a fraction of a day, and multiplying by 24 turns it into hours. MOD(...,1) handles shifts that cross midnight: 2:00 minus 22:00 is negative, and MOD wraps it around to 4 hours. The IF leaves days without times at zero, and dividing the break by 60 turns minutes into hours.

A worked week#

Here's a week for an example employee, Jordan Lee, paid an example rate of 20 an hour, with the workweek starting Monday at midnight:

DayDateStartEndBreak (min)Hours
MondayDec 7, 20268:0017:00308.50
TuesdayDec 88:0018:303010.00
WednesdayDec 98:0017:00308.50
ThursdayDec 107:3018:003010.00
FridayDec 118:0016:30308.00
SaturdayDec 1222:002:0004.00
SundayDec 130.00

The week totals 49 hours: 40 regular and 9 overtime. Pay is 40 × 20 + 9 × 20 × 1.5 = 800 + 270 = 1,070.

Overtime rules to match#

The formulas above follow the US federal rule: covered employees get overtime for hours over 40 in a workweek at "not less than time and one-half their regular rates of pay". The workweek is a fixed, recurring 168-hour period that can start on any day, and "averaging of hours over two or more weeks is not permitted" (DOL Fact Sheet #23). Weekends and holidays don't earn overtime under federal law as such.

Some places add daily overtime. California pays one and a half times the regular rate for hours over 8 in a workday and double time over 12 (California Labor Commissioner). For daily rules, add two columns and fill them down:

Daily overtime columns (California-style rules)·Text
I9   Daily overtime     =MAX(0,MIN(G9,12)-8)
J9   Double time        =MAX(0,G9-12)

Check how your state or country combines daily and weekly overtime before you change the pay formula.

Rounding, if you round at all#

US rules accept recording start and stop times to the nearest 5 minutes, tenth of an hour or quarter hour, but only if it doesn't, "over a period of time", leave employees underpaid for time they actually worked (29 CFR 785.48). The safest timesheet records actual times. If your policy rounds, round both ways, for example =MROUND(D9,TIME(0,15,0)) for the nearest quarter hour, and never only down.

A team timesheet on one sheet#

For a team, log one row per shift instead of one sheet per person: Date (A), Employee (B), Start (C), End (D), Break (E), Hours (F) and Week of (G). A summary block then totals each person's week:

Team log (rows 2 to 1000) with a weekly summary·Text
F2   Hours              =MOD(D2-C2,1)*24-E2/60
G2   Week of (Monday)   =A2-WEEKDAY(A2,2)+1
K2   Jordan's week      =SUMIFS($F$2:$F$1000,$B$2:$B$1000,$J2,$G$2:$G$1000,K$1)
L2   Overtime           =MAX(0,K2-40)

Put names down column J and week start dates across row 1. WEEKDAY(A2,2) numbers Monday as 1, so subtracting it and adding 1 always lands on that week's Monday. Date an overnight shift by the day it starts.

Mistakes that cause pay disputes#

MistakeWhat goes wrongFix
Typing hours instead of timesNobody can check how a total was reachedRecord start, end and break, and let the formula count
Subtracting every breakShort paid breaks come off someone's payOnly subtract unpaid meal breaks
Plain End minus StartA 22:00 to 2:00 shift comes out at minus 20 hoursWrap it in MOD(End-Start,1)
Showing the total as a clock time49 hours displays as 1:00Keep decimal hours, or use a duration format
Averaging two weeks50 hours plus 30 hours looks like no overtimeCount overtime per workweek
Editing an approved weekPay stops matching the recordLock approved weeks and keep the history
Deleting old timesheetsYou can't answer a wage claimKeep them for the full retention period

Make a timesheet in Foxcolab Sheets#

A timesheet says more than hours. It holds pay rates, overtime, and notes like "left early for a hospital appointment". Foxcolab Sheets encrypts every spreadsheet on your device with its own key, and cell contents, titles and comments are encrypted before they sync. Foxcolab stores only encrypted data, so it can't read your payroll records, and only the people you share a timesheet with can open it. Sheets comes with every Foxcolab account, the free plan included.

Start from the Weekly timesheet template#

  1. Open the gallery

    In your Sheets library, click New, then From a template…. Choose the Operations category and select Use template on Weekly timesheet.

  2. See what's set up

    The sheet has Employee, Manager, Week starting and Hourly rate at the top, then Day, Date, Start, End, Break (min), Hours and Notes for each day. Weekend rows are greyed out, and Total hours, Regular (up to 40), Overtime and Pay sit underneath, with signature lines for the employee and manager.

  3. Type the times

    Replace the sample times with real ones, such as 9:00 or 5:30 PM. Hours, totals and pay update as you type, using the same formulas as above.

  4. Match your overtime rule

    The note on Overtime says hours above 40 a week are paid at 1.5 times the rate. If your rules differ, edit the Pay formula or add the daily columns from this guide.

Add checks and protect the formulas#

  1. Keep breaks sensible

    Select the Break (min) cells and choose Data → Data validation → Add rule. Set Criteria to Number, pick between, enter 0 and 120, turn on Whole numbers only, choose Reject the input, add Help text such as "Unpaid break in minutes" and click Done.

  2. Flag long days

    Select the Hours cells and choose Format → Conditional formatting → Add rule. Under Format cells if, pick Greater than, enter 10, choose a Fill color and click Done.

  3. Let employees edit only their times

    Choose Data → Protect sheets and ranges → Add a protected range or sheet. Pick Sheet, type D9:F15, H9:H15 (the Start, End, Break and Notes cells) under Except these ranges (optional), choose Only the owner and you and click Done.

The employee can then type times and notes, and nobody else can change a formula, a rate or a total by accident. Add drop-down lists and data validation in Sheets and Use conditional formatting in Sheets cover every rule type.

Run it week by week#

  • New week: right-click the sheet tab, choose Duplicate, then Rename the copy to the week (for example, Dec 14) and change Week starting.
  • Approve: when a manager signs off, choose File → Version history and click Name current version, for example "Dec 7 approved". Then protect the whole sheet so the approved week can't drift.
  • Check edits: File → Show changes lists who changed which cells. Filter by Who and When, such as Last 7 days.

Share it with the right people#

  1. Open sharing

    Click Share, or choose File → Share….

  2. Add the employee and manager

    Invite the employee as Editor so they can enter times, and the manager as Editor to approve them. They need a Foxcolab account.

  3. Give payroll read access

    Invite payroll or your accountant as Viewer, then set Access expires from the menu next to their name.

  4. Stop copies leaving

    Switch off Viewers can download, print and copy if viewers shouldn't save their own copies.

Need a signed copy? Choose File → Print, pick Current sheet and click Download PDF. The PDF is made on your device. Downloaded files aren't encrypted, so store them somewhere safe, such as Foxcolab Drive. Share a spreadsheet in Sheets covers links, expiry dates and removing access.

Planning the shifts before they're worked? How to make an employee schedule builds a weekly rota with coverage and rest checks that feeds straight into these timesheets.

Payroll records deserve better than a file your provider can read. Create a free account and start from the Weekly timesheet template, or see plans for your own domain and more storage. Running timesheets for a whole company? See Foxcolab for enterprise or talk to sales.

Frequently asked questions

How do I calculate hours worked in a timesheet?

Put the start time and end time in two cells and the unpaid break in minutes in a third. Then use =MOD(End-Start,1)*24-Break/60. Spreadsheets store times as fractions of a day, so multiplying by 24 gives hours, and MOD keeps a shift such as 22:00 to 02:00 positive. A 9:00 to 17:30 day with a 30-minute lunch gives 8.

How is overtime calculated on a weekly timesheet?

Under the US Fair Labor Standards Act, hours over 40 in a workweek are paid at no less than one and a half times the regular rate, and you can't average two weeks. In a spreadsheet, regular hours are =MIN(40,Total) and overtime hours are =MAX(0,Total-40). Some states, such as California, also count overtime per day, so check the rules where your people work.

How long should I keep timesheets?

In the US, the Department of Labor says employers keep payroll records for at least three years and the records wage calculations are based on, such as time cards and work schedules, for two years. Other countries set their own periods, so check locally. Keep each approved week as it was signed off.

Can employees fill in their own timesheets safely?

Yes. Share the timesheet with each employee as an editor, protect every cell except the time entries, and have a manager approve each week. In Foxcolab Sheets, Version history and Show changes record who changed which cell, and the whole spreadsheet is end-to-end encrypted.

Written by

Foxcolab Team

The Foxcolab team, who build the apps and help people set them up.

More from Foxcolab

Did this guide help you get it done?

One click, no account needed.

Try the tools we write about.

Mail, files, documents, spreadsheets and meetings in one account, with no ads. The free plan is enough to start.

Jump to