Hours Sum Calculator

Weekly timesheet: start and end times, breaks, total hours, overtime and pay.

  1. Enter valuesUse your own inputs or an example
  2. CalculateApply your selected settings
  3. View resultExplore the answer and explanation

Enter your timesheet

Enter your values below to get started.

Examples:
Times as 9:00, 17:30, 9am or 5:30pm. An end time before the start counts as overnight.
$
0 to skip pay.
hours
×
Reset restores the default values.

Tips for this calculator

Write each shift as Mon 9:00-17:30 30: day, start-end, break minutes.

8-4 reads as 8:00 to 16:00; 22:00-06:00 runs overnight.

Decimal hours are for payroll: 7 h 45 min = 7.75 h.

Lines starting with # are ignored, so you can keep notes in the sheet.

An hours sum calculator adds up the hours worked in a week from the start time, end time and unpaid break of each shift. Type one shift per line, set an hourly rate and an overtime rule, and get the total in hours and minutes and in decimal hours, the regular and overtime split above 40 hours, and the gross pay.

What is an Hours Sum?

An hours sum is the total time worked over a period, found by adding the paid hours of every shift. Each shift's paid hours = end time − start time − unpaid break.

A week of 8 h + 8 h + 8 h 15 min + 8 h + 7 h + 4 h sums to 43 h 15 min (43.25 hours). Under the US Fair Labor Standards Act (FLSA), the 3.25 hours above 40 are overtime for non-exempt employees and pay at least 1.5 times the regular rate.

InteractiveA week of hours against the 40-hour line

How Does the Hours Sum Calculator Work?

The hours sum calculator reads each shift, subtracts the break from the time between start and end, adds the shifts and splits the total into regular and overtime hours. An end time earlier than the start time counts as the next day, so 22:00-06:00 is an 8-hour night shift.

InteractiveOne shift on a 2-day clock
  1. Read the shift

    Mon 9:00-17:30 30 → start 9:00, end 17:30, break 30 min.

  2. Shift hours

    17:30 − 9:00 = 8 h 30 min; minus 30 min = 8 h.

  3. Add the week

    8 + 8 + 8.25 + 8 + 7 + 4 = 43.25 h.

  4. Overtime and pay

    40 h × $25 + 3.25 h × $37.50 = $1,121.88.

Hours Sum Formula

The hours sum formula adds (end − start − break) for every shift, and decimal hours = hours + minutes ÷ 60.

Hours per Shift

hi=(tend−tstart)−bi,tend<tstart⇒tend+24h_i = (t_{\text{end}} - t_{\text{start}}) - b_i, \qquad t_{\text{end}} < t_{\text{start}} \Rightarrow t_{\text{end}} + 24

Weekly Hours Sum

H=∑i=1nhiH = \sum_{i=1}^{n} h_i

Decimal Hours and Pay

decimal=h+m60,Pay=r⋅min⁡(H,40)+1.5 r⋅max⁡(0,H−40)\text{decimal} = h + \frac{m}{60}, \qquad \text{Pay} = r \cdot \min(H, 40) + 1.5\,r \cdot \max(0, H - 40)

7 h 45 min = 7 + 45/60 = 7.75 hours.

InteractiveHours and minutes to decimal hours

Types of Overtime Rules for an Hours Sum

There are 3 common overtime rules for an hours sum: the weekly 40-hour rule, the daily 8/12-hour rule and no overtime for exempt staff. The same timesheet can give different overtime under each rule.

InteractiveSame week, 2 overtime rules

Weekly rule (FLSA)

Hours above 40 in a workweek pay at least 1.5× the regular rate. Federal law for non-exempt US employees.

Daily rule (California)

Over 8 h in a day pays 1.5×; over 12 h pays 2×. Weekly hours above 40 are overtime too. The 7th-day rule is not modeled here.

No overtime

Exempt salaried staff, many contractors and some jobs outside the US.

