Time Calculator

Calculate time differences, add/subtract time, and convert time units. Perfect for calculating work hours, time zones, and more.

Time Calculator

Calculate time differences, add/subtract time, and convert time units instantly

Add Time to a Base Time

Add hours, minutes, seconds, and days to any time

Hours

:

Minutes

:

Seconds

Time Calculator Features

Time Difference Calculator

Calculate the duration between two times or dates with precision.

  • Input: Start time and end time in HH:MM:SS format
  • Output: Total duration in hours, minutes, seconds
  • Formats: Breakdown in days, hours, minutes, seconds
  • Conversions: Duration in decimal hours, total minutes, total seconds
  • Auto-handles: Times that cross midnight

Time Addition/Subtraction

Add or subtract time periods from a given time accurately.

  • Add Time: Calculate future times by adding hours, minutes, seconds
  • Subtract Time: Calculate past times by subtracting duration
  • Handles: Time overflow (e.g., 90 minutes = 1h 30m)
  • Multi-day: Add/subtract days along with time

Work Hours Calculator

Calculate total work hours between times for payroll and scheduling.

  • Clock in/out: Enter start and end times
  • Lunch breaks: Calculate work hours excluding breaks
  • Weekly hours: Use Add Time to sum multiple days
  • Overtime: Identify hours over 40 per week

How to Use the Time Calculator

Calculating Time Difference

Example: Calculate work hours

  1. Enter Start Time: Format: HH:MM:SS (e.g., 09:00:00)
  2. Enter End Time: Format: HH:MM:SS (e.g., 17:30:00)
  3. Calculate: Click "Calculate Duration"

Result: 8 hours 30 minutes

Adding Time

Example: Time 4.5 hours from now

  1. Enter Base Time: Current time (e.g., 14:30:00)
  2. Enter Time to Add: Hours: 4, Minutes: 30
  3. Calculate: Click "Calculate Result"

Result: 19:00:00 (7:00 PM)

Converting Time Units

Example: Convert 500 minutes to hours

Use the Time Difference tab with start time 00:00:00 and end time after calculating total minutes, or manually divide: 500 ÷ 60 = 8.33 hours or 8 hours 20 minutes

Practical Examples

Example 1: Work Hours Calculation

Scenario: Calculate daily work hours with lunch

  • Clock in: 9:00 AM
  • Lunch start: 12:00 PM
  • Lunch end: 1:00 PM
  • Clock out: 5:30 PM

Calculation:

  • Morning: 9:00 AM to 12:00 PM = 3 hours
  • Lunch: 12:00 PM to 1:00 PM = 1 hour (break)
  • Afternoon: 1:00 PM to 5:30 PM = 4.5 hours
  • Total work hours: 3 + 4.5 = 7.5 hours

Example 2: Time Zone Difference

Scenario: Calculate duration between time zones

  • New York: 3:00 PM EST
  • London: 8:00 PM GMT (5-hour difference)

Meeting duration:

  • Start: 3:00 PM New York (8:00 PM London)
  • End: 4:30 PM New York (9:30 PM London)
  • Duration: 1 hour 30 minutes

Example 3: Project Duration

Scenario: Calculate project completion time

  • Start date: January 15, 2025 at 9:00 AM
  • Duration: 120 hours

End date calculation:

  • 120 hours = 5 days (24 × 5 = 120)
  • End date: January 20, 2025 at 9:00 AM

With work days only (8 hours/day):

  • 120 hours ÷ 8 hours per day = 15 work days

Time Calculations Explained

Adding Time

Basic addition:

2 hours 30 minutes + 1 hour 45 minutes = 3 hours 75 minutes = 4 hours 15 minutes (60 minutes = 1 hour)

With seconds:

1:30:45 + 2:45:30 = 3:75:75 = 4:16:15 (carry excess)

Subtracting Time

Basic subtraction:

5 hours 30 minutes - 2 hours 45 minutes = 2 hours 45 minutes (borrow 1 hour = 60 minutes)

From clock time:

Current time: 3:15 PM - Subtract: 8 hours = 7:15 AM (previous day)

Converting Time Units

Minutes to decimal hours:

  • 75 minutes = 75/60 = 1.25 hours
  • 30 minutes = 30/60 = 0.5 hours
  • 45 minutes = 45/60 = 0.75 hours

Decimal hours to hours:minutes:

  • 1.5 hours = 1 hour 30 minutes
  • 2.75 hours = 2 hours 45 minutes
  • 8.33 hours = 8 hours 20 minutes

Time Formats

12-Hour Clock (AM/PM)

Format: HH:MM:SS AM/PM

  • 09:00:00 AM = 9:00 AM
  • 12:00:00 PM = 12:00 PM (noon)
  • 12:00:00 AM = 12:00 AM (midnight)
  • 03:30:45 PM = 3:30:45 PM

Converting to 24-hour: AM times: Same (except 12 AM = 0), PM times: Add 12 (except 12 PM = 12)

24-Hour Clock (Military)

