Hour Difference Calculator
Enter your times — get hours, minutes, decimals, pay earned, and a full visual breakdown
Extra Days for shifts spanning 2+ days. Input uses 24-hour format (e.g. 17:00 = 5:00 PM).Time Summary
Step-by-Step Calculation
Context & Notes
All Time Representations
Full Details
Complete Time Calculation Formula Reference — Every Formula with Examples
All formulas for hours, minutes, decimals, overtime, and pay — with worked examples
| Calculation | Formula | Example |
|---|---|---|
| Time Difference | End Minutes − Start Minutes | 17:30 − 09:00 = 510 min = 8h 30m |
| Overnight Shift | (End + 1440) − Start | 22:00→06:00: (360+1440)−1320 = 480 min = 8h |
| Net Work (with break) | Total Elapsed − Break Minutes | 9h total − 30 min lunch = 8h 30m net |
| Decimal Hours | Hours + (Minutes ÷ 60) | 7h 45m = 7 + 45÷60 = 7.75 hrs |
| Minutes to H:M | ⌊min÷60⌋h + (min mod 60)m | 510 min = ⌊510÷60⌋ = 8h, 510 mod 60 = 30m = 8h 30m |
| Regular Pay | Regular Hours × Hourly Rate | 40 hrs × $22.50 = $900.00 |
| Overtime Pay | OT Hours × Rate × Multiplier | 8 hrs × $25 × 1.5 = $300.00 |
| Weekly OT (FLSA) | Total Hours − 40 = OT Hours | 48 hrs − 40 = 8 OT hrs |
| Annual Salary | Hourly Rate × 40 × 52 | $25/hr × 2,080 hrs = $52,000/yr |
| Hourly from Salary | Annual Salary ÷ 2,080 | $62,400 ÷ 2,080 = $30.00/hr |
| Daily Pay | Hourly Rate × Daily Hours | $18 × 8.5 hrs = $153.00/day |
| Hours to Days | Total Hours ÷ 24 | 36 hrs ÷ 24 = 1.5 days |
Time Calculation Essentials — Everything You Need to Know About Work Hours
Time formats, decimal conversion, overtime rules, shift types, and payroll compliance explained
Calculating hours between two times is fundamentally simple — but becomes complex in real-world scenarios involving overnight shifts, lunch breaks, multiple days, and overtime thresholds. The foundation is always the same: convert both times to a common unit (minutes since midnight), subtract, then convert back to hours and minutes.
The decimal hour format is essential for payroll. Because time-keeping software, spreadsheets, and pay stubs use decimal numbers (not hours:minutes), converting correctly is critical. The rule: divide minutes by 60. So 7 hours 30 minutes = 7.5 hours (not 7.30 — a common, costly mistake).
Minutes to Decimal Hours Conversion Table — All 60 Minutes
Quick reference for converting any minutes value to its decimal hour equivalent
| Minutes | Decimal Hrs | Fraction |
|---|
| Minutes | Decimal Hrs | Fraction |
|---|
8 Time & Work Hours Facts, Tips & Strategies Every Worker Should Know
Practical insights on time tracking, overtime, scheduling, and maximising accuracy
The Decimal Mistake That Costs Billions
Studies estimate that time-rounding and decimal conversion errors cost US workers billions annually in lost wages. The most common: recording 7:30 hours as 7.30 instead of 7.50. Over a year, this 0.20-hour daily error at $20/hour = $1,040 in underpaid wages. Always use the Hours + (Minutes÷60) formula. For payroll software, verify by multiplying decimal hours × 60 to confirm the minutes match.
Time Rounding Rules in Payroll
The FLSA permits employers to round employee time to the nearest 5, 6, or 15 minutes — but only if rounding is neutral over time (as many rounds up as down). The most common is "rounding to the nearest quarter hour": 1–7 minutes rounds down, 8–14 rounds up to the next 15 minutes. If an employer consistently rounds down, this is a wage violation. Track your own exact hours and compare to your pay stub to catch systematic under-rounding.
Night Shift Differential Pay
Many employers pay a shift differential — extra pay (typically 10–20%) for working evenings or nights. Federal workers under the FLSA are not automatically entitled to shift differentials, but many collective bargaining agreements and employer policies require them. Common differentials: Evening (3–11 PM): +10–15%, Night (11 PM–7 AM): +15–25%, Weekend nights: +20–30%. Calculate your total pay by multiplying your differential hours by your adjusted rate.
Why Accurate Time Cards Matter
Time card accuracy is a two-way street. Under-recording hours is a form of wage theft against yourself. Over-recording is a policy violation and can result in termination. The FLSA requires employers to keep records of hours worked for at least 2 years. Best practices: record start and end times (not just hours worked), note break times separately, and review your pay stub every period. Discrepancies should be reported immediately — the statute of limitations is 2–3 years.
The 4-Day Workweek and Hours
The 4-day workweek can be structured two ways: Compressed (4×10) — same 40 hours over 4 days (still triggers OT after 40hrs/week under FLSA). Reduced (4×8 or 4×9) — fewer total hours. Microsoft Japan's trial of a 4-day, 32-hour week showed 40% productivity gains. Iceland's trials of 35–36 hour weeks showed maintained or improved performance with better well-being. Hour calculation remains the same — just with a different weekly total.
Converting Between Time and Salary
The standard full-time equivalent is 2,080 hours/year (40 hrs × 52 weeks). To convert: Hourly → Annual: ×2,080. Annual → Hourly: ÷2,080. Quick estimates: $10/hr = $20,800/yr. $20/hr = $41,600/yr. $50,000/yr ÷ 2,080 = $24.04/hr. $100,000/yr ÷ 2,080 = $48.08/hr. Note: these are gross figures before any taxes or benefits deductions.
Global Work Hours by Country
Average annual hours worked varies dramatically worldwide. Highest: Mexico ~2,128 hrs, South Korea ~1,901 hrs, US ~1,811 hrs. Lowest: Germany ~1,349 hrs, Netherlands ~1,427 hrs, Norway ~1,427 hrs. The difference between the US and Germany is ~462 hours/year — nearly 12 full 40-hour work weeks. Productivity per hour, however, often trends inversely — countries with fewer hours frequently show higher output per hour worked.
Tracking Billable Hours as a Freelancer
Freelancers typically use one of three billing models: Hourly — track exact time with apps (Toggl, Harvest, Clockify). Project-based — estimate hours upfront, track to ensure profitability. Retainer — fixed monthly fee for a set number of hours. Best practice: log time in 15-minute increments, track all client communication time (not just "work" time), and review weekly utilisation (billable hours ÷ total hours worked × 100). 75–85% utilisation is a healthy target for a solo freelancer.
How to Use This Hour Difference Calculator — All 5 Modes Explained
Step-by-step guide to every calculation mode with tips on getting accurate results
- 1
Basic Mode — Hours Between Any Two Times
Enter a start time and end time using the time pickers (24-hour format). The calculator handles overnight shifts automatically — if end time is earlier than start time, it assumes the shift crosses midnight and adds 24 hours. For shifts spanning more than one full calendar day, enter the number of extra days. The result shows hours and minutes, decimal hours, total minutes, and total seconds. The visual clock display shows start → duration → end at a glance.
- 2
With Break Mode — Net Work Hours After Deducting Breaks
Enter shift start, shift end, lunch break duration, and any additional breaks (all in minutes). The calculator computes total elapsed time, total break time, and net work time (elapsed − breaks). Optionally enter your hourly rate to see how much you earned during the net work period. The timeline bar chart visually shows work time vs break time as proportions of the total shift.
- 3
Time Card Mode — Full Weekly Hours & Overtime
Enter start time, end time, and break minutes for each day of the week. Daily hours update live as you type. The weekly total automatically shows regular hours, overtime hours (above the threshold you set), total pay (if rate entered), and overtime premium pay. Click the example presets to instantly fill a standard week, 4-day week, or an overtime week to see how the calculations work before entering your own data.
- 4
Pay Mode — Earnings from Hours Worked
Enter hours worked, any extra minutes, your hourly rate, overtime hours (out of the total), and the overtime multiplier. The calculator computes regular pay, overtime premium pay, total gross pay, and derived annual salary equivalent. Particularly useful for verifying a paycheck — enter exactly what your time card shows and compare to what you were paid. The step-by-step working shows each calculation clearly.
- 5
Convert Mode — Time Format Conversion (Live)
All four fields (hours, minutes, decimal hours, total minutes) update instantly as you type in any field. This is the fastest way to convert between formats — type a decimal like 8.75 and instantly see it's 8 hours 45 minutes. Or type 510 minutes and see 8 hours 30 minutes and 8.5 decimal hours simultaneously. The result section also shows days, seconds, and milliseconds for completeness.
Hour Difference Calculator — Frequently Asked Questions
Expert answers to the most commonly searched time calculation questions