U.UtilityApp
🧑‍💼 HRFree · No signup

Hours Calculator

Calculate the number of hours and minutes between a start and end time — ideal for timesheets and shifts.

How the worked time is calculated

The calculator takes the end time minus the start time in minutes, then subtracts the break. If the end time is earlier than the start time, it assumes the shift ran past midnight and adds 24 hours. If the break is longer than the shift, the result stops at zero instead of going negative.

worked minutes = (end − start, + 24 h if end is earlier) − break

The default shift, 09:00 to 17:30 with a 60-minute break, gives 7h 30m, or 7.50 decimal hours. A few more shifts, exactly as the tool shows them:

StartEndBreakWorked timeDecimal hours
06:4515:1030 min7h 55m7.92
22:0006:3030 min8h 0m8.00
16:0000:000 min8h 0m8.00
19:0007:0045 min11h 15m11.25

For a shift that finishes at midnight, enter the end time as 00:00. The overnight rule then counts it correctly.

Decimal hours or hours and minutes

The two results describe the same time in different units. 7h 50m is 7.83 hours, not 7.50. Mixing them up is the most common timesheet error, because the minutes look like a decimal.

Use hours and minutes when you fill in a sign-in sheet or check a rota. Use decimal hours when you multiply by a pay rate or type the figure into payroll or invoicing software. The tool rounds the decimal to two places. Common minute values convert like this:

MinutesDecimalMinutesDecimal
50.08300.50
100.17400.67
150.25450.75
200.33500.83

Adding up a week without rounding drift

The tool works out one shift at a time. To total a week, run each day and add the hours and minutes, then convert the total once. Adding rounded decimals instead loses a little every day.

Say you work 08:15 to 16:50 with a 45-minute break, five days running. Each day is 7h 50m, shown as 7.83. The week is 39h 10m, which is 39.17 hours. Adding 7.83 five times gives 39.15. At $18 an hour that is $705.00 against $704.70. Thirty cents is small, but the gap grows across a team and a year, and it is the kind of difference that makes a payslip look wrong.

A split shift works either way. Run 10:00 to 14:00 (4h 0m) and 17:00 to 21:30 (4h 30m) separately, or enter 10:00 to 21:30 with the three-hour gap as a 180-minute break. Both give 8h 30m.

Situations the result doesn't account for

  • Same start and end time gives 0h 0m, not 24 hours. The tool can't represent a full 24-hour shift or anything longer.
  • No dates. It compares clock times only, so a night shift on the night the clocks change for daylight saving shows the clock difference, which is an hour away from the time actually worked.
  • Paid breaks. The break box is subtracted whatever you type. If your breaks are paid, leave it at 0 or enter only the unpaid part.
  • Whole minutes. A break of 0.5 minutes produces results like 8h 29.5m. Enter breaks as whole minutes.
  • Both times are needed. If either time box is empty, there is nothing to calculate, so fill in both before reading the result.

Frequently asked questions

How do I enter 12 AM and 12 PM?+

The time boxes follow your device's clock format. In 24-hour form, midnight is 00:00 and noon is 12:00. If your device shows AM and PM, 12:00 AM is midnight and 12:00 PM is noon. A shift from 8 PM to 4 AM is 20:00 to 04:00.

What is 7.75 hours in hours and minutes?+

Multiply the decimal part by 60. 0.75 × 60 = 45, so 7.75 hours is 7 hours 45 minutes. In the other direction, divide the minutes by 60: 7 hours 20 minutes is 7.33 hours.

Does the calculator round to the nearest quarter hour?+

No. It counts to the exact minute you enter. Some employers round clock-in and clock-out times under their own policy. If yours does, round the start and end times the way your policy says first, then enter them.

Can I use it to bill a client by the hour?+

Yes. Use the decimal figure and multiply it by your hourly rate, for example 7.50 × $40 = $300.00 for the default shift. When the decimal is rounded, as with 7h 50m shown as 7.83, the exact amount is 470 ÷ 60 × $40 = $313.33. For several sessions, add the minutes first and convert at the end so the invoice matches your time log.

Embed this tool on your website

Free to use on blogs, school sites and intranets. Paste this code into your page's HTML; please keep the credit line.

<iframe src="https://utilityapp.lat/embed/hr/hours-calculator" title="Hours Calculator" width="100%" height="600" style="border:0;max-width:760px" loading="lazy"></iframe>
<p style="font-size:13px"><a href="https://utilityapp.lat/hr/hours-calculator">Hours Calculator</a> by UtilityApp</p>