Format: HH:MM:SS (00:00:00 to 23:59:59)

  • 09:00 = 9:00 AM
  • 12:00 = 12:00 PM (noon)
  • 15:30 = 3:30 PM
  • 23:59 = 11:59 PM
  • 00:00 = 12:00 AM (midnight)

Decimal Hours

Format: HH.HH

  • 8.00 = 8:00 (8 hours 0 minutes)
  • 8.25 = 8:15 (8 hours 15 minutes)
  • 8.50 = 8:30 (8 hours 30 minutes)
  • 8.75 = 8:45 (8 hours 45 minutes)

Conversion: Minutes / 60 = Decimal portion (e.g., 45/60 = 0.75)

Common Applications

Work and Payroll

Weekly hours calculation example:

DayStartEndHours
Mon9:00 AM5:30 PM8.5
Tue9:00 AM5:30 PM8.5
Wed9:00 AM5:30 PM8.5
Thu9:00 AM5:30 PM8.5
Fri9:00 AM5:00 PM8.0

Total: 42 hours | Regular (40 hours): 40 | Overtime: 2 hours

Gross pay (at $20/hour): Regular: 40 × $20 = $800 | Overtime: 2 × $30 = $60 | Total: $860

Project Management

Task duration:

  • Start: Week 1, Day 1
  • Duration: 120 hours (3 work weeks)
  • End: Week 4, Day 2

Critical path example:

  • Task A: 40 hours (Week 1)
  • Task B: 60 hours (Week 2-3)
  • Task C: 20 hours (Week 3)
  • Total project: 120 hours

Special Time Calculations

Calculating Duration Across Midnight

Example: 11:00 PM to 2:00 AM

Method 1: Add 24 hours to end time

End: 2:00 AM + 24 = 26:00 | Duration: 26:00 - 23:00 = 3 hours

Method 2: Calculate to midnight, then add

11:00 PM to midnight: 1 hour | Midnight to 2:00 AM: 2 hours | Total: 3 hours

Leap Years

Rules:

  1. Divisible by 4 = leap year
  2. Except centuries not divisible by 400

Examples: 2024: Leap year (divisible by 4) | 2023: Not leap year | 2000: Leap year (divisible by 400) | 1900: Not leap year (century not divisible by 400)

Business Days

Excluding weekends:

5-day work week: Monday to Friday, excludes Saturday and Sunday

Example: Start: Wednesday, Duration: 7 calendar days = 5 business days, End: Following Tuesday

Holidays: Varies by country (US: ~10 federal holidays, UK: ~8 bank holidays)

Practice Problems

Problem 1: Calculate Work Hours

DayInOutLunch
Mon8:30 AM5:00 PM1h
Tue8:30 AM5:30 PM1h
Wed9:00 AM5:00 PM30m
Thu8:30 AM6:00 PM1h
Fri8:00 AM4:30 PM30m

Solution:

  • Monday: 8.5h - 1h = 7.5h
  • Tuesday: 9h - 1h = 8h
  • Wednesday: 8h - 0.5h = 7.5h
  • Thursday: 9.5h - 1h = 8.5h
  • Friday: 8.5h - 0.5h = 8h

Weekly total: 39.5 hours | Regular: 39.5 | Overtime: 0 hours

Problem 2: Time Addition

Calculate: 6h 45m + 3h 30m + 2h 15m

Solution:

Hours: 6 + 3 + 2 = 11 hours | Minutes: 45 + 30 + 15 = 90 minutes = 1 hour 30 minutes | Total: 12 hours 30 minutes

Problem 3: Convert Minutes to Hours

Convert: 375 minutes to hours and minutes

Solution:

375 ÷ 60 = 6.25 hours = 6 hours + 0.25 × 60 minutes = 6 hours 15 minutes

Frequently Asked Questions

How do I calculate hours between two times?

Use the Time Difference tab. Enter your start time and end time, then click Calculate Duration. The calculator will show you the duration in multiple formats including hours, minutes, seconds, total minutes, and decimal hours. It automatically handles times that cross midnight.

How do I convert minutes to decimal hours?

To convert minutes to decimal hours, divide the minutes by 60. For example: 30 minutes = 30/60 = 0.5 hours; 45 minutes = 45/60 = 0.75 hours; 90 minutes = 90/60 = 1.5 hours. The Time Difference tab automatically shows decimal hours.

How do I calculate work hours with lunch?

Calculate work hours in two segments: morning (before lunch) and afternoon (after lunch). For example, if you work 9:00 AM to 12:00 PM, take a 1-hour lunch, then work 1:00 PM to 5:30 PM: Morning = 3 hours, Afternoon = 4.5 hours, Total = 7.5 hours. Use the Time Difference tab for each segment.

How many hours are in a work week?

A standard work week is 40 hours (5 days × 8 hours). Variations include part-time (20-30 hours), compressed work weeks (4 days × 10 hours = 40 hours), and overtime (any hours over 40). Calculate your weekly total by adding daily hours using the Add Time tab.

How do I add time across days?

