Date & Time

Hours Calculator

Live

Calculate paid or elapsed shift time between two clock times after deducting an optional break.

About Hours Calculator

The Hours Calculator works like a simple shift timecard. Choose clock-in and clock-out times, select an unpaid break, or load a common shift preset. It reports hours and minutes, decimal hours, the break deducted, and whether clock-out is treated as the following day for an overnight shift.

Set up Hours Calculator

Workspace

Structured calculation

Follow the input-to-result path; the fields below remain the source of every value.

Complete the fields to prepare a result.

Enter the clock-in or starting time in HH:MM format.

Enter the clock-out or ending time in HH:MM format.

Enter the unpaid break minutes to subtract from the shift length.

Hours Calculator: decimal hours

Choose the values that apply, then calculate hours.

Calculation method

Convert clock times to minutes, subtract breaks, support overnight end < start.

How it works

The calculator converts both clock times to minutes. When clock-out is earlier than clock-in, it adds 24 hours and treats clock-out as the following day. It then subtracts the selected break. Decimal hours equal paid minutes divided by 60. The page does not apply payroll rounding, overtime rules, dates, or daylight-saving transitions.

Practical guide

Add work or activity time intervals and report a normalized total duration.

Hours Calculator worked example

The page’s example models totaling several start-and-end intervals. Change one assumption at a time so the effect on decimal hours, hours and minutes remains easy to explain.

Treat the displayed decimal hours, hours and minutes as the result of the example inputs, not as a default recommendation for a different situation.

Assumptions

  • The entered start time, end time and break minutes describe the same scenario and use the units shown beside each field.
  • The calculation applies the stated method consistently and rounds only for display unless the tool says otherwise.

Limitations

  • The calculator converts both clock times to minutes. When clock-out is earlier than clock-in, it adds 24 hours and treats clock-out as the following day. It then subtracts the selected break. Decimal hours equal paid minutes divided by 60. The page does not apply payroll rounding, overtime rules, dates, or daylight-saving transitions.
  • The result covers the inputs exposed by this tool; omitted context can change a real-world answer.

Common mistakes

  • entering an overnight shift as if it ended before it started.
  • Changing start time without checking the other assumptions can make the comparison misleading.
When to use Hours Calculator
Approach Best for Trade-off
Hours Calculator A transparent calculation that reports decimal hours, hours and minutes. Accuracy depends on the entered assumptions and the documented method.
a time-card calculation that also applies breaks and overtime rules Situations that need different inputs, verification, or broader context. May take longer, cost more, or produce a result that is not directly comparable.

Examples

Workday with a 30-minute break

Example input
{
    "start_time": "09:00",
    "end_time": "17:30",
    "break_minutes": 30
}
Expected result
{
    "decimal_hours": 8,
    "hours": 8,
    "minutes": 480
}

Privacy

This tool does not store your inputs or results on UtilityPages.org.

Citations & sources

  1. RFC 3339: Date and Time on the Internet

Frequently asked questions

How does the calculator recognize an overnight shift?

If clock-out is earlier than clock-in, clock-out is treated as the following day. For example, 10:00 PM to 6:00 AM is eight elapsed hours.

What are decimal hours?

Decimal hours express minutes as a fraction of an hour. For example, 7 hours 30 minutes equals 7.5 decimal hours.

When is the break deducted?

The selected break is subtracted after the full clock-in to clock-out span is calculated. A break cannot exceed the shift length.

Does this calculate overtime or payroll rounding?

No. It calculates raw elapsed time after a break. Apply employer, union, and local payroll rules separately.