Bookmarks    
nPr and nCr    
Random Number    
SD Calculator    
Sample Size    
Percent Error    
Density    
Molarity    
Molar Mass    
Ohm's Law    
Watts to Amps    
Voltage Drop    
Long Division    
Mixed Numbers    
Rounding    
Nth Root    
Exponents    
Half-Life    
Polar Form    
De Moivre    
3D Distance    
Point to Line    
Cross Product    
Determinant    
Sin Cos Tan    
Triangle Area    
Scale Factor    
Sector Area    
Ellipse Area    
Cube Volume    
Box Volume    
Sphere Volume    
Cone Volume    
Pipe Volume    
Time Duration    
Time Card    
Present Value    
Future Value    
Churn Rate    
A/B Test Calc    
SEO Traffic    
Ideal Weight    
Fat Intake    
Child Height    
Golf Handicap    
Heat Index    
Wind Chill    
Dew Point    
Download Time    
kWh to Cost    
AC Size (BTU)    
Heating Costs    
LED Savings    
Trip Gas Cost    
Tire Size    
Solar Output    
Solar Payback    
Battery Size    
Wall Area    
Gravel Needed    
Mortar Mix    
Slope Grade    
Curtain Size    
Soil Needed    
Sod Needed    
Ramp Length    
Blind Size    
Drain Slope    
Board Feet    
Heat Loss    
Furniture Fit    
Moving Boxes    
Plywood Cuts    
Shelf Sag    
   Add
