Skip to main content

Hours Worked Calculator

Calculate total hours worked per day or week from start time, end time, and breaks. Enter values for instant results with step-by-step formulas.

Skip to calculator
Date & Time

Hours Worked Calculator

Calculate total hours worked, break-adjusted time, and gross pay from start and end times. Includes decimal hours and pay projections.

Last updated: December 2025

Calculator

Adjust values & calculate
9:00 AM5:00 PM
Net Hours Worked
7h 30m
7.5 decimal hours
Gross Hours
8
8h 0m
Break Time
0.5
hours
Gross Pay
$187.50
before taxes
Hourly Rate
$25.00
per hour

Pay Projections (if worked daily)

Weekly (5 days)37.5 hrs | $937.50
Monthly (avg)162.38 hrs | $4059.38
Annual (52 weeks)1950 hrs | $48750.00
Your Result
7.5 hours (7h 30m) | Gross Pay: $187.50
Share Your Result
Understand the Math

Formula

Net Hours = (End Time - Start Time) - Break Duration | Gross Pay = Net Hours ร— Hourly Rate

The calculator converts start and end times to minutes, subtracts the start from the end (adding 24 hours if the shift crosses midnight), then deducts break time. The resulting net minutes are converted to decimal hours for pay calculation. Gross pay is simply the net decimal hours multiplied by the hourly rate.

Last reviewed: December 2025

Worked Examples

Example 1: Standard Office Day

Calculate hours and pay for 9:00 AM to 5:00 PM with a 30-minute lunch break at $22/hr.
Solution:
Total time: 5:00 PM - 9:00 AM = 8.0 hours Break: 30 minutes = 0.5 hours Net hours: 8.0 - 0.5 = 7.5 hours Gross pay: 7.5 ร— $22 = $165.00
Result: 7.5 net hours | $165.00 gross pay

Example 2: Overnight Shift

Calculate hours for 11:00 PM to 7:30 AM with a 15-minute break at $18/hr.
Solution:
Total time: 7:30 AM - 11:00 PM (next day) = (24:00 - 23:00) + 7:30 = 8 hours 30 minutes = 8.5 hours Break: 15 minutes = 0.25 hours Net hours: 8.5 - 0.25 = 8.25 hours Gross pay: 8.25 ร— $18 = $148.50
Result: 8.25 net hours | $148.50 gross pay
Expert Insights

Background & Theory

The Hours Worked Calculator applies the following established principles and formulas. Date and time calculations underpin a vast range of applications from financial settlement to scheduling and age verification. The complexity arises because civil timekeeping uses irregular units: months have 28, 29, 30, or 31 days; years have 365 or 366 days; hours, minutes, and seconds use base-60 arithmetic; and time zones introduce offsets ranging from -12:00 to +14:00 relative to UTC. The Gregorian calendar's leap year rule is a compound condition: a year is a leap year if it is divisible by 4, except for century years, which must be divisible by 400. Thus 1900 was not a leap year but 2000 was. This rule keeps the calendar synchronized with the solar year to within about 26 seconds per year. For algorithmic date calculations, the Julian Day Number provides a continuous integer count of days since January 1, 4713 BCE, eliminating the irregularity of calendar months and making interval arithmetic straightforward. The Unix epoch, by contrast, counts seconds since 00:00:00 UTC on January 1, 1970, and is the basis of POSIX time used in most computing systems. ISO 8601 standardizes date and time representation as YYYY-MM-DD and combined datetime as YYYY-MM-DDTHH:MM:SSยฑHH:MM, ensuring unambiguous machine-readable interchange across locales that would otherwise differ in day/month/year ordering. Business day calculation requires excluding weekends and, optionally, a jurisdiction-specific list of public holidays. Duration calculations expressed in years, months, and days must account for the variable length of months, making them non-commutative: the interval from January 31 to February 28 is different from the interval from February 28 to March 31. Age calculation algorithms must handle the edge case of birthdays on February 29 and ensure that a person born on December 31 is not counted as one year older on January 1 of the following year until the clock passes midnight. Zeller's Congruence provides a closed-form formula to determine the day of the week for any Gregorian or Julian calendar date using only integer arithmetic.

History

