webtrajans
en

Hours Calculator

Work out hours and minutes between two times, add or subtract durations, total a timesheet and convert decimal hours.

Time between two times

Duration0:00
0Decimal hours
0Total minutes

Add or subtract time

Result

Timesheet: add up hours

One duration per line (7:45, 7.5) or a time range (08:00-16:30).

Total0:00
0Decimal hours
0Lines

Decimal hours ⇄ hours:minutes

Times use the 24-hour clock (ISO 8601). 1 hour = 60 minutes, so 7.5 hours = 7:30. Everything is calculated in your browser.

Sources

This tool runs entirely in your browser; your data is never sent to a server.

Written and reviewed by the Webin Agency Editorial Team · Last updated: December 1, 2026How we build our tools

How to use

  1. 1Enter a start and end time (24-hour format) and an optional break in minutes.
  2. 2Read the duration in hours:minutes, decimal hours and total minutes.
  3. 3Add or subtract a duration from a clock time; the result shows if it crosses midnight.
  4. 4Paste daily hours or time ranges into the timesheet box to get the weekly total.

Time between two times, including night shifts

The calculator subtracts the start from the end time and deducts the break. If the end time is earlier than the start — for example 22:00 to 06:30 — it assumes the shift crosses midnight and adds 24 hours, giving 8 hours 30 minutes. Times are written in the 24-hour notation of ISO 8601 (hh:mm or hh:mm:ss).

Decimal hours vs hours and minutes

Payroll and invoicing often use decimal hours, while clocks show minutes. Because an hour has 60 minutes, 7.5 hours is 7:30, 7.75 hours is 7:45 and 1.2 hours is 1:12 — not 1:20. To convert minutes to decimal, divide by 60: 20 minutes = 0.33 h. The converter works in both directions and accepts a comma or a dot as decimal separator.

Adding up a timesheet

Write one entry per line: a duration such as 7:45, a decimal such as 7.5, or a time range such as 08:00-16:30. The total is shown in hours:minutes and decimal hours, ready for a weekly or monthly timesheet. Nothing is uploaded — all calculations run in your browser.

Frequently asked questions

How many hours are between 8:30 and 17:15?

8 hours 45 minutes; with a 45-minute break it is exactly 8 hours (8.00 decimal hours).

How do I convert 7.75 hours to hours and minutes?

Multiply the decimal part by 60: 0.75 × 60 = 45, so 7.75 hours = 7 hours 45 minutes.

How do I calculate an overnight shift?

Just enter the end time; if it is earlier than the start, 24 hours are added automatically (22:00–06:30 = 8:30).

What is 22:15 plus 3 hours 50 minutes?

02:05 on the next day.

Add this tool to your website

Paste the code below into your site’s HTML; the tool runs on your page and stays up to date automatically.

Widget builder →Free to use. Please keep the source link below the widget.

Not happy with the results?

Talk to Webin Agency about fast, SEO-friendly websites, e-commerce and Google Ads management.

Get free advice

Related tools