Probability and random number calculators
Independent Events
Independent Events
Two Events Solver
Two Events Solver
Repeated Trials
Repeated Trials
Bayes' Theorem
Bayes' Theorem
Expected Value
Expected Value
Binomial Distribution
Binomial Distribution
nPr and nCr
nPr and nCr
Circular Permutation
Circular Permutation
With Repetition
With Repetition
Random Number
Random Number
Averages and statistics calculators
Average Calculator
Average Calculator
Mean Median Mode
Mean Median Mode
SD Calculator
SD Calculator
Quartiles & IQR
Quartiles & IQR
Frequency Table
Frequency Table
Correlation (r)
Correlation (r)
Normal Probability
Normal Probability
Z-Score Calculator
Z-Score Calculator
Confidence Interval
Confidence Interval
Sample Size
Sample Size
Mark & Recapture
Mark & Recapture
P-Value Calculator
P-Value Calculator
Percentage and ratio calculators
Percentage Calc
Percentage Calc
Percent Change
Percent Change
Percent Difference
Percent Difference
Percent Error
Percent Error
Ratio Calculator
Ratio Calculator
Discount Calculator
Discount Calculator
Sales Tax Calculator
Sales Tax Calculator
Margin Calculator
Margin Calculator
Speed calculators
Speed Calculator
Speed Calculator
Density and concentration calculators
Density
Density
Molarity
Molarity
Molar Mass
Molar Mass
Physics and electricity calculators
Ohm's Law
Ohm's Law
Watts to Amps
Watts to Amps
Resistor Colors
Resistor Colors
Voltage Drop
Voltage Drop
Unit conversion calculators
Weight Converter
Weight Converter
Shoe Size Converter
Shoe Size Converter
Integer and signed number calculators
Long Division
Long Division
LCM Calculator
LCM Calculator
GCF Calculator
GCF Calculator
Integer Calculator
Integer Calculator
Prime Factorization
Prime Factorization
Diophantine Solver
Diophantine Solver
Modulo Calculator
Modulo Calculator
Factor Calculator
Factor Calculator
Roman Numerals
Roman Numerals
Fraction, decimal and rounding calculators
Fraction Calculator
Fraction Calculator
Mixed Numbers
Mixed Numbers
Simplify Fractions
Simplify Fractions
Fraction to Decimal
Fraction to Decimal
Decimal to Fraction
Decimal to Fraction
Rounding
Rounding
Equation and inequality calculators
Linear Equation
Linear Equation
Linear Systems
Linear Systems
Quadratic Formula
Quadratic Formula
Absolute Value
Absolute Value
Quadratic Inequality
Quadratic Inequality
Polynomial calculators
Binomial Theorem
Binomial Theorem
Square root and nth root calculators
Simplify Radicals
Simplify Radicals
Nth Root
Nth Root
Exponent and logarithm calculators
Exponents
Exponents
Log Calculator
Log Calculator
Number of Digits
Number of Digits
Scientific Notation
Scientific Notation
Sci. Notation Math
Sci. Notation Math
Half-Life
Half-Life
Complex number calculators
Complex Numbers
Complex Numbers
Polar Form
Polar Form
De Moivre
De Moivre
Function and graph calculators
Slope Calculator
Slope Calculator
Linear Function
Linear Function
Direct & Inverse Variation
Direct & Inverse Variation
y = ax² Calculator
y = ax² Calculator
Distance Formula
Distance Formula
3D Distance
3D Distance
Section Formula
Section Formula
Point to Line
Point to Line
Lat/Long Distance
Lat/Long Distance
Complete the Square
Complete the Square
Circle Equation
Circle Equation
Conic Sections
Conic Sections
Polar Coordinates
Polar Coordinates
Sequence calculators
Arithmetic Sequence
Arithmetic Sequence
Geometric Sequence
Geometric Sequence
Fibonacci Sequence
Fibonacci Sequence
Recurrence Relation
Recurrence Relation
Vector calculators
Vector Calculator
Vector Calculator
Cross Product
Cross Product
Matrix calculators
Matrix Calculator
Matrix Calculator
Determinant
Determinant
Inverse Matrix
Inverse Matrix
Plane geometry calculators
Sin Cos Tan
Sin Cos Tan
Degrees ⇔ Radians
Degrees ⇔ Radians
a sin θ + b cos θ
a sin θ + b cos θ
Triangle Solver
Triangle Solver
Triangle Area
Triangle Area
Right Triangle
Right Triangle
Pythagorean Theorem
Pythagorean Theorem
Polygon Angles
Polygon Angles
Scale Factor
Scale Factor
Parallel Lines
Parallel Lines
Rectangle Area
Rectangle Area
Parallelogram Area
Parallelogram Area
Trapezoid Area
Trapezoid Area
Circle Calculator
Circle Calculator
Sector Area
Sector Area
Inscribed Angle
Inscribed Angle
Ellipse Area
Ellipse Area
Solid geometry calculators
Cube Volume
Cube Volume
Cube Surface Area
Cube Surface Area
Box Volume
Box Volume
Box Surface Area
Box Surface Area
Cylinder Volume
Cylinder Volume
Cylinder Surface
Cylinder Surface
Sphere Volume
Sphere Volume
Sphere Surface
Sphere Surface
Spherical Cap Volume
Spherical Cap Volume
Cap Surface Area
Cap Surface Area
Ellipsoid Volume
Ellipsoid Volume
Ellipsoid Surface
Ellipsoid Surface
Pyramid Volume
Pyramid Volume
Pyramid Surface
Pyramid Surface
Cone Volume
Cone Volume
Cone Surface Area
Cone Surface Area
Frustum Volume
Frustum Volume
Frustum Surface Area
Frustum Surface Area
Pipe Volume
Pipe Volume
Capsule Volume
Capsule Volume
Capsule Surface Area
Capsule Surface Area
Date and time calculators
Age Calculator
Age Calculator
Days Between Dates
Days Between Dates
Date Calculator
Date Calculator
Hours From Now
Hours From Now
Day of the Week
Day of the Week
Time Calculator
Time Calculator
Time Zone Converter
Time Zone Converter
Hours Calculator
Hours Calculator
Time Duration
Time Duration
Time Card
Time Card
Finance and economics calculators
Compound Interest
Compound Interest
Simple Interest
Simple Interest
Interest Calculator
Interest Calculator
TVM Calculator
TVM Calculator
Present Value
Present Value
Future Value
Future Value
ROI Calculator
ROI Calculator
IRR Calculator
IRR Calculator
Payback Period
Payback Period
Average Return
Average Return
GDP Calculator
GDP Calculator
Web marketing and ad metric calculators
CTR Calculator
CTR Calculator
Conversion Rate
Conversion Rate
CPC, CPM & CPA
CPC, CPM & CPA
ROAS Calculator
ROAS Calculator
Break-Even CPA
Break-Even CPA
LTV Calculator
LTV Calculator
CAC Calculator
CAC Calculator
Churn Rate
Churn Rate
A/B Test Calc
A/B Test Calc
A/B Sample Size
A/B Sample Size
SEO Traffic
SEO Traffic
Break-Even Point
Break-Even Point
Markup vs. Margin
Markup vs. Margin
CAGR Calculator
CAGR Calculator
Health and fitness calculators
BMI Calculator
BMI Calculator
Sleep Calculator
Sleep Calculator
Calorie Calculator
Calorie Calculator
BMR Calculator
BMR Calculator
TDEE Calculator
TDEE Calculator
Ideal Weight
Ideal Weight
Body Fat Calculator
Body Fat Calculator
Lean Body Mass
Lean Body Mass
Calories Burned
Calories Burned
Protein Intake
Protein Intake
Macro Calculator
Macro Calculator
Carb Calculator
Carb Calculator
Fat Intake
Fat Intake
Child Height
Child Height
Sports calculators
Golf Handicap
Golf Handicap
Pace Calculator
Pace Calculator
1RM Calculator
1RM Calculator
Target Heart Rate
Target Heart Rate
Weather calculators
Heat Index
Heat Index
Wind Chill
Wind Chill
Dew Point
Dew Point
Computer calculators
Base Converter
Base Converter
Subnet Calculator
Subnet Calculator
Download Time
Download Time
Household energy and budget calculators
Electricity Cost
Electricity Cost
kWh to Cost
kWh to Cost
Yearly kWh to Cost
Yearly kWh to Cost
AC Size (BTU)
AC Size (BTU)
AC Running Cost
AC Running Cost
Heating Costs
Heating Costs
Gas vs Electric
Gas vs Electric
LED Savings
LED Savings
Salary Calculator
Salary Calculator
Budget Calculator
Budget Calculator
Car calculators
Trip Gas Cost
Trip Gas Cost
EV Charging Cost
EV Charging Cost
EV vs Gas Cost
EV vs Gas Cost
MPG Calculator
MPG Calculator
Tire Size
Tire Size
Solar power and battery calculators
Solar Output
Solar Output
Solar Panel Count
Solar Panel Count
Solar Payback
Solar Payback
Battery Size
Battery Size
Home and DIY calculators
Tile Calculator
Tile Calculator
Stair Calculator
Stair Calculator
Concrete Volume
Concrete Volume
Wall Area
Wall Area
Wallpaper Rolls
Wallpaper Rolls
Paint Calculator
Paint Calculator
Flooring Needed
Flooring Needed
Exterior Walls
Exterior Walls
Gravel Needed
Gravel Needed
Mortar Mix
Mortar Mix
Slope Grade
Slope Grade
Lumber Cut List
Lumber Cut List
Lot Coverage/FAR
Lot Coverage/FAR
Sheet Vinyl Roll
Sheet Vinyl Roll
Insulation Needed
Insulation Needed
Curtain Size
Curtain Size
TV Size & Distance
TV Size & Distance
Soil Needed
Soil Needed
Sod Needed
Sod Needed
Block Calculator
Block Calculator
Brick Calculator
Brick Calculator
Deck Materials
Deck Materials
Ramp Length
Ramp Length
Pilot Hole Size
Pilot Hole Size
Room Ventilation
Room Ventilation
Paint Thinning
Paint Thinning
Baseboard & Trim
Baseboard & Trim
Blind Size
Blind Size
Picture Hanging
Picture Hanging
Drain Slope
Drain Slope
Screw Calculator
Screw Calculator
Board Feet
Board Feet
Fence Calculator
Fence Calculator
Wood Shrinkage
Wood Shrinkage
Caulk Calculator
Caulk Calculator
Heat Loss
Heat Loss
Furniture Fit
Furniture Fit
Moving Boxes
Moving Boxes
Storage Capacity
Storage Capacity
Plywood Cuts
Plywood Cuts
Shelf Sag
Shelf Sag