The history behind the Hours Worked Calculator traces back through the following developments. The need to track time and predict astronomical events gave rise to calendrical systems independently across many civilizations. The Babylonians, around 2000 BCE, developed a lunisolar calendar with 12 months of alternating 29 and 30 days, inserting an intercalary month periodically to keep pace with the solar year. They also divided the day into 24 hours and the hour into 60 minutes, a sexagesimal convention that persists in every modern clock. The Egyptian civil calendar used 12 months of exactly 30 days plus five epagomenal days, totaling 365 days. Though simple for administrative purposes, it drifted against the solar year by one day every four years. Julius Caesar, advised by the Egyptian astronomer Sosigenes, reformed the Roman calendar in 45 BCE. The Julian calendar introduced a 365-day year with a leap day every four years, a system that served Europe for over sixteen centuries. By the 16th century, the accumulated error of the Julian calendar had shifted the spring equinox ten days from its ecclesiastically mandated date, disrupting the calculation of Easter. Pope Gregory XIII commissioned the calendar reform that bears his name, and the Gregorian calendar was introduced in Catholic countries in October 1582. The transition required skipping ten days: October 4 was followed by October 15. Protestant and Orthodox countries adopted the reform slowly; Britain and its colonies switched in 1752, Russia not until 1918, and Greece in 1923. The expansion of railways in the 1840s created an urgent practical problem: each city operated on its own local solar time, making train timetables impossible to coordinate. British railways adopted Greenwich Mean Time as a standard in 1847. The International Meridian Conference of 1884 in Washington formalized the prime meridian at Greenwich and established the global framework of 24 time zones. Daylight saving time was first adopted nationally during World War I to reduce coal consumption. The development of atomic clocks after World War II led to the definition of Coordinated Universal Time (UTC) in 1960, accurate to nanoseconds. The Y2K problem of 1999-2000 demonstrated that two-digit year storage in legacy systems could cause widespread failures, prompting a global remediation effort costing an estimated 300 to 600 billion dollars.

Share this calculator

Explore More

Frequently Asked Questions

To convert time to decimal hours, divide the minutes by 60 and add to the hours. For example, 7 hours 45 minutes = 7 + (45/60) = 7 + 0.75 = 7.75 decimal hours. Common conversions: 15 min = 0.25 hrs, 30 min = 0.50 hrs, 45 min = 0.75 hrs. This is important because payroll systems typically use decimal hours. To reverse: multiply the decimal part by 60 to get minutes (e.g., 0.75 ร— 60 = 45 minutes).
When the end time is earlier than the start time (e.g., start 10:00 PM, end 6:00 AM), Hours Worked Calculator automatically adds 24 hours to account for the midnight crossing. So 22:00 to 06:00 correctly calculates as 8 hours, not negative 16 hours. This handles common overnight shifts like night security (11 PM - 7 AM = 8 hours), hospital night shifts (7 PM - 7 AM = 12 hours), or late restaurant closing (6 PM - 2 AM = 8 hours).
Enter only UNPAID break time in the break duration field. Paid breaks (like short 10-15 minute rest breaks, which are compensable under FLSA) should not be deducted since you're paid for that time. Typically, meal breaks of 30+ minutes are unpaid and should be entered. If your break is paid, enter 0 for break minutes. Check your employment agreement or company policy if unsure which breaks are paid.
Gross pay is your total earnings before any deductions: Hours Worked ร— Hourly Rate. Net pay (take-home pay) is what remains after deducting taxes, insurance, retirement contributions, and other withholdings. Hours Worked Calculator shows gross pay only. To estimate net pay, typical deductions include: federal income tax (10-37%), state income tax (0-13%), Social Security (6.2%), Medicare (1.45%), and any voluntary deductions. A common estimate is that net pay is roughly 70-80% of gross pay.
You may use the results for reference and educational purposes. For professional reports, academic papers, or critical decisions, we recommend verifying outputs against peer-reviewed sources or consulting a qualified expert in the relevant field.
All calculations use established mathematical formulas and are performed with high-precision arithmetic. Results are accurate to the precision shown. For critical decisions in finance, medicine, or engineering, always verify results with a qualified professional.
Educational Note: This calculator is provided for educational and informational purposes. Results are based on the formulas and inputs provided. Always verify important calculations independently. NovaCalculator processes calculator inputs client-side; optional analytics follow visitor consent settings. ยฉ 2024โ€“2026 NovaCalculator.

