Hours Calculator - CalcVenue

Hours Calculator

Hours Calculator

Enter a start time and an end time to find the number of hours and minutes between them. If the end time is earlier than the start time, the calculator assumes the end time is the following day.

: Now
: Now

Hours Between Two Dates

Enter a start date and time and an end date and time to calculate the exact number of hours between them.

: Now
: Now

What Is an Hours Calculator?

An hours calculator finds the number of hours and minutes between two points in time. It eliminates the manual arithmetic involved in time subtraction - a process that trips up many people because time uses base-60 (not base-10) math, and because AM/PM conventions add another layer of potential error.

This page provides two hours calculators:

  • Hours Between Two Times: Enter a start time and end time (in 12-hour AM/PM format) to find the elapsed hours and minutes. If the end time is earlier than the start time on the clock, the calculator automatically assumes the end time is on the following day - handling overnight shifts without any special input.
  • Hours Between Two Dates: Enter a full start date and time and end date and time to calculate the exact number of hours between them - spanning any number of days, weeks, or months.

Both calculators display the result in multiple formats: hours and minutes (e.g., 8 hours 45 minutes), decimal hours (e.g., 8.75 hours), total minutes, and total seconds - making it easy to use the result directly in payroll, billing, or scheduling systems.

How to Calculate Hours Between Two Times Manually

Understanding the manual method helps you catch errors and understand what the calculator is doing:

  1. Convert both times to 24-hour format. AM hours stay the same (except 12 AM → 0). PM hours: add 12 (except 12 PM stays 12). Example: 9:15 AM → 9:15; 5:45 PM → 17:45.
  2. Subtract start from end. 17:45 − 9:15: first the minutes (45 − 15 = 30), then the hours (17 − 9 = 8). Result: 8 hours 30 minutes.
  3. Handle minute borrowing if needed. If the end minutes are smaller than the start minutes, borrow 1 hour (60 minutes) from the hours column. Example: 5:10 PM − 9:40 AM → 17:10 − 9:40: minutes: 10 − 40 requires borrowing → (60 + 10) − 40 = 30 minutes; hours: (17 − 1) − 9 = 7 hours. Result: 7 hours 30 minutes.
  4. Handle overnight spans. If the end time is earlier than the start time (e.g., 10:00 PM to 6:00 AM), add 24 hours to the end time before subtracting: 6:00 AM = 6:00 → 6 + 24 = 30:00; 30:00 − 22:00 = 8 hours.

Decimal Hours vs. Hours and Minutes

Time can be expressed in two common formats, and knowing how to convert between them is essential for payroll, billing, and scheduling:

  • Hours and minutes (HH:MM): The natural human format. 8 hours 45 minutes, 7 hours 30 minutes.
  • Decimal hours: Used in payroll systems, billing software, and spreadsheets. 8.75 hours, 7.5 hours.

To convert HH:MM to decimal hours: divide the minutes by 60 and add to the hours.

HH:MMDecimal HoursCalculation
1:001.0001 + 0/60
1:151.2501 + 15/60
1:301.5001 + 30/60
1:451.7501 + 45/60
7:207.3337 + 20/60
8:458.7508 + 45/60
10:0610.10010 + 6/60

To convert decimal hours back to HH:MM: take the whole number as hours, multiply the decimal part by 60 to get minutes. Example: 8.75 hours → 8 hours and (0.75 × 60) = 45 minutes → 8:45.

Tracking Work Hours and Time Sheets

Hours calculators are most commonly used for time sheet tracking - recording start and end times for each shift and totaling hours worked for payroll. Accurate time tracking matters because:

  • Payroll is calculated on hours worked, often in decimal form (40.25 hours × $18.50/hr)
  • Overtime eligibility is determined by whether weekly hours exceed a threshold (40 hours under US federal law)
  • Project billing often requires logging hours worked per client or task
  • Compliance with labor laws requires documentation of hours in certain industries

Calculating Total Weekly Hours: Example Time Sheet

An employee works the following schedule in a week:

DayStartEndBreakHours Worked
Monday8:00 AM5:00 PM1 hr8:00
Tuesday8:30 AM6:00 PM30 min9:00
Wednesday9:00 AM5:30 PM1 hr7:30
Thursday8:00 AM6:30 PM1 hr9:30
Friday8:00 AM4:00 PM30 min7:30
Total41:30 = 41.5 hrs

This employee worked 41.5 hours - 1.5 hours of overtime. At a regular rate of $20/hr, with overtime at 1.5× ($30/hr): (40 × $20) + (1.5 × $30) = $800 + $45 = $845 gross pay.

Break and Lunch Deductions