Time Card Calculator (Weekly Hours Worked and Estimated Pay)

For each day from Monday to Sunday, enter the clock-in and clock-out times and the break in minutes. Leave days you did not work blank. Enter an hourly wage in dollars to get the estimated pay too.

Enter times such as "9:00 AM" or "5:30 PM" ("9 AM" is fine too). The 24-hour clock, such as "17:30", also works. Days with both times blank are not counted. A blank break counts as 0 minutes. If the clock-out time is earlier than the clock-in time, the day is treated as an overnight shift that ended the next day.
Result
Enter the clock-in and clock-out times for each day (plus breaks and your hourly wage) in the fields on the left and press "Calculate". The result will appear here.

What you can do on this page

  • Enter the clock-in and clock-out times and the break (in minutes) for each day from Monday to Sunday, and you get the hours worked each day and the total for the week right away
  • The weekly total is shown both as "37 h 30 min" and as decimal hours, "37.5 h", which you can multiply by an hourly wage as is
  • Enter your hourly wage in dollars, and the estimated pay (total hours in decimal hours × hourly wage) is calculated too
  • Overnight shifts, such as clocking in at 10:00 PM and out at 6:00 AM the next morning, are handled too
  • A plain-language explanation of the formulas and copy-and-paste formulas for Excel, Google Sheets and Python are all on this page
To calculate a single shift, the related page "Work Hours Calculator" is more convenient (this page is the weekly version and adds up a whole week). The estimated pay is a simple multiplication, total hours (decimal hours) × hourly wage. Overtime pay (in the US, usually 1.5 times the regular rate for hours over 40 in a workweek), shift differentials and deductions such as taxes depend on the law where you work and on your employer, so this calculator does not include them.

What is this calculation used for?

Estimating your weekly pay from an hourly wage

If you work 9:00 AM to 5:30 PM on 5 weekdays with a 1-hour unpaid lunch break each day, you work 7 hours 30 minutes × 5 days = 37 hours 30 minutes a week. Multiply 37.5 decimal hours by an hourly wage of $18, and that week's pay comes to about \(37.5 \times 18 = 675\) dollars.
When you can work out "how much did I earn this week?" yourself, you can plan your shifts and income with numbers instead of guesses. (Your actual paycheck changes with overtime, taxes and other deductions, so check the exact amount on your pay stub.)

Checking your schedule and pay stub (knowing your own hours)

