SMARTnetyx - Prozessautomatisierung & Microsoft Power PlatformSMARTnetyx
Free calculator

Time Calculator: Hours Between Two Times, Timesheet, Add and Subtract

Enter a start time, an end time and a break, and see the hours worked in hours and minutes and as decimal hours. Switch to the weekly view for a full timesheet, or add and subtract durations.

Hours8:008.00
Total hours
8:00
8.00 decimal hours
Target
8:00
8.00 decimal hours
Difference to target
0:00
0.00

Everything runs in your browser. Nothing you enter is sent to a server.

What the time calculator does

The calculator has three views, and all of them run in your browser:

  • Hours between times: one day with a start, an end and a break.
  • Weekly timesheet: seven days in one table with a weekly total and the difference to your target hours.
  • Add or subtract time: a list of durations that you add up or take away, for example 2:30 + 1:45 - 0:30.

You can show times in the 24-hour format or the 12-hour format with AM and PM. Type 5:30 pm, 530p or 17:30, the calculator reads all three.

How to calculate hours worked

The formula is end time minus start time minus break. A day from 8:30 AM to 5:00 PM is 8 hours 30 minutes. A 30 minute break leaves 8 hours, which is 8.00 in decimal hours. For longer breaks or split days, enter the total break time in minutes.

Convert minutes to decimal hours

Payroll and invoicing tools often want decimal hours instead of hours and minutes. Divide the minutes by 60. 45 minutes is 45 / 60 = 0.75 hours, and 7 hours 50 minutes is 7 + 50 / 60 = 7.83 hours. This table shows the common values, rounded to two decimal places.

MinutesDecimal hours
10 minutes0.17
15 minutes0.25
20 minutes0.33
30 minutes0.50
40 minutes0.67
45 minutes0.75

If your employer rounds to the nearest 5, 10, 15 or 30 minutes, choose the rounding in the calculator. Each day is rounded after the break is taken off. It rounds up from the halfway point.

Shifts that go past midnight

When the end time is earlier than the start time, the calculator treats the end as the next day. 10:00 PM to 6:00 AM is 8 hours, and with a 30 minute break it is 7 hours 30 minutes. If start and end are the same time, the result is zero hours.

Find the difference to your target hours

Enter your target for the day or the week and the calculator shows the difference. Take five days from 8:00 AM to 5:00 PM with a 45 minute break. That is 8:15 per day and 41:15 for the week. Against a target of 40 hours, the difference is 1:15, or 1.25 hours over. If you land under the target, the calculator shows the shortfall with a minus sign. It only shows the difference. Your employer and your contract decide what counts as overtime and how it is paid.

Add and subtract time

The third view works like a tape calculator for durations. Add the hours of several tasks, take away a break, and read the total as hours and minutes and as decimal hours. Totals above 24 hours stay in hours, so 26:15 means 26 hours 15 minutes.

Use the weekly timesheet

Switch to the weekly view, enter Monday and click Copy Monday to Monday through Friday. The same times appear on all five days, and you only change the days that differ. Set the weekly target yourself, for example 30 hours for a part-time week. Days without times are left out of the total, so an empty weekend stays empty.

Three common mistakes

  • Mixing up decimal hours and minutes: 7.5 hours is 7:30, not 7:50.
  • Mixing up AM and PM: 12:00 AM is midnight and 12:00 PM is noon. The AM/PM button in each time field flips the value.
  • Forgetting the break or taking it off twice: enter it once per day in minutes.

Copy the result or download a CSV

Copy result puts the table on your clipboard with tabs, so it pastes straight into a spreadsheet or an email. The CSV file uses commas and decimal points. If you track time every day, working time tracking with Microsoft 365 shows how to stop typing it in by hand.

Frequently asked questions

How do I calculate hours worked between two times?

Subtract the start time from the end time, then subtract the break. For example, 8:30 AM to 5:00 PM is 8 hours 30 minutes. With a 30 minute break you worked 8 hours. If the end time is earlier than the start time, the calculator counts into the next day.

How do I convert minutes to decimal hours?

Divide the minutes by 60 and add them to the full hours. 7 hours 45 minutes is 7 + 45 / 60 = 7.75 decimal hours. The calculator shows both formats with two decimal places.

How do I calculate time that goes past midnight?

Add 24 hours to the end time when it is earlier than the start time. A shift from 10:00 PM to 6:00 AM is 8 hours. You do not need to split the shift at midnight, the calculator does this for you.

How do I add or subtract hours and minutes?

Open the Add or subtract time tab, enter each duration as hours and minutes (1:30) or as decimal hours (1.5), and choose add or subtract for each line. 2:30 plus 1:45 minus 0:30 is 3:45.

Does the time calculator store my entries?

No. Everything is calculated in your browser. There is no account and no sign-in, and your times are not sent to a server. When you reload the page, the entries are gone.

SMARTnetyx AI

Track time where your team works

Time tracking inside Microsoft Teams: channels become projects, time is booked by timer or afterwards.

See time tracking
app.smartnetyx.ai
Track time where your team works

More free tools

Book a call

See in 60 minutes whether it fits your team.

I show you SMARTnetyx AI with sample data and we look at your processes. Free and without obligation.

See the app
  • Data in Germany
  • Sign in with Microsoft
SMARTnetyx AI home page with key figures
Leave planner in SMARTnetyx AI