Hours Calculator

Use this free online hours calculator to find out exactly how many hours and minutes you worked between a clock-in and clock-out time, after subtracting any unpaid break. It automatically handles overnight shifts that cross midnight, so your timesheet totals are always accurate.

How to Use the Hours Calculator

  1. Enter your Clock In hour, minute, and AM/PM.
  2. Enter your Clock Out hour, minute, and AM/PM.
  3. Enter any unpaid Break Duration in minutes, if applicable.
  4. Click "Calculate" to see the hours worked as hours/minutes and as decimal hours.
  5. Use "Clear" to reset the form for a new shift.

How Hours Worked Are Calculated

Hours worked = (clock-out time − clock-in time) − unpaid break. Both times are converted to minutes after midnight in 24-hour form. If the clock-out time is smaller, the shift ran past midnight and 24 hours are added. The break, entered in minutes, is then taken off. The answer is shown in hours and minutes and also as decimal hours, which is the total minutes divided by 60, rounded to two decimal places.

Worked Examples

  • Day shift: clock in 9:30 AM, clock out 6:45 PM, 45-minute lunch. The span is 9 hours 15 minutes; minus 45 minutes gives 8 hours 30 minutes, or 8.5 decimal hours. At ₹150 an hour, that day is worth 8.5 × 150 = ₹1,275.
  • Night shift: clock in 10:00 PM, clock out 6:30 AM, 30-minute break. The clock-out is earlier, so 24 hours are added: the span is 8 hours 30 minutes, and after the break the result is 8 hours 0 minutes (8.0 hours).
  • Short shift: clock in 2:10 PM, clock out 6:30 PM, no break. The result is 4 hours 20 minutes, or 4.33 hours.

Minutes to Decimal Hours

Payroll systems and many timesheets want decimal hours. Writing 7 hours 20 minutes as "7.20" is a common error; the correct figure is 7.33. Use this table for the minute part:

MinutesDecimal hours
50.08
100.17
150.25
200.33
300.50
400.67
450.75
500.83

For a weekly total, add up the hours and minutes from each day first and convert once at the end. Adding already-rounded decimals can make the week a minute or two out.

Working Hours and Overtime in India

Indian labour law has long capped an adult worker's normal hours at 48 a week, with overtime for work beyond the daily or weekly limit paid at twice the ordinary rate of wages, and a rest break after a set number of continuous hours. The exact daily limit, break rules and overtime ceiling depend on whether you are covered by factory law, your state's Shops and Establishments Act, or the newer labour codes, and on your employment contract. Check your appointment letter, HR policy or the state labour department for the rules that apply to you.

When you claim overtime, keep your own daily record of clock-in, clock-out and breaks. This calculator gives the net hours for each day; subtract your normal daily hours to see the overtime for that day.

Things This Calculator Assumes

  • One continuous shift under 24 hours. For a split shift, calculate each part separately and add them.
  • The break is unpaid and is entered as a single total in minutes. If your tea breaks are paid, leave them out.
  • Times are in minutes, not seconds. For exact differences down to the second, use the Time Duration Calculator.

Frequently Asked Questions

Your clock-in and clock-out times are converted to 24-hour format and compared in seconds, your break duration is subtracted, and the remainder is converted back into hours, minutes, and decimal hours.

Yes. If your clock-out time is earlier than your clock-in time, the calculator automatically adds 24 hours so overnight shifts are calculated correctly.

It's your total hours worked expressed as a decimal (for example, 7.5 hours instead of 7h 30m), rounded to two decimal places - handy for payroll and timesheet entries.

Multiply the decimal hours by your hourly rate. For example, 8.5 hours at ₹150 an hour is ₹1,275. Do not multiply the hours-and-minutes figure directly, because 8h 30m is 8.5 hours, not 8.3.

Enter only breaks that are unpaid, usually the meal break. Paid breaks are part of your working time and should not be subtracted. If you are unsure which breaks are paid, check your employer's policy.
No ratings yet — be the first!
Rate this calculator:
Was this tool helpful?