If you can add up your weekly hours yourself from your time card or time-tracking app, you can check how your actual hours compare with your schedule, and whether the hours on your pay stub match your own records.
An employer's timekeeping system does the same thing inside: for each day it finds clock-out − clock-in − break and adds the days up. Knowing how it works is the first step to making sure you are paid for all the time you worked.

Keeping an eye on weekly hour limits (overtime and part-time)

Several common rules in the US look at hours per week. Under the federal Fair Labor Standards Act (FLSA), hourly (non-exempt) workers are generally paid 1.5 times their regular rate for hours over 40 in a workweek. For example, working 8:00 AM to 5:30 PM with a 30-minute break is 9 hours a day, or 45 hours over 5 days, which is 5 hours of overtime. At $20 an hour, those 5 hours pay \(20 \times 1.5 \times 5 = 150\) dollars.
Other limits also count weekly hours: large employers generally treat 30 or more hours a week as full-time for health coverage under the Affordable Care Act, and international students on an F-1 visa are generally limited to 20 hours a week of on-campus work while school is in session. The exact rules can differ and can change, so check the current rules with your employer or school. Either way, this weekly total tells you exactly how many hours you worked.

Adding up a week that includes night shifts (nursing, care work, factories, 24-hour stores)

For a night shift from 22:00 (10:00 PM) to 6:00 the next morning, the numbers alone give "6 − 22", which is negative. Add one day, 1440 minutes, and you see it is an 8-hour shift.
Even in a week that mixes night shifts and day shifts, you just find each day's hours with the same rule and add them up, so the total does not get mixed up. You can check for yourself whether the weekly total on your schedule is right.

Logging weekly hours for study or a side job

If you write down "from when to when", you can use the same calculation to add up how many hours a week you spent on something other than your main job, such as studying for an exam or a side gig from home.
Seeing the weekly total lets you look back with numbers, for example "Did I make up on the weekend for the study time I skipped on weekdays?"

Formula

Hours worked in one day (from clock-in, clock-out and break)
Standard notation (the usual math form)
\(W\) \(=\) \(T_2\) \(-\) \(T_1\) \(-\) \(B\)
\(W\) \(=\) \(T_2\) \(-\) \(T_1\) \(+\) \(1440\) \(-\) \(B\)
In words (symbols replaced with words)
④ \(W\): hours worked in the day \(=\) ① \(T_2\): clock-out time in minutes \(-\) ② \(T_1\): clock-in time in minutes \(-\) ③ \(B\): break
\(W\): hours worked in the day \(=\) \(T_2\): clock-out time in minutes \(-\) \(T_1\): clock-in time in minutes \(+\) ⑤ \(1440\): minutes in 1 day \(-\) \(B\): break
The formula in words
① Take the \(T_2\): clock-out time in minutes
② subtract the \(T_1\): clock-in time in minutes
③ then subtract the \(B\): break
④ and you get the \(W\): hours worked in the day
⑤ If the clock-out time is earlier than the clock-in time (an overnight shift), the clock-out was on the next day, so add the \(1440\): minutes in 1 day before subtracting the break (the second formula)
Quick example
For a day with clock-in at 9:00, clock-out at 17:30 and a 60-minute break, the hours worked are
hours worked (450 min = 7 h 30 min) \(=\) clock-out (1050 min) \(-\) clock-in (540 min) \(-\) break (60 min)
\(W = 1050 - 540 - 60 = 450\)
\(450 = 60 \times 7 + 30\)
Key idea
First, each time is turned into minutes after midnight with "60 × hour + minute" (9:00 → 540 minutes, 17:30 → 1050 minutes). Once the times are in minutes, the rest is a plain subtraction. To learn this step in detail for a single shift, see the related page "Work Hours Calculator". For a night shift, such as clocking in at 22:00 and out at 6:00 the next morning, the subtraction gives a negative number, so add one day, \(1440\) minutes (\(= 24 \times 60\)), before subtracting the break (example: \(360 - 1320 = -960\), and \(-960 + 1440 = 480\) minutes = 8 hours). If the clock-in and clock-out times are the same, this page treats the day as "0 h" (not as a 24-hour shift).
Weekly total and decimal hours
Standard notation (the usual math form)
\(S\) \(=\) \(W_1\) \(+\) \(W_2\) \(+ \cdots +\) \(W_7\)
\(H\) \(=\) \(S\) \(\div\) \(60\)
In words (symbols replaced with words)
② \(S\): total hours worked in the week \(=\) ① \(W_1\): Monday \(+\) \(W_2\): Tuesday \(+ \cdots +\) \(W_7\): Sunday
④ \(H\): decimal hours \(=\) \(S\): total hours worked in the week \(\div\) ③ \(60\): minutes in 1 hour
The formula in words
① Add up the \(W_1, W_2, \ldots, W_7\): hours worked each day for all the days you worked
② and you get the \(S\): total hours worked in the week
③ Then divide the weekly total \(S\) by \(60\): minutes in 1 hour
④ and you get the \(H\): decimal hours (hours as a decimal, ready to multiply by an hourly wage)
Quick example
With 7 h 30 min (450 minutes) worked on each of 5 weekdays (no work on the weekend), the weekly total and decimal hours are
weekly total (2250 min = 37 h 30 min) \(=\) Monday (450 min) \(+ \cdots +\) Friday (450 min)
\(S = 450 \times 5 = 2250\)
\(H = 2250 \div 60 = 37.5\)
Key idea
Add only the days you worked (a day off counts as 0 minutes). When you use "37 hours 30 minutes" to calculate pay, the most common mistake is to write it as "37.3 hours". Thirty minutes is half an hour, \(0.5\) hours, so 37 hours 30 minutes is \(37.5\) hours. "Divide the minutes by 60 to get a decimal" is the whole idea of decimal hours. If the minutes do not divide evenly by 60, the decimal goes on forever, so this calculator shows the value rounded to 2 decimal places.
Estimated pay (decimal hours × hourly wage)
Standard notation (the usual math form)
In words (symbols replaced with words)
\(P\) \(=\) \(H\) \(\times\) \(R\)
③ \(P\): estimated pay \(=\) ① \(H\): decimal hours \(\times\) ② \(R\): hourly wage
The formula in words
① Take the \(H\): weekly total in decimal hours
② multiply it by the \(R\): hourly wage
③ and you get the \(P\): estimated pay
Quick example
With a weekly total of 37.5 hours and an hourly wage of $18, the estimated pay is
estimated pay ($675) \(=\) decimal hours (37.5 h) \(\times\) hourly wage ($18)
\(P = 37.5 \times 18 = 675\)
Key idea
The pay on this page is an estimate from one simple multiplication: total hours (decimal hours) × hourly wage. When the numbers do not come out even (when the decimal hours shown are rounded, or when the pay has a fraction of a cent), the pay is rounded to the nearest cent and shown with "≈" instead of "=". Overtime is not included. In the US, hourly workers generally earn 1.5 times their regular rate for hours over 40 in a workweek under the federal Fair Labor Standards Act (FLSA), and some states add their own rules. Shift differentials and deductions such as taxes are not included either. Check your actual pay on your pay stub.
The basic method for a time card is: for each day, find the hours worked as clock-out − clock-in − break, then add up all the days you worked. Divide the weekly total in minutes by 60 to get decimal hours (such as 37.5 hours), and multiply by your hourly wage to estimate your pay.

