VIP Calculator
HomeFinancialFitness & HealthMathsOtherAbout UsContact
VIP Calculator

Free online calculators for all your daily needs. Fast, accurate, and easy to use.

🔒100% Private – No User Data Stored
About Us|Contact|Privacy Policy|Terms & Conditions|Disclaimer

Our Network

JSON Formatter Tools•Word Counter Tool

© 2025-2026 VIP Calculator | All Rights Reserved

Time Calculator: Add & Subtract Hours, Minutes & Seconds

Add or subtract time, calculate work hours and duration between two times, exclude break time, and convert to payroll-ready decimal hours instantly.

Select Calculation Mode
Calculate Time
First Time
Operation
Second Time

Others Calculators

Free calculators for age, date differences, working hours, day counting, time durations, and more

Age CalculatorDate CalculatorDay Counter CalculatorHours CalculatorTime Duration CalculatorRandom Number Calculator
Financial|Fitness and Health|Math|Other

How Time Arithmetic Works — The Math Behind the Results

Understanding base-60 arithmetic, decimal conversion, and why these formulas matter for payroll and billing

Why Time Uses Base-60 (Not Base-10)

Time calculations do not work like regular arithmetic. When you add 45 minutes and 30 minutes, the answer is 1 hour 15 minutes — not 75 minutes. This is because time operates on a sexagesimal (base-60) system inherited from ancient Babylonian mathematics, which has been the global standard since the Egyptians established the 24-hour day. The Babylonians chose 60 because it divides evenly into 2, 3, 4, 5, 6, 10, 12, 15, 20, and 30 — making fractional time calculations cleaner than base-10 would allow.

This is exactly why manual time addition is error-prone: our brains are trained for decimal arithmetic, but time resets at 60, not 100. This calculator handles all base-60 carrying automatically.

The Duration Calculation Formula

To calculate the duration between two times, this calculator converts both times to total seconds, subtracts, then converts back:

Step 1: Total seconds = (H × 3600) + (M × 60) + S

Step 2: Duration (sec) = |End seconds − Start seconds|

Step 3: Hours = floor(Duration ÷ 3600)

Step 4: Minutes = floor((Duration mod 3600) ÷ 60)

Step 5: Seconds = Duration mod 60

For break deduction, the break duration in seconds is subtracted from the raw duration before conversion, giving net compensable time.

Decimal Hours: The Payroll Conversion Formula

Most payroll software, invoicing platforms, and time-tracking systems require hours in decimal format — not hours:minutes. The conversion is straightforward:

Decimal hours = H + (M ÷ 60) + (S ÷ 3600)

Example: 7h 45m 30s = 7 + (45 ÷ 60) + (30 ÷ 3600) = 7.758 hours

This is why 8h 30m appears in payroll as 8.50 hours, and 7h 45m as 7.75 hours. The decimal hours value shown in this calculator's results is the exact figure to enter for payroll processing.

Worked Examples — Real Use Cases

Step-by-step time calculations for common payroll, billing, and scheduling scenarios

Example 1: 12-Hour Hospital Shift with Breaks

A nurse works a 12-hour shift from 7:00 AM to 7:00 PM. She takes two 15-minute breaks (total 30 minutes unpaid). What are her compensable work hours?

Start time: 7h 0m → 7 × 3600 = 25,200 seconds

End time: 19h 0m → 19 × 3600 = 68,400 seconds

Raw duration: 68,400 − 25,200 = 43,200 s = 12h 0m

Break: 30 min = 1,800 seconds deducted

Net work time: 43,200 − 1,800 = 41,400 s = 11h 30m = 11.50 decimal hours

Payroll entry: 11.50 hours × hourly rate = compensable earnings for this shift.

Example 2: Freelance Contractor — Client Billing

A freelance developer starts work at 9:15 AM and ends at 5:45 PM. There was a 45-minute unpaid lunch break. What decimal hours should appear on the invoice?

Start: 9h 15m = 33,300 seconds

End: 17h 45m = 63,900 seconds

Raw duration: 63,900 − 33,300 = 30,600 s = 8h 30m

Break: 45 min = 2,700 s deducted

Billable: 30,600 − 2,700 = 27,900 s = 7h 45m = 7.75 decimal hours

At $75/hr: 7.75 × $75 = $581.25 invoiced. Decimal hours prevent rounding errors that compound across multiple billing periods.

Example 3: Weekly Overtime Check Under FLSA

An employee worked these hours this week: Mon 9h, Tue 8h, Wed 10h, Thu 8h, Fri 9h. Do they qualify for overtime pay?

