Skip to main content

Time Calculator

A free time calculator with three modes: find the duration between two date-times, add or subtract hours and minutes from a time, and sum a list of durations.

Share on Social Media:

What the time calculator does

This time calculator adds, subtracts, and measures spans of time so you do not have to fight with base-60 math in your head. Tell it a start time and an end time and it returns the exact duration in hours and minutes; give it two durations and it adds or subtracts them cleanly. It handles the awkward parts that trip people up, like a shift that crosses midnight, overnight gaps, and converting a messy result such as 130 minutes into a tidy 2 hours 10 minutes. Whether you think of it as a time calculation calculator, a calculator of time, or simply a "time from to calculator," the job is the same: turn clock readings into accurate totals.

It is built for everyday timekeeping. Use it to total a work shift, add up a time card, find the gap between two events, or work out when something will finish if it starts now and runs for a set length. Everything runs in your browser with no signup, so nothing you type is stored.

How to use the time calculator

The tool keeps the inputs minimal and shows the result as you type. The basic flow:

  1. Choose the operation you need: time between two clock times, or add/subtract two durations.
  2. Enter the start time (for example 9:00 AM) or the first duration (for example 1h 45m).
  3. Enter the end time (for example 5:30 PM) or the second duration.
  4. Read the result. The calculator returns the total in hours and minutes, and where useful also in total minutes, so you can drop it straight into a timesheet.

For a shift that runs past midnight, just enter the later clock time as the end; the calculator assumes the end is on the next day when it is earlier than the start, so a 10:00 PM to 6:00 AM shift correctly reads as 8 hours.

The method and a worked example

Under the hood the calculator converts every time to minutes since midnight, does plain arithmetic, then converts back to hours and minutes. That avoids the classic error of subtracting clock faces directly.

  • Convert to minutes: hours × 60 + minutes. So 5:30 PM is 17 × 60 + 30 = 1,050 minutes.
  • Subtract: end minutes minus start minutes. 1,050 − 540 (9:00 AM) = 510 minutes.
  • Convert back: 510 ÷ 60 = 8 hours with remainder 30, so 8 hours 30 minutes.

The table below shows common start-to-end pairs and the durations the calculator returns, including one that crosses midnight.

Start timeEnd timeTotal minutesDurationDecimal hours
9:00 AM5:30 PM5108h 30m8.50
8:15 AM12:00 PM2253h 45m3.75
1:00 PM4:20 PM2003h 20m3.33
10:00 PM6:00 AM4808h 0m8.00
7:45 AM4:15 PM5108h 30m8.50

Common uses: time cards, punch times, and more

The most frequent reason people open a time calculator is payroll. A time card sheet calculator or time punch calculator answers the everyday question "how many hours did I actually work?" once you account for clock-in, clock-out, and an unpaid break. The list below covers the situations this tool handles well:

  • Work shifts and overtime totalled from clock-in to clock-out.
  • Time cards where you add several daily durations into a weekly total.
  • Break deductions, subtracting a 30- or 60-minute lunch from the gross span.
  • Project and billing time measured in decimal hours for invoices.
  • Cooking, workouts, and study sessions where you need an end time from a start plus duration.

The reference table below converts minutes into the decimal hours that most payroll systems and invoices expect.

MinutesDecimal hoursMinutesDecimal hours
15 min0.2540 min0.67
20 min0.3345 min0.75
30 min0.5050 min0.83
35 min0.5860 min1.00

Working out a weekly time card step by step

Totalling a full week is where a time calculation calculator really earns its keep, because small daily errors compound into a wrong paycheck. The reliable approach is to handle each day on its own, then sum the days. Here is the routine:

  1. For each day, subtract clock-in from clock-out to get the gross span.
  2. Subtract the unpaid break from that span to get the day's paid hours.
  3. Convert each day to decimal hours if your payroll uses them (the table above does the conversion).
  4. Add the daily figures for the weekly total.

The worked example below shows a typical week with a 30-minute unpaid lunch each day. Notice how the decimal column makes the final addition trivial.

DayInOutBreakPaid hoursDecimal
Mon9:00 AM5:30 PM30m8h 0m8.00
Tue8:30 AM5:00 PM30m8h 0m8.00
Wed9:00 AM3:00 PM30m5h 30m5.50
Thu9:15 AM6:00 PM30m8h 15m8.25
Fri9:00 AM1:00 PM0m4h 0m4.00
Total33h 45m33.75