Symbols and terms

Symbols

\(T_1\), \(T_2\) T sub 1, T sub 2 The clock-in time in minutes (\(T_1\)) and the clock-out time in minutes (\(T_2\)). A time is turned into minutes after midnight with "60 × hour + minute". (Example - 9:00 → \(T_1 = 540\), 17:30 → \(T_2 = 1050\))
\(B\) B The break in minutes. B stands for "break".
\(W\) W The hours worked in one day (the time from clock-in to clock-out minus the break, the time you actually worked) in minutes. W stands for "work".
\(W_1, W_2, \ldots, W_7\) W sub 1, W sub 2, …, W sub 7 The hours worked on each day from Monday to Sunday, in minutes. The small number at the lower right (the subscript) shows which day of the week it is.
\(S\) S The total hours worked in the week (all the days added up) in minutes. S stands for "sum".
\(H\) H The weekly total as a decimal number of hours (decimal hours), found with \(H = S \div 60\). (Example - 2250 minutes → 37.5 hours)
\(R\) R The hourly wage (in dollars). R stands for "rate".
\(P\) P The estimated pay (in dollars), found with \(P = H \times R\). P stands for "pay".
\(1440\) one thousand four hundred forty The number of minutes in 1 day: \(24 \times 60 = 1440\). It is added for an overnight shift (one where you clock out the next day).

Terms

time card A card or system that records the clock-in and clock-out times for each day. The recorded times are added up into hours worked, which are the basis for payroll. This page adds up one week of a time card at once.
timesheet A record of when you worked - clock-in, clock-out, breaks and days off - for a pay period. Adding up a timesheet means turning the recorded times into total hours worked.
hours worked The time from clock-in to clock-out minus the break, the time you actually worked. For hourly workers, pay is normally based on these hours. (Unpaid meal breaks are taken out; short rest breaks are usually counted as paid time.)
decimal hours Time written as a decimal, such as 37 hours 30 minutes = 37.5 hours. The minutes are divided by 60, so the value can be multiplied by an hourly wage as is. Note that 37 hours 30 minutes is not 37.3 hours.
overnight shift A shift during which the date changes, such as a night shift. The clock-out time is a smaller number than the clock-in time, so one day, 1440 minutes, is added in the calculation.
overtime pay Pay at a higher rate than the regular hourly wage. In the US, the federal Fair Labor Standards Act (FLSA) generally requires 1.5 times the regular rate for hours over 40 in a workweek for non-exempt workers, and some states also count daily overtime. Extra pay for night shifts (a shift differential) is usually set by the employer. The conditions and rates depend on the law and your employer, so this calculator leaves them out and only calculates total hours × hourly wage.