Daily total: 9 + 8 + 10 + 8 + 9 = 44 hours worked

FLSA threshold: 40 hours/week (federal standard)

Overtime hours: 44 − 40 = 4 hours at 1.5× regular rate

If regular rate is $20/hr:

Regular pay: 40h × $20 = $800

Overtime pay: 4h × $30 = $120 (1.5 × $20)

Total gross pay: $920

Use this calculator's Add Time mode to total each day's hours, then compare to the 40-hour FLSA threshold.

FLSA Overtime Rules — Using This Calculator for Compliance

Understanding when overtime applies and how to calculate it accurately

The Fair Labor Standards Act (FLSA) requires employers to pay non-exempt employees at least 1.5 times their regular hourly rate for all hours worked beyond 40 in a single workweek. Accurate time calculation is essential for FLSA compliance — even small systematic errors in work-hour recording can result in wage underpayment claims.

Federal Standard (FLSA)

  • Overtime threshold: >40 hours per workweek
  • Rate: 1.5× regular hourly rate
  • Applies to non-exempt employees
  • Workweek can start any day of the week

California Daily Overtime

  • 1.5× pay for hours >8 in a single day
  • 2× pay for hours >12 in a single day
  • 1.5× pay for the first 8 hours on day 7
  • More protective than federal standard

How to Use This Calculator for Overtime Compliance

  1. Use the Add Time mode to add each day's work hours separately
  2. Subtract any unpaid break time using the break exclusion feature
  3. Add all five daily totals to get your weekly hours
  4. If the total exceeds 40 hours (federal) or 8 hours in a day (California), overtime applies

Reference: U.S. Department of Labor — Overtime Pay (FLSA). This calculator is for informational purposes. For regulated payroll obligations, consult a qualified HR professional or employment attorney.

Minutes to Decimal Hours — Quick Reference Table

Use this table for fast payroll entry when you know your minutes worked

Minutes WorkedDecimal HoursCalculation
5 min0.085 ÷ 60 = 0.08
10 min0.1710 ÷ 60 = 0.17
15 min0.2515 ÷ 60 = 0.25
20 min0.3320 ÷ 60 = 0.33
25 min0.4225 ÷ 60 = 0.42
30 min0.5030 ÷ 60 = 0.50
35 min0.5835 ÷ 60 = 0.58
40 min0.6740 ÷ 60 = 0.67
45 min0.7545 ÷ 60 = 0.75
50 min0.8350 ÷ 60 = 0.83
55 min0.9255 ÷ 60 = 0.92
60 min1.0060 ÷ 60 = 1.00

For any number of minutes: decimal = minutes ÷ 60. Add to your whole hours for the full decimal hours value.

Common Time Calculation Mistakes to Avoid

Errors that cause payroll discrepancies and billing disputes

1

Treating 7:45 as 7.45 decimal hours

7 hours 45 minutes is 7.75 decimal hours (45 ÷ 60 = 0.75), not 7.45. This error is extremely common when entering time manually into spreadsheets or payroll software. On a $25/hr rate, the difference per shift is $7.50 — significant across a team and pay period.

2

Forgetting to deduct unpaid break time

Paid vs unpaid break time is a legal distinction under FLSA. Meal breaks of 30+ minutes are generally unpaid and must be deducted from compensable hours. Rest breaks under 20 minutes must be paid. Failing to deduct unpaid meal periods results in overpayment or misreported hours.

3

Ignoring time zone offsets for remote teams

When calculating hours between a start time in one time zone and an end time in another (for example, a distributed team standup), failing to account for the UTC offset gives the wrong duration. Use this calculator's Time Zone Intelligence feature for cross-timezone calculations.

4

Rounding time to the nearest 15 minutes incorrectly

Many payroll systems round to the nearest quarter-hour. FLSA allows rounding if it is neutral over time — but rounding always against the employee (down) is a wage violation. This calculator provides precise unrounded results; any rounding policy should be applied separately per your organization's policy.

5

Not accounting for daylight saving time transitions

A shift that crosses a DST transition (for example, 11pm to 7am on the day clocks spring forward) is actually 7 hours long, not 8. Conversely, on the fall-back day, that shift is 9 hours. Always confirm the actual clock offset when calculating shifts on DST transition dates.

When Accurate Time Calculations Matter

Why automated time calculation prevents costly errors across industries

Manual time arithmetic is one of the most common sources of payroll errors. Converting between hours, minutes, and seconds, deducting break periods, accounting for time zone differences, and producing decimal output all require steps that compound error risk. A time calculator eliminates this by automating the arithmetic and producing results in every required format simultaneously.

