Skip to main content
NyankoTools

Time Calculator: Work Hours, Time Add/Subtract & Decimal Hours

Total your work hours from start, end and break times, add or subtract hours and minutes from a clock time, and convert between 7:45 and 7.75 hours. To turn the hours into pay, pair it with the Hourly Wage Converter & Overtime Pay Calculator. Everything runs in your browser, and nothing you type is sent to a server.

🔒 Runs in your browser · Your data is never sent to a server

1. Work hours total

Total worked
Decimal hours

2. Add or subtract time

Operation

Resulting time

3. Convert between h:mm and decimal hours

Hours & minutes to decimal

Decimal hours

Decimal to hours & minutes

Hours:minutes

How to use

  1. In "Work hours total", enter the start time, end time and break (minutes). Use "Add row" for more days.
  2. The total worked time appears as h:mm and as decimal hours. Use the copy button to grab it.
  3. To add or subtract time, enter a starting time and the hours and minutes to add or remove.
  4. To convert between formats, enter hours and minutes, or a decimal number of hours.

Notes

  • If the end time is earlier than the start time, the shift is treated as running past midnight (22:00 to 6:00 is 8 hours). If start and end are the same, the result is 0 minutes.
  • Breaks are entered in minutes. A row whose break is longer than the shift (end minus start) shows an error.
  • Decimal hours are rounded to two places (20 minutes shows as 0.33 hours). Converting back rounds to the nearest minute, so small differences can appear.
  • For payroll, follow your employer's rounding rules (for example, rounding down to 15 minutes). This tool gives a plain calculation.

Glossary

Worked time vs. shift length

Shift length is the full span from clock-in to clock-out; worked time is that span minus breaks. Pay and overtime are usually based on worked time.

Decimal hours

Time written with minutes as a decimal fraction of an hour, such as 7.75 hours for 7 hours 45 minutes. It is handy for multiplying by an hourly rate: 30 minutes is 0.5 and 15 minutes is 0.25.

FAQ

Can it handle overnight shifts?

Yes. When the end time is earlier than the start time, the shift is treated as running into the next day. For example, 22:00 to 6:00 with a 60-minute break is 7 hours worked.

How do I convert 7 hours 45 minutes to decimal hours?

It is 7.75 hours: divide the minutes by 60 (45 / 60 = 0.75) and add them to the hours. To go back, multiply the decimal part by 60.

What happens when the decimal does not divide evenly?

20 minutes is 0.3333... hours, so the tool rounds to two places and shows 0.33. In pay calculations, the rounding method can change the amount slightly.

What if the break is longer than the shift?

A row whose break is longer than the shift (end minus start) cannot be calculated, so it shows an error and is left out of the total.

Share this page

↑↓ Select Enter Open Esc Close