Use the Add Time tab. Enter your base time and the duration to add (including days if needed). The calculator automatically handles day rollovers. For example, 10:00 PM + 15.5 hours = 1:30 PM the next day (+1 day).

How do I calculate duration in seconds?

Use the Time Difference tab to get the duration between two times. The result shows total seconds. To manually calculate: Total Seconds = (Hours × 3600) + (Minutes × 60) + Seconds. For example: 2h 30m 45s = (2 × 3600) + (30 × 60) + 45 = 9,045 seconds.

What is 15-minute military time?

Military time uses a 24-hour clock. "15 minutes past" is XX:15. "1500 hours" is 3:00 PM (15:00). "15 minutes" as a duration is 00:15 or 0:15 AM. The Time Difference tab works with 12-hour format (AM/PM) and handles conversions internally.

How do I calculate time between dates?

For calculating time between specific dates, use our Date Calculator. For time within a single day, use the Time Difference tab. To calculate time spanning multiple days with specific times, calculate full days (days × 24 hours) plus the time difference for the partial days.

How do I calculate overtime?

Calculate your total weekly hours using the Add Time tab for each day. Subtract 40 (standard work week) to get overtime hours. For example: 47 total hours - 40 regular = 7 overtime hours. Overtime pay = overtime hours × hourly rate × overtime multiplier (usually 1.5x).

How does the calculator handle crossing midnight?

The Time Difference tab automatically detects when the end time is earlier than the start time and assumes it crosses midnight. For example: 11:00 PM to 2:00 AM = 3 hours. The calculator adds 24 hours to the end time for the calculation.

What is decimal time format?

Decimal time expresses time as a decimal number instead of hours:minutes:seconds. Examples: 8.00 = 8:00, 8.25 = 8:15, 8.50 = 8:30, 8.75 = 8:45. To convert: Minutes/60 = decimal portion. This format is commonly used in payroll and billing.

About This Calculator

Frequently Asked Questions

Related Time Calculators

Time Zone Converter - Convert Time Between Time Zones

Convert time between different time zones instantly. Meeting planner functionality with multiple zone comparison. Worldwide timezone support.

Age Calculator - Calculate Age from Date of Birth

Calculate your age instantly from your date of birth. Find your age in years, months, and days. Includes next birthday countdown and lifetime statistics.

Date Calculator - Calculate Days Between Dates

Calculate days between dates with our free date calculator. Find date differences, add or subtract days from dates, and calculate working days.

Date Difference Calculator - Days Between Dates

Calculate days between two dates instantly. Find date difference in days, weeks, months, and years. Includes working days and countdown options.

Duration Calculator - Calculate Time Duration

Calculate duration between two dates and times instantly. Display in days, hours, minutes, and seconds. Perfect for event planning.

Time Calculator - Add & Subtract Time Instantly

Add or subtract time easily. Calculate hours, minutes, and seconds. Perfect for work shifts, time tracking, cooking, and project planning.

90 Days Calculator - Calculate Date 90 Days From Now

Calculate date 90 days from any date instantly. Court date calculator, business day calculator, and forward/backward date calculation.

Countdown Timer Generator - Create Custom Countdowns

Generate countdown timers for events instantly. Embeddable timers for websites. Customizable appearance with share functionality.

Business Days Calculator - Calculate Working Days

Calculate business days between dates instantly. Exclude weekends and holidays. Perfect for project planning and deadline calculations.

BMI Calculator - Calculate Body Mass Index

Calculate your BMI (Body Mass Index) instantly. Support for metric (kg/cm) and imperial (lbs/ft) units. Get health category and risk assessment.

Calorie Calculator - Calculate Daily Calorie Needs

Calculate your daily calorie needs instantly. TDEE calculator with BMR, macros, and weight goals. Support for metric and imperial units.

TDEE Calculator - Calculate Total Daily Energy Expenditure

Calculate your TDEE (Total Daily Energy Expenditure) instantly. Discover exactly how many calories you burn daily based on your activity level and plan your nutrition accordingly.

Weight Loss Calculator - Calculate Your Calorie Target

Calculate your daily calorie needs for weight loss with our free weight loss calculator. Get personalized targets based on your age, gender, activity level, and goals.

GPA Calculator - Calculate High School & College GPA

Calculate your GPA instantly. Support for weighted and unweighted GPA. Multiple courses, cumulative GPA, and grade tracking.

Grade Calculator - Calculate Your Final Grade

Calculate your final grade with our free grade calculator. Determine what you need on your final exam to achieve your desired course grade.

Password Generator - Generate Strong Secure Passwords

Generate secure random passwords instantly. Customizable length, characters, and strength. Copy to clipboard. Free password generator.

Percentage Calculator - Calculate Percentages Instantly

Free online percentage calculator. Calculate percentage increase, decrease, difference and more. Fast, accurate results for all your percentage calculations.

Random Number Generator - Generate Random Numbers Online

Free random number generator. Generate random numbers within a custom range. Choose quantity, unique numbers, and sorting options. No download required.