Search
Menu

Work Time Calculator | Hours, Breaks & Overtime

Separate elapsed time, unpaid breaks and paid hours before totaling shifts.

Quick Answer

Subtract the start time from the end time, then subtract unpaid breaks to find time worked. If a shift crosses midnight, carry the end time into the next day before applying overtime rules.

Clock beside a work timesheet
⏱ Free Time Card & Payroll Tool

Work Time Calculator

Use this Work Time Calculator to calculate total hours worked, break deductions, overtime hours, decimal hours, weekly timesheet totals, gross pay, unpaid breaks, billable time, and time duration between clock-in and clock-out. It supports AM/PM time, 24-hour time, overnight shifts, weekly schedules, hourly pay, overtime multipliers, and quick duration conversion.

Calculate Work Hours, Breaks, Overtime, and Pay

Choose a mode below. Use Weekly Timesheet for multiple workdays, Single Shift for one shift, and Duration Converter for converting hours and minutes into decimal payroll time.

Payroll note: this calculator estimates work time and gross pay. Labor laws, rounding rules, overtime rules, paid-break requirements, and payroll compliance vary by country, state, contract, and employer policy.

What Is a Work Time Calculator?

A Work Time Calculator is a timesheet and payroll helper that calculates how long someone worked between clock-in and clock-out times. It can subtract unpaid breaks, add paid breaks, calculate weekly totals, convert hours and minutes into decimal hours, estimate regular and overtime hours, and calculate gross pay from an hourly rate. This calculator is useful for employees, freelancers, contractors, managers, payroll assistants, students, tutors, consultants, and anyone who needs clean time math.

Work time looks simple until real-world details appear. A shift may start at 9:00 AM and end at 5:30 PM with a 30-minute unpaid break. Another shift may cross midnight, such as 10:00 PM to 6:00 AM. A weekly timesheet may include five different days with different breaks. Payroll systems often need decimal hours, so 7 hours 30 minutes becomes 7.5 hours. Some workplaces round to the nearest 5, 6, 15, or 30 minutes. Overtime rules may start after 40 hours per week, after 8 hours per day, or according to local law or contract. This calculator gives a practical, transparent way to handle the core math.

The calculator includes four modes. Weekly Timesheet calculates the total across seven days. Single Shift calculates one shift. Duration Converter turns hours and minutes into decimal hours and pay. Add/Subtract Time adds a duration to a clock time or subtracts a duration from a clock time. The result panel shows paid time, decimal hours, deducted break time, regular hours, overtime hours, gross pay, and detailed steps.

This page also explains the formulas behind work time. A reliable work-hour calculator should not only show the result but also show how the result was found. That matters for payroll review, billing, timesheet correction, studying elapsed time, and explaining overtime to employees or clients.

How to Use the Work Time Calculator

Use the Weekly Timesheet tab when you want a full week total. Enter start time, end time, break minutes, and break type for each day. If the break is unpaid, the calculator subtracts it from the shift duration. If the break is paid, the calculator keeps it in the paid time. Enter hourly rate, weekly overtime threshold, overtime multiplier, and currency symbol. Click calculate to see total paid time, gross time, regular hours, overtime hours, break deductions, and estimated gross pay.

Use the Single Shift tab for one workday. Enter clock-in time, clock-out time, break minutes, break type, hourly rate, and overnight rule. If the end time is earlier than the start time, the calculator can treat the shift as overnight automatically. For example, 10:00 PM to 6:00 AM is 8 hours before break deductions.

Use the Duration Converter tab when you already know the hours and minutes but need decimal hours. For example, 7 hours 30 minutes becomes 7.5 hours. This is useful for payroll, invoices, tutoring logs, project billing, consulting timesheets, and freelance work.

Use the Add/Subtract Time tab when you need to calculate an end time or earlier time. For example, if someone starts at 9:00 and works 8 hours 30 minutes, the end time is 5:30 PM. If someone needs to leave at 5:00 and must work backward by 7 hours 45 minutes, the calculator can subtract that duration from the base time.

Work Time Calculator Formulas

The basic shift duration formula is:

Shift duration
\[\text{Shift Duration}=\text{Clock Out}-\text{Clock In}\]

If the end time is earlier than the start time and the shift is treated as overnight, one day is added to the end time:

Overnight shift duration
\[\text{Duration}=(\text{Clock Out}+24\text{ hours})-\text{Clock In}\]

Paid work time after an unpaid break is:

Paid time after break
\[\text{Paid Time}=\text{Shift Duration}-\text{Unpaid Break}\]

If the break is paid, the paid time stays equal to the shift duration:

Paid break rule
\[\text{Paid Time}=\text{Shift Duration}\quad\text{when break is paid}\]

Decimal hours are calculated by converting minutes into a fraction of an hour:

Decimal hours
\[\text{Decimal Hours}=\text{Hours}+\frac{\text{Minutes}}{60}\]

Weekly regular and overtime hours are estimated as:

Regular and overtime hours
\[\text{Regular Hours}=\min(\text{Total Hours},\text{Overtime Threshold})\]
Overtime hours
\[\text{Overtime Hours}=\max(0,\text{Total Hours}-\text{Overtime Threshold})\]

Estimated gross pay is:

Gross pay
\[\text{Gross Pay}=(\text{Regular Hours}\times\text{Rate})+(\text{Overtime Hours}\times\text{Rate}\times\text{Multiplier})\]

Break Deductions

Breaks are one of the most common reasons timesheet totals are wrong. A shift from 9:00 to 17:30 is 8 hours and 30 minutes. If there is a 30-minute unpaid lunch break, paid time is 8 hours. If the break is paid, paid time remains 8 hours and 30 minutes. This calculator lets each day have its own break value and break type.

Unpaid breaks should be deducted only when the worker is not being paid for that time. Paid breaks should remain part of paid time. Different workplaces treat meal breaks, rest breaks, prayer breaks, travel time, on-call time, training time, and waiting time differently. A calculator can perform the arithmetic, but the correct classification depends on policy, contract, and law.

When reviewing a timesheet, check whether breaks are entered in minutes. A common mistake is entering 0.5 for a 30-minute break in a field that expects minutes. In this calculator, the break field expects minutes, so enter 30, not 0.5. The calculator converts those break minutes into hours internally.

Overtime and Gross Pay

Overtime is additional paid time beyond a threshold. A common simple example is overtime after 40 hours per week at 1.5 times the regular hourly rate. If a worker earns 25 per hour and works 45 paid hours, then 40 hours are regular and 5 hours are overtime. Regular pay is 40 × 25 = 1000. Overtime pay is 5 × 25 × 1.5 = 187.50. Gross pay is 1187.50.

However, overtime rules are not universal. Some places have daily overtime, weekly overtime, double time, holiday premiums, night premiums, split-shift premiums, different rules for salaried workers, or exemptions for certain jobs. This calculator uses a simple weekly overtime model because it is easy to understand and useful for estimates. For official payroll, apply the exact rule required by your law, contract, or employer policy.

The overtime threshold and multiplier are editable. You can set the threshold to 40, 48, or any custom value. You can set the multiplier to 1.5, 2, or any custom premium. If you do not want overtime, set the threshold very high or set it equal to total expected hours.

Decimal Hours and Payroll Time

Payroll systems often use decimal hours instead of hours and minutes. This means minutes are converted into a fraction of an hour. Since one hour has 60 minutes, 15 minutes is 0.25 hours, 30 minutes is 0.5 hours, and 45 minutes is 0.75 hours.

TimeDecimal HoursExplanation
15 minutes0.2515 ÷ 60 = 0.25
30 minutes0.5030 ÷ 60 = 0.50
45 minutes0.7545 ÷ 60 = 0.75
7 hours 30 minutes7.507 + 30 ÷ 60 = 7.50
8 hours 15 minutes8.258 + 15 ÷ 60 = 8.25

Decimal time is important for billing and payroll because multiplication by rate becomes straightforward. If a person works 7.5 hours at 25 per hour, gross pay is 7.5 × 25 = 187.50. If time remained as 7 hours 30 minutes, you would first need to convert the 30 minutes before multiplying.

Overnight Shifts

An overnight shift crosses midnight. For example, 22:00 to 06:00 is not negative time; it is 8 hours. The calculator handles this by adding 24 hours when the end time is earlier than the start time. This converts the clock-out time into the next day.

Overnight example
\[06{:}00+24{:}00-22{:}00=8\text{ hours}\]

In the Single Shift tab, you can choose auto overnight detection, same-day only, or force next day. Weekly Timesheet uses auto overnight behavior for any row where both times are entered and the end time is earlier than the start time.

Overnight shifts may have special payroll rules in some workplaces, especially where night differentials, shift premiums, holiday transitions, or daily overtime rules apply. This calculator estimates elapsed paid time, but it does not apply every possible premium rule.

Time Rounding

Some payroll systems round time entries. For example, time might be rounded to the nearest 5 minutes, nearest 6 minutes, nearest 15 minutes, or nearest 30 minutes. The Duration Converter includes rounding options so users can see how rounded time differs from exact time.

Rounding should be used carefully. It may be allowed in some payroll systems under specific rules, but it may be restricted or regulated in others. For personal productivity or project billing, rounding can make reporting simpler. For official payroll, the rounding method should follow law and employer policy.