High-Stakes Contexts for Accurate Time Calculation

Employee PayrollCalculate total compensable work hours per shift and per pay period, with break deductions, for accurate gross wage computation.
Freelance BillingConvert tracked work sessions to decimal hours for invoicing. Prevents underbilling and supports transparent client billing records.
Shift SchedulingVerify shift duration before finalizing schedules, identify overtime risk before it occurs, and confirm adequate rest periods between shifts.
FMCSA Hours of ServiceTruck drivers and commercial vehicle operators must log duty hours within FMCSA limits. Accurate time calculation supports compliant hours-of-service records.
Project Time TrackingTrack billable hours across multiple tasks or clients. Decimal output integrates directly with project management tools and invoicing software.

Frequently Asked Questions

Answers to common questions about time calculation, payroll, and billing

How do I calculate work hours between two times?

â–¾

Select 'Time Duration Between Two Times', enter your start and end time, then click Calculate. The result shows total hours worked plus the decimal hours value you need for payroll entry. Use 'Exclude Break Time' to deduct unpaid breaks.

How many hours is 9am to 5pm?

â–¾

9:00 AM to 5:00 PM is exactly 8 hours (28,800 seconds). With a 30-minute unpaid lunch break deducted, the compensable work time is 7 hours 30 minutes — or 7.50 decimal hours for payroll.

How do I convert minutes to decimal hours?

â–¾

Divide the minutes by 60. Examples: 15 min ÷ 60 = 0.25, 30 min ÷ 60 = 0.50, 45 min ÷ 60 = 0.75. This calculator displays decimal hours automatically in the Time Conversion Breakdown after you calculate.

How do I calculate overtime under FLSA?

â–¾

Add your daily hours for all five workdays. If the weekly total exceeds 40 hours, the excess is overtime at 1.5× your regular rate. Example: 9+8+10+8+9 = 44 hours — 4 hours of overtime. California also applies daily overtime for hours beyond 8 in a single day.

Can I add more than 24 hours?

â–¾

Yes — there is no upper limit. The calculator supports cumulative weekly hours, multi-day project tracking, and any duration beyond 24 hours. Results are shown in hours:minutes:seconds and as total seconds.

How do I calculate a night shift that crosses midnight?

â–¾

Enter the start time and end time in 24-hour terms. For a 10pm–6am shift, enter Start = 22:00 (22 hours) and End = 30:00 (30 hours, treating 6am on day 2 as hour 30). The duration comes out as 8 hours.

Does this work across different time zones?

â–¾

Yes. In Duration mode, enable 'Time Zone Intelligence', then select the time zone for both times. The calculator adjusts for the UTC offset difference automatically, which is useful for international team scheduling and flight duration calculations.

Calculation Standards & Transparency

This time calculator is developed and maintained by Raviraj Bhosale. The calculation logic follows internationally recognized time-interval arithmetic conventions used in payroll, billing, and workforce management systems worldwide.

Time Calculation Standard: Time duration and interval arithmetic follows base-60 (sexagesimal) conventions standardized in ISO 8601-1:2019. ISO 8601-1:2019

Time & Frequency Reference: The second is defined per the SI standard maintained by NIST. NIST Time & Frequency Division

FLSA Overtime Methodology: Overtime calculation examples follow U.S. Department of Labor overtime pay guidelines. DOL Overtime Pay

🔒 Privacy: All time calculations are processed locally in your browser. No time entries or usage data are stored, tracked, or transmitted to any server.

Last reviewed: January 2026

Disclaimer: This calculator is for informational and productivity purposes. While it follows standard payroll and FLSA time calculation practices, it does not constitute professional accounting, legal, or payroll advice. For regulated payroll obligations, consult a qualified payroll professional or employment attorney.

Founder of vipcalculator.netFounder of vipcalculator.net

Expertise & Trust (Human Verified)

Hello! I’m an SEO expert and web developer, and the founder of vipcalculator.net.My goal is to build reliable, high-performance tools that provide accurate results for daily professional and personal calculations.

Verified by Human Expertise: This website and all of its algorithms are fully human-verified. We strictly follow Google’s Helpful Content guidelines and prioritize user privacy at every level.

You can explore my professional background and previous projects by visiting my LinkedIn Profile. As a developer, I am committed to making your digital tasks simpler, safer, and more efficient through precise tools.

Related Calculators

Pregnancy Calculator
Calculate your due date and pregnancy timeline
Ovulation Calculator
Track your fertile window and predict ovulation
Date Calculator
Add or subtract days from a date