Lewati ke konten utama
Calculator Tools
Alat HarianGratisTanpa daftar

Hours Calculator - Kalkulator online gratis

Calculate hours and minutes between two clock times - handy for timesheets, billable hours, gym duration tracking and shift planning. Optional break-time deduction for accurate work-hour totals.

  • Rumus tampil di halaman
  • Berjalan di browser Anda
  • Data Anda tetap pribadi

If earlier than start, treated as overnight

Worked hours (HH:MM)

08:00

Decimal hours

8.0000

hours × rate = pay

Total minutes

480

Sebagian konten masih ditampilkan dalam bahasa Inggris.

Tentang

Memahami Hours Calculator

Hours calculator answers a question millions of working people face every day: 'I started at 9 AM and finished at 6:30 PM with a 45-minute lunch break - how many hours did I actually work?' The answer is 8:45 worked hours (9 hours 30 minutes elapsed minus 45 minutes break). Manually computing this is error-prone, especially when shifts cross midnight (10 PM to 6 AM = 8 hours, not -16). This calculator handles all the edge cases automatically and outputs both HH:MM format (for schedules) and decimal hours (for payroll multiplication with hourly rate).

Heavy users in India: hourly-wage workers (factory labour, construction, healthcare staff, hospitality workers), freelance consultants billing by hour, IT support staff doing on-call hours, gig workers (Swiggy, Zomato, Ola, Uber drivers logging work time), and HR professionals processing payroll. The Indian Factories Act caps adult worker daily hours at 9 with weekly maximum 48; anything beyond becomes overtime at double pay. This calculator gives you the worked hours; multiply by hourly rate for wage, or compare against 9/48 hour thresholds for overtime computation.

Cara pakai

Memakai Hours Calculator dalam 4 langkah

  1. Enter the start time (24h or AM/PM).

  2. Enter the end time.

  3. Optionally enter break minutes to deduct.

  4. See worked hours in HH:MM and decimal format.

Rumus

Cara kerja Hours Calculator

Both times are converted to minutes since midnight. End − start gives the diff. If end is earlier than start, 24 hours are added (overnight shifts). Break minutes are subtracted last.

Formula

Hours = (End − Start) − Break minutes If End < Start: add 24 hr (overnight)

  • End, StartClock times
  • BreakUnpaid break in minutes
Matematikanya

Bagaimana Hours Calculator mendapatkan hasilnya

Algorithm: convert start and end times to minutes since midnight (00:00). 9:30 AM = 570 minutes; 6:00 PM = 1080 minutes. Subtract: 1080 - 570 = 510 minutes = 8 hours 30 minutes. Subtract break minutes for net worked time. Output both HH:MM (8:30) and decimal (8.5).

Overnight shift handling: when end is earlier than start (e.g., 10 PM to 6 AM), the calculator detects this and adds 24 hours (1440 minutes) before subtracting. So 6 AM = 1800 (treated as 30:00 next day), minus 10 PM = 1320 (treated as 22:00 today) = 480 minutes = 8 hours. Works seamlessly for night shifts, hospital duty rotations, and ATM/security guard schedules.

Break handling: in India, breaks are typically unpaid (deducted from working hours). The Factories Act requires a 30-minute break for every 5 hours of work; many IT and corporate employers grant 60-minute lunch breaks. Short tea breaks (5-15 minutes) are usually paid (not deducted). For payroll, deduct only unpaid breaks. Enter the total break minutes for the day; the calculator subtracts them from gross elapsed hours.

Contoh

Contoh soal

9-to-6 office shift with 1-hour lunch break

Start 9:00 AM, end 6:00 PM = 9 hours elapsed. Minus 60-minute lunch = 8:00 worked hours = 8.0 decimal. Standard corporate workday under most Indian company HR policies.

Hospital night shift: 10 PM to 7 AM with 30-min meal break

10:00 PM → 7:00 AM = 9 hours elapsed (crosses midnight). Minus 30 minutes = 8:30 worked = 8.5 decimal. Hospital nurse and doctor rotations follow this pattern.

Freelance billable: 10:30 AM start, 4:15 PM end, 45-min lunch

10:30 → 16:15 = 5h 45min elapsed. Minus 45 min lunch = 5:00 worked = 5.0 decimal. At ₹1,500/hr: ₹7,500 billable for the session.

Kasus penggunaan

Kapan memakai Hours Calculator

  • Daily timesheet computation for shift workers.
  • Freelance hourly billing - converting work to billable hours.
  • Overtime calculation - comparing against 9 hour daily or 48 hour weekly limit.
  • Hospital and healthcare staff shift tracking.
  • Gig worker income tracking - drivers, delivery partners.
  • Factory and manufacturing shift planning.
  • Security guard and watchman duty roster computation.
  • Gym workout duration tracking.
Perhatikan

Kesalahan dan jebakan umum

  • Forgetting to deduct unpaid lunch break - overstates worked hours.
  • AM/PM confusion. 12:00 AM is midnight, 12:00 PM is noon.
  • Not handling overnight shifts. Use the calculator's auto-detection.
  • Mixing decimal and HH:MM in payroll. Pick one format and stick with it.
  • Including paid short breaks in deductions - they shouldn't be subtracted.
Tips pro

Manfaatkan alat ini lebih jauh

  • Use 24-hour format (00:00 to 23:59) to avoid AM/PM ambiguity.
  • For overtime: hours > 9 per day or > 48 per week qualifies under Indian Factories Act, at double pay.
  • Convert HH:MM to decimal before multiplying by hourly rate.
  • Track breaks separately by type - paid vs unpaid - for accurate compensation.
  • Pair with the time, time-card and payroll calculators on this site for full work-hour management.
FAQ

Pertanyaan tentang Hours Calculator

How do I handle overnight shifts?

Just enter the start (e.g. 22:00) and end (06:00). The calculator detects end < start and adds 24 hours, giving 8 hours.

Do I always deduct break time?

Depends on your contract. In India, breaks are typically unpaid (deducted). In some sectors, short breaks (<15 min) are paid (not deducted).

What about lunch breaks across multiple shifts?

Add up all break minutes and enter the total. Or use the Time Card Calculator for multi-day, multi-break tracking.

Decimal hours vs HH:MM?

Decimal is for payroll math (hours × rate). HH:MM is for human-readable schedules. Both shown.

Small tools that save real time

Date math, password generation, QR codes, IP subnets, base64 encoding, dew point, dice rolls, age calculations - none of these are 'big' problems individually, but they are the small frictions that interrupt your day. This tool runs entirely in your browser, has no popup, no chat widget and no tracking inside the calculation, so you can finish the task and move on.

Many tools in the Daily Utilities category complement each other - date difference + day counter + day-of-the-week, or password generator + QR code + base64 encoder. The related-tool grid links them together so you can move between adjacent problems in a click.

The Hours Calculator is part of the Daily Utilities suite on Online Calculator Tools, alongside 6 related calculators. All tools share the same UI patterns, the same privacy-first rendering (nothing is sent to a server), and the same commitment to showing the formula and assumptions behind every result.