Share this calculator

Formula

Net Hours = (End Time - Start Time) - Break Duration | Gross Pay = Net Hours ร— Hourly Rate

The calculator converts start and end times to minutes, subtracts the start from the end (adding 24 hours if the shift crosses midnight), then deducts break time. The resulting net minutes are converted to decimal hours for pay calculation. Gross pay is simply the net decimal hours multiplied by the hourly rate.

Worked Examples

Example 1: Standard Office Day

Problem: Calculate hours and pay for 9:00 AM to 5:00 PM with a 30-minute lunch break at $22/hr.

Solution: Total time: 5:00 PM - 9:00 AM = 8.0 hours\nBreak: 30 minutes = 0.5 hours\nNet hours: 8.0 - 0.5 = 7.5 hours\nGross pay: 7.5 ร— $22 = $165.00

Result: 7.5 net hours | $165.00 gross pay

Example 2: Overnight Shift

Problem: Calculate hours for 11:00 PM to 7:30 AM with a 15-minute break at $18/hr.

Solution: Total time: 7:30 AM - 11:00 PM (next day)\n= (24:00 - 23:00) + 7:30 = 8 hours 30 minutes = 8.5 hours\nBreak: 15 minutes = 0.25 hours\nNet hours: 8.5 - 0.25 = 8.25 hours\nGross pay: 8.25 ร— $18 = $148.50

Result: 8.25 net hours | $148.50 gross pay

Frequently Asked Questions

How do I convert hours and minutes to decimal hours?

To convert time to decimal hours, divide the minutes by 60 and add to the hours. For example, 7 hours 45 minutes = 7 + (45/60) = 7 + 0.75 = 7.75 decimal hours. Common conversions: 15 min = 0.25 hrs, 30 min = 0.50 hrs, 45 min = 0.75 hrs. This is important because payroll systems typically use decimal hours. To reverse: multiply the decimal part by 60 to get minutes (e.g., 0.75 ร— 60 = 45 minutes).

How are hours calculated for overnight shifts?

When the end time is earlier than the start time (e.g., start 10:00 PM, end 6:00 AM), Hours Worked Calculator automatically adds 24 hours to account for the midnight crossing. So 22:00 to 06:00 correctly calculates as 8 hours, not negative 16 hours. This handles common overnight shifts like night security (11 PM - 7 AM = 8 hours), hospital night shifts (7 PM - 7 AM = 12 hours), or late restaurant closing (6 PM - 2 AM = 8 hours).

Should I include paid breaks in my hours worked?

Enter only UNPAID break time in the break duration field. Paid breaks (like short 10-15 minute rest breaks, which are compensable under FLSA) should not be deducted since you're paid for that time. Typically, meal breaks of 30+ minutes are unpaid and should be entered. If your break is paid, enter 0 for break minutes. Check your employment agreement or company policy if unsure which breaks are paid.

How do I calculate gross pay vs net pay from hours worked?

Gross pay is your total earnings before any deductions: Hours Worked ร— Hourly Rate. Net pay (take-home pay) is what remains after deducting taxes, insurance, retirement contributions, and other withholdings. Hours Worked Calculator shows gross pay only. To estimate net pay, typical deductions include: federal income tax (10-37%), state income tax (0-13%), Social Security (6.2%), Medicare (1.45%), and any voluntary deductions. A common estimate is that net pay is roughly 70-80% of gross pay.

Why might my result differ from another tool or reference?

Differences typically arise from rounding conventions, the specific version of a formula (for example, simple vs compound interest), or unit inconsistencies between inputs. Check that both tools are using the same formula variant and the same units. The References section links to the authoritative source behind the formula used here.

How do I interpret the result?

Results are displayed with a label and unit to help you understand the output. Many calculators include a short explanation or classification below the result (for example, a BMI category or risk level). Refer to the worked examples section on this page for real-world context.

References

Reviewed by Abdullah, Technical Content Specialist ยท Editorial policy