Good to know before you start

Here is what helps you use the calculation on this page with real understanding, not just by pressing the button.
If you get stuck, going back over these topics is the fastest way forward.

Time of day and elapsed time (Grades 2–3)
  • Knowing the difference between a time of day (a point in time, such as 9:00) and a length of time (such as 7 hours 30 minutes)
  • Knowing that 1 hour = 60 minutes and 1 day = 24 hours
AM, PM and the 24-hour clock (Grades 2–3)
  • Knowing that adding 12 to a PM hour gives the 24-hour clock (5:30 PM → 17:30)
  • Knowing that midnight is the start of the day and is written 0:00 on the 24-hour clock
Subtraction with regrouping and division with remainders (Grades 3–4)
  • Being able to do a written subtraction such as 1050 − 540
  • Being able to find a quotient and remainder, such as 2250 ÷ 60 = 37 R 30, to turn minutes back into hours and minutes
Decimals and multiplication (Grades 4–5)
  • Knowing that 0.5 means one half, and being able to do a division such as 2250 ÷ 60 = 37.5
  • Telling apart minutes (base 60) and decimals (base 10), as in 30 minutes = 0.5 hours
  • Being able to multiply a decimal by a whole number, such as \(37.5 \times 18\)

How to calculate it in Excel

Copy the whole table below and paste it into cell A1 in Excel. It works as is.
Weekly time card (hours worked by day and weekly total)
Day Clock in Clock out Break (min) Worked (min)
Mon 9:00 17:30 60 =IF(OR(B2="",C2=""),"",ROUND(MOD(IFERROR(TIMEVALUE(C2),C2)-IFERROR(TIMEVALUE(B2),B2),1)*1440,0)-D2)
Tue 9:00 17:30 60 =IF(OR(B3="",C3=""),"",ROUND(MOD(IFERROR(TIMEVALUE(C3),C3)-IFERROR(TIMEVALUE(B3),B3),1)*1440,0)-D3)
Wed 9:00 17:30 60 =IF(OR(B4="",C4=""),"",ROUND(MOD(IFERROR(TIMEVALUE(C4),C4)-IFERROR(TIMEVALUE(B4),B4),1)*1440,0)-D4)
Thu 9:00 17:30 60 =IF(OR(B5="",C5=""),"",ROUND(MOD(IFERROR(TIMEVALUE(C5),C5)-IFERROR(TIMEVALUE(B5),B5),1)*1440,0)-D5)
Fri 9:00 17:30 60 =IF(OR(B6="",C6=""),"",ROUND(MOD(IFERROR(TIMEVALUE(C6),C6)-IFERROR(TIMEVALUE(B6),B6),1)*1440,0)-D6)
Sat 0 =IF(OR(B7="",C7=""),"",ROUND(MOD(IFERROR(TIMEVALUE(C7),C7)-IFERROR(TIMEVALUE(B7),B7),1)*1440,0)-D7)
Sun 0 =IF(OR(B8="",C8=""),"",ROUND(MOD(IFERROR(TIMEVALUE(C8),C8)-IFERROR(TIMEVALUE(B8),B8),1)*1440,0)-D8)
Weekly total (min) =SUM(E2:E8)
Table for decimal hours and estimated pay from the weekly total
Weekly total worked (min) 2250
Weekly total: hours =QUOTIENT(B1,60)
Weekly total: minutes =MOD(B1,60)
Decimal hours =ROUND(B1/60,2)
Hourly wage ($) 18
Estimated pay ($) =ROUND(B1/60*B5,2)
In the first table, enter each day's clock-in and clock-out times (such as "9:00") and break in minutes in columns B to D, and column E shows the minutes worked that day. IFERROR(TIMEVALUE(cell),cell) turns a time into a number (where 1 day = 1). It works both when the cell holds text such as "9:00" and when Excel already treats the cell as a time. MOD(clock-out − clock-in, 1) handles overnight shifts: when the subtraction is negative (clocking out the next day), it adds one day. The difference is multiplied by 1440 to get minutes, and then the break is subtracted. Rows with blank clock-in or clock-out stay blank and are not counted. In this example, Monday to Friday are 450 minutes each, and the weekly total in E9 is 2250 minutes.
In the second table, enter the weekly total in minutes in B1. B2 and B3 split it into 37 hours 30 minutes with QUOTIENT (the whole-number part of a division) and MOD (the remainder), and B4 shows the decimal hours (37.5; ROUND rounds to 2 decimal places when the division does not come out even). Enter your hourly wage in B5, and B6 shows the estimated pay ($675.00 in this example, rounded to the cent). Just replace the values in column B with your own.

How to calculate it in Google Sheets

