Velto
Date & Time

Hours Calculator

This hours calculator finds the time worked between a start and an end time, deducts the break, and shows the result both in hours and minutes and in decimal hours for payroll, with the pay if you add an hourly rate.

Time worked

8:00

Decimal hours

8

7:30 means 7 hours 30 minutes, which is 7.5 in decimal.

Pay

200

Minutes to decimal

5 min

0.08

10 min

0.17

15 min

0.25

20 min

0.33

30 min

0.5

40 min

0.67

45 min

0.75

50 min

0.83

Examples

How to use

  1. 1

    Enter your start time and end time. An end time before the start counts as the next day.

  2. 2

    Add your unpaid break in minutes, 30 for a half hour lunch.

  3. 3

    Read the net time worked in h:mm and in decimal hours, the format payroll systems use.

  4. 4

    Enter an hourly rate to see the pay for the shift.

How do you work out hours worked?

Hours worked = end time - start time - unpaid breaks. A 9:00 to 17:30 day with a 30 minute lunch runs 8 hours 30 minutes gross, minus the break, so 8 hours net. At 25.00 an hour that shift pays 200.00.

The calculator keeps everything in minutes to stay exact: 9:00 is minute 540, 17:30 is minute 1050, the gap is 510 minutes; 510 - 30 = 480 minutes, which reads as 8.0 hours.

Why does payroll want decimal hours?

You cannot multiply 7:30 by an hourly rate as it stands, because the 30 means minutes, not hundredths. Payroll software reads decimal hours, where 7:30 becomes 7.5 since 30 minutes are half an hour. The conversion is minutes divided by 60.

MinutesDecimal hours
150.25
200.33
300.50
400.67
450.75

The classic slip is typing 7.30 into payroll for 7 hours 30 minutes. That pays 7 hours 18 minutes of work: at 20.00 an hour the employee drops 4.00 on one shift, roughly 20.00 across a five day week.

How does the tool handle night shifts?

When the end time falls before the start time, the calculator assumes the shift finishes the next day. A 22:00 to 06:00 run is 8 hours gross; take off a 45 minute break and it nets 7:15, or 7.25 decimal hours. You never enter a date.

How do you go from one shift to a full week?

Work out each day on its own, then add the decimal values. Five days at 7.5 hours plus one at 6.25 make 43.75 hours. In many countries, hours past a weekly threshold (40 in the US under the FLSA) earn an overtime premium, often 1.5 times the rate. Decimal hours make the split easy: 43.75 hours against a 40 hour threshold leaves 3.75 overtime hours.

How do you convert minutes to decimal hours?

Divide the minutes by 60 and keep two decimals. The short table above covers the usual breaks; here is the full grid in 5 minute steps:

MinutesDecimalMinutesDecimal
50.08350.58
100.17400.67
150.25450.75
200.33500.83
250.42550.92
300.50601.00

Three payroll checks with the grid:

  1. 7 hours 45 minutes at 16.00 an hour: 7.75 times 16.00 gives 124.00.
  2. 6 hours 30 minutes at 22.40: 6.50 times 22.40 gives 145.60.
  3. A week of 38 hours 15 minutes at 19.60: 38.25 times 19.60 gives 749.70.

Rounding each line to two decimals is safe for pay: the error stays under 0.005 hours per entry, about 18 seconds, and it mostly cancels out over a week. If your time cards are stamped in 24-hour notation, convert them first with the military time converter, then feed the times into this page.

Military Time Chart

Military time12-hour timeSpoken
000012:00 AM (midnight)zero hundred hours
01001:00 AMzero one hundred hours
02002:00 AMzero two hundred hours
03003:00 AMzero three hundred hours
04004:00 AMzero four hundred hours
05005:00 AMzero five hundred hours
06006:00 AMzero six hundred hours
07007:00 AMzero seven hundred hours
08008:00 AMzero eight hundred hours
09009:00 AMzero nine hundred hours
100010:00 AMten hundred hours
110011:00 AMeleven hundred hours
120012:00 PM (noon)twelve hundred hours
13001:00 PMthirteen hundred hours
14002:00 PMfourteen hundred hours
15003:00 PMfifteen hundred hours
16004:00 PMsixteen hundred hours
17005:00 PMseventeen hundred hours
18006:00 PMeighteen hundred hours
19007:00 PMnineteen hundred hours
20008:00 PMtwenty hundred hours
21009:00 PMtwenty-one hundred hours
220010:00 PMtwenty-two hundred hours
230011:00 PMtwenty-three hundred hours
240012:00 AM (midnight, end of day)twenty-four hundred hours

Parameters

Every field of this tool can be prefilled from the URL. Use these query parameters:

ParameterTypeDefault
startstring09:00
endstring17:30
breakMinutesnumber30
ratenumber0

Example : https://www.veltotools.com/date/hours-calculator?start=09%3A00&end=17%3A30

API

The same tool is available as a free JSON API, with the same parameters as above. No key, no sign-up.

GET https://www.veltotools.com/api/v1/date/hours-calculator?start=09%3A00&end=17%3A30
$ curl "https://www.veltotools.com/api/v1/date/hours-calculator?start=09%3A00&end=17%3A30"

Frequently asked questions

Updated Jul 17, 2026

Related tools