Most employers deduct unpaid meal breaks from the total hours worked. How breaks are handled varies:

  • Unpaid meal breaks: Typically 30–60 minutes, not counted as work time. An employee clocked 9:00 AM–5:00 PM with a 30-minute unpaid lunch worked 7.5 hours, not 8.
  • Paid rest breaks: Short breaks of 5–20 minutes are generally considered compensable work time under US federal law and must be included in total hours worked.
  • Auto-deduct policies: Some employers automatically deduct a set break period (e.g., 30 minutes) from every shift over a certain length, regardless of whether the employee actually took a break. This can cause disputes if breaks were missed.

To calculate net hours after a break deduction: subtract the break duration from the gross shift duration. For a 8:00 AM–5:00 PM shift with a 45-minute unpaid lunch: gross = 9:00, net = 9:00 − 0:45 = 8 hours 15 minutes = 8.25 hours.

Overtime Rules and Hours Thresholds

In the United States, the Fair Labor Standards Act (FLSA) requires that non-exempt employees be paid at least 1.5 times their regular rate for any hours worked over 40 in a workweek. Key points:

  • The 40-hour threshold is weekly, not daily. Working 10 hours on Monday does not trigger overtime by itself - only when cumulative weekly hours exceed 40.
  • Some states have daily overtime rules. California, for example, requires overtime for any hours worked beyond 8 in a single day, and double time for more than 12 hours in a day.
  • Exempt employees (those meeting the FLSA's salary and duties tests, generally earning at least $684/week) are not entitled to overtime pay regardless of hours worked.
  • Double time may apply for work on holidays or for very long shifts in some states and under certain union contracts.
Hours Worked (weekly)Pay Rate (US federal)
0–40 hoursRegular rate (1×)
41+ hoursOvertime rate (1.5×)
CA: 0–8 hrs/dayRegular rate (1×)
CA: 8–12 hrs/dayOvertime rate (1.5×)
CA: 12+ hrs/dayDouble time (2×)

Night Shifts and Overnight Hours

Overnight shifts - where the end time is on the next calendar day - require special handling. The "Hours Between Two Times" calculator automatically detects when the end time is earlier than the start time and adds 24 hours, correctly computing the span. For example:

  • Start: 10:00 PM, End: 6:00 AM → Calculator adds 24 to end: 6:00 AM is treated as 30:00, giving 30:00 − 22:00 = 8 hours.
  • Start: 11:30 PM, End: 7:15 AM → 31:15 − 23:30 = 7 hours 45 minutes.

For multi-day spans, use the "Hours Between Two Dates" calculator, which accepts full date inputs and computes the exact difference in hours regardless of how many days, weeks, or months separate the two timestamps.

The 12-Hour Clock (AM/PM)

A 12-hour clock uses the numbers 1–12 to represent the hours of the day. Each full day is divided into two cycles: AM and PM. AM stands for ante meridiem, a Latin phrase meaning "before midday," while PM stands for post meridiem, meaning "after midday." Each cycle runs for 12 hours, making a total of 24 hours in a day.

By convention, 12 AM denotes midnight (the start of a new calendar day), while 12 PM denotes noon. This can cause confusion - a meeting scheduled for "12 PM" is at noon, while "12 AM" is midnight. The transition from AM to PM occurs at noon, and from PM to AM occurs at midnight.

The 12-hour clock is the most widely used format in the United States, Canada, Australia, and several other countries. Times are typically written with a colon between hours and minutes (e.g., 3:45 PM).

The 24-Hour Clock (Military Time)

A 24-hour clock uses the numbers 0–23, where 00:00 indicates midnight, 12:00 indicates noon, and 23:59 is one minute before the next midnight. Unlike the 12-hour clock, it does not repeat numbers within a day, eliminating the need for AM and PM designations entirely.

This format is an international standard (ISO 8601) and the default in most countries outside of North America. It is the standard in scientific, military, aviation, medical, and computing contexts. Converting between the two systems:

12-Hour24-Hour12-Hour24-Hour
12:00 AM (midnight)00:0012:00 PM (noon)12:00
1:00 AM01:001:00 PM13:00
6:00 AM06:006:00 PM18:00
9:30 AM09:309:30 PM21:30
11:59 AM11:5911:59 PM23:59

Rule: For AM, the hour is the same (except 12 AM → 00). For PM, add 12 to the hour (except 12 PM → 12).

Hours in Different Time Periods

Time PeriodHoursNotes
1 hour160 minutes = 3,600 seconds
1 day241,440 minutes = 86,400 seconds
1 week1687 days × 24 hours
1 month (avg.)730.5Range: 672 (Feb) to 744 (31-day month)
1 year (common)8,760365 days × 24 hours
1 year (leap)8,784366 days × 24 hours
1 decade~87,660Avg. across 10-year span
1 century~876,600Avg. across 100-year span
Standard work year2,08040 hrs/wk × 52 weeks
Standard work month~173.32,080 ÷ 12

Hours in Professional and Industry Contexts

Different fields have specific conventions for how hours are tracked and reported:

  • Healthcare: Hospital shifts are typically 8 or 12 hours. The 12-hour shift structure (3 shifts per week) has become dominant in nursing. Resident physicians may work up to 80 hours per week under ACGME (Accreditation Council for Graduate Medical Education) duty hour restrictions.
  • Aviation: Pilot duty time is strictly regulated. Under FAA rules, airline pilots are generally limited to 8 flight hours in a 24-hour period, 9 hours for certain short-haul operations, and a maximum of 100 flight hours in any 672 consecutive hours (28 days).
  • Legal billing: Attorneys typically bill in tenths of an hour (6-minute increments). A 25-minute phone call is billed as 0.4 hours (rounded up to the nearest tenth). This makes decimal hours essential for legal time tracking.
  • Construction: Job sites typically run 10-hour days, 4 days per week (the "4-10" schedule), keeping workers at 40 hours per week while providing a three-day weekend. Any work beyond 40 hours triggers overtime pay requirements.
  • Education: A "credit hour" in higher education is defined as one hour of classroom instruction per week for 15 weeks per semester. A full-time student taking 15 credit hours spends approximately 15 hours per week in class (plus an expected 30 hours of independent study).

Frequently Asked Questions

How do I calculate hours between two times?

Convert both times to 24-hour format (minutes since midnight), subtract the start from the end, and convert the result back to hours and minutes. If the end time is before the start time (overnight shift), add 1,440 minutes (24 hours) to the end time before subtracting. For example, 10:00 PM to 6:00 AM: 360 − 1320 = −960; add 1440: −960 + 1440 = 480 minutes = 8 hours. This calculator does all of this automatically.

How many hours are in a standard work week?

A standard full-time work week in the United States and most Western countries is 40 hours - typically 8 hours per day over 5 days. The 40-hour week was established as a federal standard under the Fair Labor Standards Act of 1938. Some industries use compressed schedules (four 10-hour days) or flexible arrangements, but 40 hours remains the legal threshold for overtime eligibility for non-exempt workers under US law.

What is the difference between AM and PM?

AM (ante meridiem, Latin for "before midday") refers to the period from midnight (12:00 AM) to just before noon (11:59 AM). PM (post meridiem, "after midday") refers to the period from noon (12:00 PM) to just before midnight (11:59 PM). The most common point of confusion: 12:00 AM is midnight (the start of a new day) and 12:00 PM is noon - counterintuitively, 12 AM is earlier in the day than 1 AM despite having a larger number.

How do I convert hours and minutes to decimal hours?

Divide the minutes by 60 and add the result to the whole hours. Examples: 7 hours 30 minutes = 7 + (30 ÷ 60) = 7.5 hours; 8 hours 45 minutes = 8 + (45 ÷ 60) = 8.75 hours; 6 hours 20 minutes = 6 + (20 ÷ 60) = 6.333 hours. Decimal hours are used in payroll software, billing systems, and spreadsheet calculations because they can be directly multiplied by an hourly rate.

How do I subtract a lunch break from my total hours?

Calculate the gross shift duration (from clock-in to clock-out), then subtract the unpaid break duration. Example: clock in 8:00 AM, clock out 5:00 PM, 30-minute unpaid lunch. Gross hours: 9:00 (9 hours). Net hours: 9:00 − 0:30 = 8:30 (8.5 hours). If your break is 45 minutes: 9:00 − 0:45 = 8:15 (8.25 hours). Multiply net hours by your hourly rate for gross pay.

When does overtime kick in?

Under US federal law (FLSA), overtime at 1.5× the regular rate applies to non-exempt employees for all hours worked beyond 40 in a single workweek. The workweek is a fixed, recurring 7-day period set by the employer - it does not have to start on Monday. Some states (notably California) additionally require daily overtime: 1.5× for hours beyond 8 in a day, and 2× for hours beyond 12 in a day. Always check your state's labor laws, as they may be more protective than federal minimums.

How do I calculate hours worked across midnight?

Use the "Hours Between Two Times" calculator - it automatically handles overnight shifts. If the end time is earlier than the start time, it assumes the end time is the next calendar day and adds 24 hours before computing the difference. For multi-day spans (e.g., a 72-hour project timeline), use the "Hours Between Two Dates" calculator which accepts full date and time inputs for both the start and end.

How many hours should I work in a day?

The most common full-time workday is 8 hours, based on the 40-hour, 5-day workweek standard. However, research on productivity suggests that cognitive performance begins to decline significantly after 6–8 hours of focused work, and that working beyond 55 hours per week yields minimal additional output while increasing error rates and burnout risk. Many European countries have statutory limits on working hours: the EU Working Time Directive limits average weekly work hours to 48 (including overtime) over a 17-week reference period.