Copy the whole table below and paste it into cell A1 in Google Sheets. It works as is.
Weekly time card (hours worked by day and weekly total)
Day Clock in Clock out Break (min) Worked (min)
Mon 9:00 17:30 60 =IF(OR(B2="",C2=""),"",ROUND(MOD(IFERROR(TIMEVALUE(C2),C2)-IFERROR(TIMEVALUE(B2),B2),1)*1440,0)-D2)
Tue 9:00 17:30 60 =IF(OR(B3="",C3=""),"",ROUND(MOD(IFERROR(TIMEVALUE(C3),C3)-IFERROR(TIMEVALUE(B3),B3),1)*1440,0)-D3)
Wed 9:00 17:30 60 =IF(OR(B4="",C4=""),"",ROUND(MOD(IFERROR(TIMEVALUE(C4),C4)-IFERROR(TIMEVALUE(B4),B4),1)*1440,0)-D4)
Thu 9:00 17:30 60 =IF(OR(B5="",C5=""),"",ROUND(MOD(IFERROR(TIMEVALUE(C5),C5)-IFERROR(TIMEVALUE(B5),B5),1)*1440,0)-D5)
Fri 9:00 17:30 60 =IF(OR(B6="",C6=""),"",ROUND(MOD(IFERROR(TIMEVALUE(C6),C6)-IFERROR(TIMEVALUE(B6),B6),1)*1440,0)-D6)
Sat 0 =IF(OR(B7="",C7=""),"",ROUND(MOD(IFERROR(TIMEVALUE(C7),C7)-IFERROR(TIMEVALUE(B7),B7),1)*1440,0)-D7)
Sun 0 =IF(OR(B8="",C8=""),"",ROUND(MOD(IFERROR(TIMEVALUE(C8),C8)-IFERROR(TIMEVALUE(B8),B8),1)*1440,0)-D8)
Weekly total (min) =SUM(E2:E8)
Table for decimal hours and estimated pay from the weekly total
Weekly total worked (min) 2250
Weekly total: hours =QUOTIENT(B1,60)
Weekly total: minutes =MOD(B1,60)
Decimal hours =ROUND(B1/60,2)
Hourly wage ($) 18
Estimated pay ($) =ROUND(B1/60*B5,2)
TIMEVALUE (turns time text into a number), IFERROR (returns another value if there is an error), IF (a condition), QUOTIENT (the whole-number part of a division), MOD (the remainder) and ROUND (rounding) are written the same way in Google Sheets as in Excel. Google Sheets turns a pasted "9:00" into a time automatically, but thanks to the IFERROR fallback the formula works either way. Copy the whole table, paste it into cell A1, and replace columns B to D with your own times. The answers are the same as in Excel.

How to calculate it in Python

# Weekly time card (list only the days you worked, as (day, clock in, clock out, break in minutes))
week = [
    ("Monday", "9:00", "17:30", 60),
    ("Tuesday", "9:00", "17:30", 60),
    ("Wednesday", "9:00", "17:30", 60),
    ("Thursday", "9:00", "17:30", 60),
    ("Friday", "9:00", "17:30", 60),
]
hourly_wage = 18  # hourly wage (dollars). Set to None to skip the pay calculation

def to_minutes(time_text):
    # turn "9:00" or "17:30" (or just the hour, "9") into minutes after midnight
    parts = time_text.split(":")
    hour = int(parts[0])
    minute = int(parts[1]) if len(parts) > 1 else 0
    return hour * 60 + minute

def format_minutes(total_minutes):
    # turn minutes into the form "8 h 30 min" ("0 h" for 0 minutes)
    hours, minutes = divmod(total_minutes, 60)
    if hours == 0 and minutes == 0:
        return "0 h"
    if hours == 0:
        return f"{minutes} min"
    if minutes == 0:
        return f"{hours} h"
    return f"{hours} h {minutes} min"

total_work = 0
for day_name, clock_in, clock_out, rest_minutes in week:
    elapsed = to_minutes(clock_out) - to_minutes(clock_in)
    if elapsed < 0:
        # clock-out is earlier than clock-in -> clocked out the next day (overnight shift), so add one day
        elapsed += 1440
    work = elapsed - rest_minutes
    total_work += work
    print(f"{day_name}: {format_minutes(work)}")

decimal_hours = round(total_work / 60, 2)  # decimal hours (for hourly pay)
print(f"Weekly total: {format_minutes(total_work)} ({decimal_hours} h, {len(week)} days)")
if hourly_wage is not None:
    pay = round(total_work * hourly_wage / 60, 2)  # estimated pay (rounded to the cent)
    print(f"Estimated pay: ${pay:,.2f}")
Runs with the standard library only. divmod returns the quotient and the remainder of a division at the same time, so dividing minutes by 60 splits them into hours and minutes. Change week at the top (the clock-in, clock-out and break for the days you worked) and the hourly wage, then run the code.

How to write it in LaTeX and other math languages (copy and paste)