How to Calculate an Hours Sum by Hand

To calculate an hours sum by hand, convert each start and end time to 24-hour format, subtract, take off the break, convert to decimal hours and add the days. For 4 shifts of 7:00-17:00 with 30-minute breaks and 1 shift of 7:00-12:00:

  1. 17:00 − 7:00 = 10 h; minus 30 min = 9.5 h per long day.
  2. 4 × 9.5 h = 38 h.
  3. Friday: 12:00 − 7:00 = 5 h.
  4. Total: 38 + 5 = 43 h, of which 3 h are overtime under the weekly rule.
InteractiveStep through a timesheet

    Rounding Rules in an Hours Sum

    Many employers round clock-in and clock-out times to the nearest 5, 6 or 15 minutes before they sum the hours. The US Department of Labor allows rounding when it averages out and does not, over time, cut the hours paid.

    • 15-minute (7-minute) rule: 1–7 minutes round down, 8–14 round up. 9:07 becomes 9:00; 9:08 becomes 9:15.
    • 6-minute rule: rounds to tenths of an hour (0.1 h), common in legal and consulting billing.
    • Example: Mon 9:07-17:02 with a 30-minute break rounds to 9:00-17:00 = 7.5 h.
    InteractiveWhere a clock time rounds to

    Common Mistakes with an Hours Sum

    • Using 7.30 for 7 h 30 min: payroll needs 7.5, not 7.30.
    • Forgetting unpaid breaks: a 30-minute lunch on 5 days removes 2.5 h a week.
    • Mishandling overnight shifts: 22:00 to 06:00 is 8 h, not −16 h.
    • Mixing a.m. and p.m.: 8 to 4 means 8:00 to 16:00 for a day shift.
    • Applying daily overtime twice: under California rules, daily overtime hours are not counted again toward the weekly 40.
    InteractiveTrue or false: adding work hours
    1. 7 hours 30 minutes equals 7.5 decimal hours.

    2. A 22:00 to 06:00 shift with a 30-minute break is 7.5 hours.

    3. Under the FLSA, overtime starts after 8 hours in a day.

    4. 43.25 hours at $25 with time and a half above 40 pays $1,121.88.

    5. 7 h 45 min is 7.45 decimal hours.

    Score: 0 / 5

    How to Use the Hours Sum Calculator

    Type one shift per line as day, start-end and break minutes, enter your hourly rate, pick the overtime rule and press Calculate. The result shows the total in h:mm and decimal hours, the regular and overtime split and the gross pay; the Table tab lists every shift.

    InteractiveLoad a timesheet

    Each button fills the calculator and runs it.

    1. List the shifts

      Tue 8:45-17:15 30 or Tue 8:45am-5:15pm 30.

    2. Set the rate

      Your base hourly pay, for example $25.

    3. Pick the rule

      Weekly 40 h, daily 8/12 h or none; time and a half by default.

    4. Read the total

      Copy the decimal hours into payroll or an invoice.

    Real-Life Uses of an Hours Sum

    An hours sum turns a timesheet into numbers that payroll, clients and managers use. Common uses:

    • Hourly payroll: regular and overtime hours become gross pay.
    • Freelance invoices: decimal hours × hourly rate.
    • Shift scheduling: keep staff under 40 h to control overtime cost.
    • Labor law checks: spot daily or weekly overtime owed.
    • Personal tracking: compare hours worked with hours paid.
    InteractiveWeekly hours → gross pay

    Hours Sum Examples

    Weekly hours sums with pay at time and a half above the limit.

    Hours Sum Examples
    TimesheetRuleTotal hoursOvertimeGross payCalculator
    6 days, $25/hWeekly 40 h43:15 (43.25)3.25 h$1,121.88
    5 × 9:00-17:30, $18/hWeekly 40 h40:00 (40)0 h$720.00
    4 × 10 h + half day, $22/hWeekly 40 h43:00 (43)3 h$979.00
    4 × 10 h + half day, $22/hDaily 8/12 h43:00 (43)6 h$1,012.00
    5 × 10 h + 4 h, $30/hWeekly 40 h49:00 (49)9 h$1,605.00
    2 nights 22:00-06:00, $20/hWeekly 40 h15:00 (15)0 h$300.00
    1 day 6:00-20:00, $20/hDaily 8/12 h13:30 (13.5)4 h + 1.5 h at 2×$340.00

    Popular Hours Sum Problems

    Work each one out, then reveal the answer or load it into the calculator.

    1. A shift runs 9:00 to 17:00 with a 30-minute break. How many hours is it?

      8 - 0.5
      Show answer7:30 (7.5 h)
    2. Five shifts of 9:00-17:30 with 30-minute breaks at $18/h. What are the hours and pay?

      5 \times 8\text{ h} \times 18
      Show answer40 h, $720
    3. Two night shifts of 22:00-06:00 with 30-minute breaks. Total hours?

      2 \times (8 - 0.5)
      Show answer15 h
    4. 49 hours at $30/h with time and a half above 40. What is the gross pay?

      40 \times 30 + 9 \times 45
      Show answer$1,605
    5. Under California rules, a 6:00-20:00 shift with a 30-minute break at $20/h. What is the pay?

      8 \times 20 + 4 \times 30 + 1.5 \times 40
      Show answer$340
    6. Clock-in 9:07, clock-out 17:02, 30-minute break, rounded to 15 minutes. Paid hours?

      9{:}00 \to 17{:}00,\ -0.5
      Show answer7.5 h

    Explore More Sum Calculators

    Discover 67 free sum calculators across different categories. Find the right calculator for your needs.

    Browse All 67 Calculators
    Questions and answers

    Frequently Asked Questions

    What is an hours sum calculator?

    An hours sum calculator is a timesheet tool that adds the hours worked across shifts from their start times, end times and breaks, then splits the total into regular and overtime hours and estimates gross pay.

    How do I calculate hours worked in a week?

    For each day, subtract the start time from the end time and take off unpaid breaks, then add the days. A week of 8, 8, 8.25, 8, 7 and 4 hours sums to 43.25 hours.

    How do I convert minutes to decimal hours?

    Divide the minutes by 60. 15 min = 0.25 h, 30 min = 0.5 h, 45 min = 0.75 h, so 7 h 45 min = 7.75 h.

    When does overtime start?

    Under the US Fair Labor Standards Act, overtime starts after 40 hours in a workweek and pays at least 1.5× the regular rate. California adds daily overtime after 8 hours and double time after 12 hours.

    Does the calculator handle overnight shifts?

    Yes, when the end time is earlier than the start time, the calculator moves the end to the next day. 22:00-06:00 is an 8-hour shift.

    Are lunch breaks counted as hours worked?

    No, unpaid meal breaks of 30 minutes or more are not hours worked under US federal rules. Short rest breaks of 5 to 20 minutes are paid time, so leave them out of the break column.

    Can I use a.m. and p.m. times?

    Yes, write 9am-5:30pm or 9:00-17:30. A bare end hour like 8-4 reads as 8:00 to 16:00.

    Is time rounding legal?

    Yes, in the US, rounding to the nearest 5, 6 or 15 minutes is allowed by the Department of Labor when it averages out over time and does not reduce the hours paid. Some states set stricter rules.

    Does the result include taxes?

    No, the pay shown is gross pay before income tax, Social Security and Medicare withholding.

    Conclusion

    An hours sum adds end − start − break for every shift, and the hours sum calculator turns that total into decimal hours, regular and overtime hours and gross pay. It handles overnight shifts, a.m./p.m. times, clock rounding and both the weekly 40-hour and California daily overtime rules.

    Not sure which overtime rule applies? Answer 3 questions below.

    InteractiveWhich overtime rule applies to you?