Free time calculator

Working Hours Calculator

Enter clock-in and clock-out times for each day, subtract unpaid breaks, and get total hours in both hh:mm and decimal formats. Shifts that cross midnight are handled automatically, and the weekly total shows hours above a 48-hour week.

Daily in and out times
Use 24-hour format. Leave a day blank for a weekly off. Breaks are unpaid minutes.
DayIn timeOut timeBreak (min)Worked
Mon8h 00m(8.00)
Tue8h 30m(8.50)
Wed8h 00m(8.00)
Thu9h 00m(9.00)
Fri8h 00m(8.00)
Sat4h 30m(4.50)
SunOff
hours

48 hours under the Factories Act and most Shops & Establishments Acts.

If the out time is earlier than the in time, the shift is treated as crossing midnight (for example 21:00 to 06:00 = 9 hours).

Total hours this week
46h 00m
46.00 decimal hours across 6 working days
Summary
Average per working day7h 40m (7.67)
Hours above 48-hour week0h 00m
Decimal total for payroll46.00

Decimal hours are what a salary sheet multiplies by an hourly rate. 8h 45m is 8.75, not 8.45. Hours above nine in a single day may also be overtime even if the weekly total is under the limit.

How the working hours calculator works

Each row represents one working day. The calculator takes the out time minus the in time; if the out time is earlier than the in time it assumes the shift crossed midnight and adds 24 hours, which is how a 20:00 to 08:00 security post or a 22:00 to 06:00 factory C-shift is handled. Unpaid break minutes are subtracted from that duration.

Daily totals are shown as hours and minutes and as decimal hours, because payroll systems multiply decimal hours by an hourly rate. Forty-five minutes is 0.75 hours, not 0.45. The weekly total is compared with 48 hours, the ceiling used by the Factories Act and most Shops and Establishments Acts in India, so hours above that line are flagged as potential overtime.

  • Use 24-hour times such as 09:15 or 21:40 for every entry
  • Enter only unpaid breaks; a paid tea break should stay inside working hours
  • Leave a row blank for a weekly off or holiday and it is ignored
  • Copy the decimal total into a salary sheet or timesheet

Why decimal hours matter for Indian payroll

Most disputes about hours come from mixing formats. A supervisor writes 8:30 meaning eight and a half hours, the payroll clerk types 8.30 into Excel, and the employee is underpaid by twelve minutes a day, which is six hours a month across a 26-day roster. Converting once, at the point of capture, removes that error.

Indian overtime is normally due beyond nine hours in a day or 48 hours in a week, at twice the ordinary rate for factory workers under the Factories Act and the Code on Wages. Knowing the exact daily and weekly duration is the first step to calculating that premium correctly, which the overtime pay calculator on this site handles.

Frequently asked questions

How do I calculate working hours with a lunch break?
Subtract the in time from the out time to get the gross duration, then deduct the unpaid lunch break. A 09:00 to 18:00 day with a 60-minute lunch is 9 hours gross and 8 hours worked. Enter the break in minutes in the calculator and it does this for every row and totals the week.
How are night shifts that cross midnight calculated?
If the out time is earlier than the in time, the calculator treats the shift as ending the next day and adds 24 hours. A 21:00 to 06:00 shift becomes 9 hours before breaks. Attendance software does the same by attaching the punch-out to the shift it started in rather than to the calendar date.
What is the legal limit on working hours per day in India?
The Factories Act caps adult working hours at 9 per day and 48 per week with a spread-over of 10.5 hours, and most state Shops and Establishments Acts use similar limits. The Labour Codes keep 48 hours per week and allow daily hours to be notified by the appropriate government. Hours beyond the limit are overtime at twice the normal rate.
How do I convert hours and minutes to decimal for payroll?
Divide the minutes by 60 and add to the hours. Thirty minutes is 0.50, fifteen minutes is 0.25, and forty minutes is 0.67. The calculator shows both formats so you can paste the decimal value straight into a salary sheet or the overtime pay calculator.

More free calculators

Built for Indian attendance, payroll and compliance rules.

All calculators
From calculator to payroll

Stop re-typing hours and deductions every month

Attend Mitra derives payable days, overtime, LOP, PF and ESI from verified attendance and publishes payslips to the employee app. Try it free for 14 days.

See payroll features