Hours worked in one day (from clock-in, clock-out and break)
W = T₂ − T₁ − B  (T₂ ≥ T₁),  W = T₂ − T₁ + 1440 − B  (T₂ < T₁)
W = T_2 - T_1 - B \quad (T_2 \ge T_1), \qquad W = T_2 - T_1 + 1440 - B \quad (T_2 < T_1)
<math xmlns="http://www.w3.org/1998/Math/MathML" display="block">
  <mrow>
    <mi>W</mi><mo>=</mo>
    <msub><mi>T</mi><mn>2</mn></msub><mo>&#x2212;</mo>
    <msub><mi>T</mi><mn>1</mn></msub><mo>&#x2212;</mo>
    <mi>B</mi>
    <mo>,</mo><mspace width="0.7em"/>
    <mi>W</mi><mo>=</mo>
    <msub><mi>T</mi><mn>2</mn></msub><mo>&#x2212;</mo>
    <msub><mi>T</mi><mn>1</mn></msub>
    <mo>+</mo><mn>1440</mn><mo>&#x2212;</mo>
    <mi>B</mi>
  </mrow>
</math>
W = T_2 - T_1 - B, W = T_2 - T_1 + 1440 - B
workMinutes = If[t2 >= t1, t2 - t1, t2 - t1 + 1440] - b
W := `if`(t2 >= t1, t2 - t1, t2 - t1 + 1440) - b;
if t2 >= t1, W = t2 - t1 - b; else, W = t2 - t1 + 1440 - b; end
W = T_2 - T_1 - B (T_2 ≥ T_1), W = T_2 - T_1 + 1440 - B (T_2 < T_1)
Weekly total and decimal hours
S = W₁ + W₂ + ⋯ + W₇,  H = S ÷ 60
S = W_1 + W_2 + \cdots + W_7, \quad H = \dfrac{S}{60}
<math xmlns="http://www.w3.org/1998/Math/MathML" display="block">
  <mrow>
    <mi>S</mi><mo>=</mo>
    <msub><mi>W</mi><mn>1</mn></msub><mo>+</mo>
    <msub><mi>W</mi><mn>2</mn></msub><mo>+</mo>
    <mo>&#x22EF;</mo><mo>+</mo>
    <msub><mi>W</mi><mn>7</mn></msub>
    <mo>,</mo><mspace width="0.7em"/>
    <mi>H</mi><mo>=</mo>
    <mfrac><mi>S</mi><mn>60</mn></mfrac>
  </mrow>
</math>
S = W_1 + W_2 + cdots + W_7, H = S / 60
totalMinutes = Total[workMinutes]; decimalHours = totalMinutes / 60
S := add(w[i], i = 1 .. 7); H := S / 60;
S = sum(W); H = S / 60;
S = W_1 + W_2 + ⋯ + W_7, H = S / 60
Estimated pay (decimal hours × hourly wage)
P = H × R
P = H \times R
<math xmlns="http://www.w3.org/1998/Math/MathML" display="block">
  <mrow>
    <mi>P</mi><mo>=</mo>
    <mi>H</mi><mo>&#xD7;</mo><mi>R</mi>
  </mrow>
</math>
P = H xx R
pay = decimalHours * hourlyWage
P := H * R;
P = H * R;
P = H × R

How to have ChatGPT  do the calculation

You are a timesheet calculation assistant. Do the following calculation by actually running Python code, and base your answer only on the numbers from the execution result (do not answer by mental math or guessing).

Here is one week of a time card. All times are on the 24-hour clock, and breaks are in minutes.
- Monday to Friday: clock in 9:00, clock out 17:30, 60-minute break
- Saturday and Sunday: no work
The hourly wage is $18.
Find each of the following:
1. The hours worked each day (in the form "X hours Y minutes" for each day)
2. The total hours worked in the week (in the form "X hours Y minutes") and the number of days worked
3. The weekly total in decimal hours (the total minutes worked divided by 60)
4. The estimated pay (decimal hours × hourly wage, rounded to the cent, with no overtime or deductions)

Find each day's hours worked as (clock-out in minutes) − (clock-in in minutes) − break. If the clock-out time is earlier than the clock-in time on any day, treat it as clocking out the next day (overnight) and add 1440 minutes.
Show the formulas you used and the numbers from the execution result.

How to Use
  1. 1
    Enter your numbers
    Type the numbers you want to calculate with into the input fields
  2. 2
    Calculate
    Press the "Calculate" button
  3. 3
    Check the result
    The result appears on the spot. The same page also explains the idea behind the calculation and the formula
  DataChef Features
Easy and Free
Unlimited conversions for free.
No technical knowledge required.
Intuitive and user-friendly operation.
No Registration Required
Available immediately after access.
Can be used without registering personal information.
Safe and Secure
Fully SSL encrypted communication.
Automatic file deletion by clicking "download".
Fast
High-speed site access
and rapid file conversion.
No Watermark
No watermark.
No attribution required.
Commercial Use Available
Free for commercial use.
No need to contact us for commercial use permission.