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.
Enter a start date and time and an end date and time to calculate the exact number of hours between them.
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:
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.
Understanding the manual method helps you catch errors and understand what the calculator is doing:
Time can be expressed in two common formats, and knowing how to convert between them is essential for payroll, billing, and scheduling:
To convert HH:MM to decimal hours: divide the minutes by 60 and add to the hours.
| HH:MM | Decimal Hours | Calculation |
|---|---|---|
| 1:00 | 1.000 | 1 + 0/60 |
| 1:15 | 1.250 | 1 + 15/60 |
| 1:30 | 1.500 | 1 + 30/60 |
| 1:45 | 1.750 | 1 + 45/60 |
| 7:20 | 7.333 | 7 + 20/60 |
| 8:45 | 8.750 | 8 + 45/60 |
| 10:06 | 10.100 | 10 + 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.
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:
An employee works the following schedule in a week:
| Day | Start | End | Break | Hours Worked |
|---|---|---|---|---|
| Monday | 8:00 AM | 5:00 PM | 1 hr | 8:00 |
| Tuesday | 8:30 AM | 6:00 PM | 30 min | 9:00 |
| Wednesday | 9:00 AM | 5:30 PM | 1 hr | 7:30 |
| Thursday | 8:00 AM | 6:30 PM | 1 hr | 9:30 |
| Friday | 8:00 AM | 4:00 PM | 30 min | 7:30 |
| Total | 41: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.
Most employers deduct unpaid meal breaks from the total hours worked. How breaks are handled varies:
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.
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:
| Hours Worked (weekly) | Pay Rate (US federal) |
|---|---|
| 0–40 hours | Regular rate (1×) |
| 41+ hours | Overtime rate (1.5×) |
| CA: 0–8 hrs/day | Regular rate (1×) |
| CA: 8–12 hrs/day | Overtime rate (1.5×) |
| CA: 12+ hrs/day | Double time (2×) |
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:
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.
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).
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-Hour | 24-Hour | 12-Hour | 24-Hour |
|---|---|---|---|
| 12:00 AM (midnight) | 00:00 | 12:00 PM (noon) | 12:00 |
| 1:00 AM | 01:00 | 1:00 PM | 13:00 |
| 6:00 AM | 06:00 | 6:00 PM | 18:00 |
| 9:30 AM | 09:30 | 9:30 PM | 21:30 |
| 11:59 AM | 11:59 | 11:59 PM | 23:59 |
Rule: For AM, the hour is the same (except 12 AM → 00). For PM, add 12 to the hour (except 12 PM → 12).
| Time Period | Hours | Notes |
|---|---|---|
| 1 hour | 1 | 60 minutes = 3,600 seconds |
| 1 day | 24 | 1,440 minutes = 86,400 seconds |
| 1 week | 168 | 7 days × 24 hours |
| 1 month (avg.) | 730.5 | Range: 672 (Feb) to 744 (31-day month) |
| 1 year (common) | 8,760 | 365 days × 24 hours |
| 1 year (leap) | 8,784 | 366 days × 24 hours |
| 1 decade | ~87,660 | Avg. across 10-year span |
| 1 century | ~876,600 | Avg. across 100-year span |
| Standard work year | 2,080 | 40 hrs/wk × 52 weeks |
| Standard work month | ~173.3 | 2,080 ÷ 12 |
Different fields have specific conventions for how hours are tracked and reported:
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.
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.
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.
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.
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.
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.
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.
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.