The calculator rounds total minutes to the nearest selected interval. For example, 7 hours 28 minutes rounded to the nearest 15 minutes becomes 7 hours 30 minutes. 7 hours 22 minutes rounded to the nearest 15 minutes becomes 7 hours 15 minutes.

Work Time Calculation Examples

Example 1: A worker clocks in at 9:00 and clocks out at 17:30 with a 30-minute unpaid break. The shift duration is:

Shift duration example
\[17{:}30-9{:}00=8\text{ hours }30\text{ minutes}\]

After subtracting a 30-minute unpaid break:

Paid time example
\[8{:}30-0{:}30=8{:}00\]

In decimal hours:

Decimal hours example
\[8+\frac{0}{60}=8.00\]

Example 2: A worker completes 45 paid hours in a week at 25 per hour with overtime after 40 hours at 1.5×.

Overtime pay example
\[(40\times25)+(5\times25\times1.5)=1187.50\]

Example 3: Convert 7 hours 45 minutes to decimal hours:

Duration conversion example
\[7+\frac{45}{60}=7.75\text{ hours}\]

Example 4: A night shift starts at 22:00 and ends at 06:00. Since the end time is on the next day, the duration is 8 hours before break deductions.

Common Work Time Calculation Mistakes

The first common mistake is treating time as base-100 instead of base-60. For example, 7 hours 30 minutes is 7.5 hours, not 7.30 hours. Minutes must be divided by 60 before being used in payroll multiplication.

The second mistake is forgetting to subtract unpaid breaks. A person may be present for 8.5 hours but paid for 8 hours if the 30-minute break is unpaid. Gross time and paid time are not always the same.

The third mistake is mishandling overnight shifts. A clock-out time earlier than clock-in time usually means the shift crossed midnight. Without adding 24 hours, the result appears negative or incorrect.

The fourth mistake is assuming overtime rules are identical everywhere. Overtime depends on local law, employment classification, contract terms, and employer policy. Use the calculator for math estimates, then apply the correct official rules for payroll.

Work Time Calculator FAQs

What does a Work Time Calculator do?

It calculates hours worked, break deductions, decimal hours, overtime hours, gross pay, and time differences between clock-in and clock-out.

How do I calculate hours worked?

Subtract clock-in time from clock-out time, then subtract unpaid breaks. If the shift crosses midnight, add 24 hours to the clock-out time before subtracting. Use the time-zone converter to put start and end times in the same zone before comparing them.

How do I convert minutes to decimal hours?

Divide minutes by 60. For example, 30 minutes is 0.5 hours and 45 minutes is 0.75 hours.

How are unpaid breaks calculated?

Unpaid break minutes are subtracted from the total shift duration. Paid breaks are not subtracted from paid time.

How does the calculator estimate overtime?

It compares total paid weekly hours with the overtime threshold. Hours above the threshold are multiplied by the overtime multiplier.

Can it calculate overnight shifts?

Yes. If the clock-out time is earlier than the clock-in time, the calculator can treat it as a next-day shift.

Is this calculator a payroll compliance tool?

No. It provides time and gross-pay estimates. Official payroll should follow applicable labor laws, contracts, and employer policies.

Important Note

This Work Time Calculator is for educational, planning, timesheet, and general gross-pay estimation only. It is not legal, payroll, HR, accounting, tax, or employment advice. Labor rules, overtime laws, break requirements, rounding rules, pay premiums, and employee classifications vary by jurisdiction and employer.

Advertisement

Following a shift through midnight

A shift begins at 21:40 and ends at 04:10 the following morning. There are two hours and twenty minutes before midnight and four hours and ten minutes afterward. The elapsed time is six hours and thirty minutes. Subtract an unpaid break of twenty minutes to get six hours and ten minutes of paid time.

Converting Metric Units of Measure

Imagine you order a textbook online and the shipping detail indicates the weight of the book is 1 kg. By attaching the letter “k” to the base unit of gram (g), the unit used to express the measure is 103or 1,000 times greater than a gram. One kilogram is equivalent to 1,000 grams.
The tip of a highlighter measures approximately 1 cm. The letter “c” attached to the base unit of meter (m) means the unit used to express the measure is 10−2or1100 of a meter. One meter is equivalent to 100 centimeters.
A conversion factor is used to convert from smaller metric units to bigger metric units and vice versa. It is a number that when used with multiplication or division converts from one metric unit to another, both having the same base unit. In the metric system, these conversion factors are directly related to the powers of 10. The most common used conversion factors are shown in diagram.
Three illustrations show conversion factors for metric units.
Common Metric Conversion Factors for (a) Meters, (b) Liters, and (c) Grams

Converting Metric Distances Using Multiplication