The week comes to 33 hours 45 minutes, or 33.75 decimal hours. Doing it day by day means a single miskeyed clock-out only affects one row, which is far easier to spot and fix than an error buried in a running total.

Common mistakes to avoid

Time math goes wrong in a few predictable ways. Keep these in mind:

  • Subtracting clock faces directly. 5:30 minus 9:00 is not 4 hours 30 minutes if you ignore AM/PM. Convert to a 24-hour value or to minutes first.
  • Forgetting AM and PM. The single most common payroll error. 12:00 PM is noon and 12:00 AM is midnight, which surprises a lot of people.
  • Ignoring a midnight crossing. If the end time is earlier than the start, the shift ran overnight; the duration is not negative.
  • Mixing decimal and base-60. 1.5 hours is 1 hour 30 minutes, but 1 hour 50 minutes is 1.83 hours, not 1.50. Use the conversion table above.
  • Leaving breaks in. Gross span minus unpaid break equals paid time. Forgetting the break inflates the total.

Reading the 24-hour clock

A lot of time errors disappear once you work in the 24-hour clock, because there is no AM or PM to confuse. Times after noon simply continue past 12: 1:00 PM is 13:00, 5:30 PM is 17:30, and 11:45 PM is 23:45. Midnight is 00:00 and noon is 12:00. Converting your start and end times to the 24-hour format before you subtract removes the single most common payroll mistake. The quick-reference table below maps the 12-hour times people use most against their 24-hour equivalents.

12-hour24-hour12-hour24-hour
12:00 AM00:0012:00 PM12:00
6:00 AM06:006:00 PM18:00
9:00 AM09:009:00 PM21:00
11:00 AM11:0011:00 PM23:00

The calculator accepts either format, so you do not have to convert by hand, but knowing the mapping makes it much easier to sanity-check a result at a glance.

Tips and related calculators

For weekly time cards, total each day separately, then add the daily figures, rather than trying to track a running clock across days. When you bill clients, convert to decimal hours so a 7-hour 45-minute day reads as 7.75. And if you regularly cross midnight, label your start and end with the day to avoid second-guessing yourself.

This tool sits in the broader Online Calculators hub alongside several companions. The Age Calculator handles spans measured in years, months, and days rather than hours; the Percentage Calculator is useful for working out overtime premiums; the Average Calculator helps you find your typical daily hours across a week; and if your timesheet feeds an invoice with tax, the Sales Tax Calculator finishes the job.

Frequently asked questions

How does the time calculator handle a shift that crosses midnight? If the end time is earlier than the start time, the calculator treats the end as falling on the next day. So 10:00 PM to 6:00 AM correctly returns 8 hours rather than a negative result.

How do I convert minutes to decimal hours? Divide the minutes by 60. For example 45 minutes is 45 ÷ 60 = 0.75 hours, and 20 minutes is 0.33 hours. The reference table above lists the common values payroll systems expect.

Can I use this as a time card or punch calculator? Yes. Enter your clock-in as the start and clock-out as the end to get the gross span, then subtract any unpaid break. Add each day's paid hours for a weekly time card total.

What is the difference between 12:00 AM and 12:00 PM? 12:00 AM is midnight, the start of the day, and 12:00 PM is noon. Mixing these up is the most common cause of wrong shift totals, so double-check them.

Does the calculator subtract breaks automatically? No. It measures the span between two times. If your break is unpaid, calculate the gross span first and then subtract the break duration to get paid hours.

Can I add two durations instead of clock times? Yes. Switch to the add or subtract mode and enter durations like 1h 45m and 2h 30m. The calculator returns the combined total in hours and minutes.

Is the time calculator free and private? Yes. It runs entirely in your browser with no signup, and the times you enter are never stored or sent anywhere.

How do I find an end time from a start time and a duration? Enter the start time, choose the add mode, and enter the duration. The calculator returns the finish time, which is handy for cooking, workouts, or scheduling.

๐Ÿ”— Relevant Tools

Leave a comment

Comments go straight to our team โ€” they are not published on the site.

ads

Please disable your ad blocker!

We understand that ads can be annoying, but please bear with us. We rely on advertisements to keep our website online. Could you please consider whitelisting our website? Thank you!