The firehouse is 13.45 km from the library. How many meters is it from the firehouse to the library?
Solution
When converting from a larger unit to a smaller unit, use multiplication. The conversion factor from kilometer to the base unit of meters is 1,000.
13.45×1,000=13,450
So, the firehouse is 13,450 meters away from the firehouse.

Converting Metric Capacity Using Division

How many liters is 3,565 milliliters?
Solution
When converting from a smaller unit to a larger unit, use division. The conversion factor from milliliter to the base unit of liters is 1,000.
3,565÷1,000=3.565
So, 3,565 milliliters is 3.565 liters.

Converting Metric Units of Mass to Solve Problems

Caroline and Aiyana are working on a chemistry experiment together and must perform calculations using measurements taken during the experiment. Due to miscommunication, Caroline took measurements in centigrams and Aiyana used milligrams. Convert Caroline’s measurement of 125 centigrams to milligrams.
Solution
When converting from a larger unit to a smaller unit, use multiplication. The conversion factor from centigrams to the milligrams is 10.
125×10=1,250
So, the 125 centigrams are 1,250 milligrams.

Converting Metric Units of Volume to Solve Problems

A bottle contains 500 mL of juice. If the juice is packaged in 24-bottle cases, how many liters of juice does the case contain?
Solution
Step 1: Multiply the amount of juice in each bottle by the number of bottles.
500⁢mL×24=12,000⁢mL
Step 2: Divide by 1,000 to convert from milliliters to liters.
12,000mL1,000=12L
So, there are 12 liters of juice in each case.

Converting Grams to Solve Problems

The nutrition label on a jar of spaghetti sauce indicates that one serving contains 410 mg of sodium. You have poured two servings over your favorite pasta before recalling your doctor’s advice about keeping your sodium consumption below 1 g per meal. Have you followed your doctor’s recommendation?
Solution
Step 1: Multiply the number of servings by the amount of sodium in each serving.
410⁢mg×2=820⁢mg
Step 2: Divide by 1,000 to convert from milligrams to grams.
820⁢mg1,000=0.82⁢g
You have followed doctor’s recommendation because 0.82 g is less than 1 gram.

Comparing Different Units

A student carefully measured 0.52 cg of copper for a science experiment, but their lab partner said they need 6 mg of copper total. How many more centigrams of copper does the student need to add?
Solution
Step 1: Convert these two measurements into a common unit. Since the question asks for the number of centigrams, convert 6 mg to centigrams, which is 0.6 cg.
Step 2: Find the difference by subtracting 0.6−0.52 which is 0.08 cg. This means the student must add another 0.08 cg of copper.

Using and Applying Proportional Relationships to Solve Problems

Using proportions to solve problems is a very useful method. It is usually used when you know three parts of the proportion, and one part is unknown. Proportions are often solved by setting up like ratios. If ab and cd are two ratios such that ab=cd, then the fractions are said to be proportional. Also, two fractions ab and cd are proportional (ab=cd) if and only if a×d=b×c.

Solving a Proportion Involving Two Currencies

You are going to take a trip to France. You have $520 U.S. dollars that you wish to convert to Euros. You know that 1 U.S. dollar is worth 0.82 Euros. How much money in Euros can you get in exchange for $520?
Solution
Step 1: Set up the two ratios into a proportion; let x be the variable that represents the unknown. Notice that U.S. dollar amounts are in both numerators and Euro amounts are in both denominators.
10.82=520x
Step 2: Cross multiply, since the ratios ab and cd are proportional, then a×d=b×c.
520(0.82)=1(x) 426.4=x
You should receive 426.4 Euros (426.4€).

Solving a Proportion Involving Weights on Different Planets

A person who weighs 170 pounds on Earth would weigh 64 pounds on Mars. How much would a typical racehorse (1,000 pounds) weigh on Mars? Round your answer to the nearest tenth.
Solution
Step 1: Set up the two ratios into a proportion. Notice the Earth weights are both in the numerator and the Mars weights are both in the denominator.
17064=1,000x
Step 2: Cross multiply, and then divide to solve.
170x=1,000(64) 170x=64,000 170x170=64,000170 x=376.5
So the 1,000-pound horse would weigh about 376.5 pounds on Mars.

Solving a Proportion Involving Baking

A cookie recipe needs 214 cups of flour to make 60 cookies. Jackie is baking cookies for a large fundraiser; she is told she needs to bake 1,020 cookies! How many cups of flour will she need?
Solution
Step 1: Set up the two ratios into a proportion. Notice that the cups of flour are both in the numerator and the amounts of cookies are both in the denominator. To make the calculations more efficient, the cups of flour (214) is converted to a decimal number (2.25).
2.2560=x1020
Step 2: Cross multiply, and then simplify to solve.
2.25(1,020)=60x2,295=60x 38.25=x
Jackie will need 38.25, or 3814, cups of flour to bake 1,020 cookies.