How-to guides

27 ways to work the numbers, step by step

Clear tutorials for hours, overtime, salary, take-home pay, dates, age, time zones, and sleep — each with a formula, a worked example, and the calculator to do it instantly.

01

How to Calculate Total Hours Worked for Timesheet Payroll

Convert shift clock times into 24-hour military time, subtract start time from end time, deduct unpaid meal breaks, and divide remaining minutes by 60 to convert into decimal hours.

  1. Convert to 24-Hour Format: Add 12 to PM times (e.g., 5:15 PM = 17:15).
  2. Subtract Start Time from End Time: Find gross shift duration.
  3. Deduct Unpaid Lunch Break: Subtract break minutes (e.g., 30 mins).
  4. Convert Minutes to Decimal: Divide minutes by 60.
Net Hours = [(Clock Out − Clock In) − Unpaid Breaks] / 60
Example: 8:30 AM to 5:00 PM (17:00) with a 30-min lunch.
17:00 − 8:30 = 8 hrs 30 mins. Deduct 30 mins lunch = 8.00 decimal hours.
02

How to Convert Hourly Wage to Annual Salary

Multiply your hourly wage by weekly hours worked, then multiply by 52 weeks (standard full-time work year = 2,080 hours).

  1. Identify Base Hourly Rate: E.g., $25.00/hour.
  2. Identify Weekly Hours: Full-time standard is 40 hours/week.
  3. Multiply Rate × Hours × 52 Weeks: Calculate gross yearly wage.
Annual Salary = Hourly Wage × Weekly Hours × 52 Weeks
Example: $25/hr × 40 hrs/wk × 52 weeks = $52,000 per year gross salary.
03

How to Convert Annual Salary to Hourly Wage

Divide annual gross salary by the total full-time annual working hours (2,080 hours for a 40-hour workweek across 52 weeks).

  1. Determine Annual Gross Income: E.g., $60,000/year.
  2. Determine Total Annual Hours: 40 hours/week × 52 weeks = 2,080 hours.
  3. Divide Salary by Total Hours: Calculate exact hourly base rate.
Hourly Wage = Annual Salary / 2,080 Hours
Example: $60,000 / 2,080 hours = $28.85 per hour.
04

How to Calculate Exact Age from Date of Birth

Use with: Age Calculator

Subtract birth date from target evaluation date across Year, Month, and Day columns, borrowing days or months as needed.

  1. Set Up Columns: Target Date (YYYY/MM/DD) above Birth Date (YYYY/MM/DD).
  2. Subtract Days: If target day < birth day, borrow preceding month's total days.
  3. Subtract Months: If target month < birth month, borrow 12 months from target year.
  4. Subtract Years: Subtract birth year from adjusted target year.
Exact Age = Target Date (YYYY/MM/DD) − Date of Birth (YYYY/MM/DD)
Example: DOB: Oct 15, 1995 | Target Date: March 10, 2026.
Borrow 28 days from Feb: Day = 10 + 28 − 15 = 23 days.
Borrow 12 months from 2026: Month = 2 + 12 − 10 = 4 months.
Adjusted Year: 2025 − 1995 = 30 years. Result: 30 Yrs, 4 Mos, 23 Days.
05

How to Calculate Days Between Two Dates

Convert both dates into absolute epoch serial days and find the mathematical difference between them.

  1. Identify Start Date and End Date.
  2. Count Elapsed Full Days: Account for differing month lengths (28, 30, 31 days).
  3. Adjust for Leap Years: Add +1 day for every February 29th crossed.
Total Days = End Date Serial Number − Start Date Serial Number
Example: Jan 1, 2026 to Dec 31, 2026 = 364 days difference (365 days inclusive).
06

How to Convert PST Time to EST Time

Eastern Standard Time (EST, UTC−5) is 3 hours ahead of Pacific Standard Time (PST, UTC−8). Add 3 hours to PST to obtain EST.

  1. Identify PST Time: E.g., 10:00 AM PST.
  2. Add 3 Hours: 10:00 AM + 3 hours = 1:00 PM EST.
  3. Adjust Calendar Day: If addition crosses midnight, advance date by +1 day.
EST Time = PST Time + 3 Hours
Example: 10:00 PM PST + 3 hours = 1:00 AM EST (Next Day).
07

How to Convert UTC Time to IST (India Standard Time)

India Standard Time (IST) operates at a fixed offset of UTC+5:30. Add 5 hours and 30 minutes to UTC time.

  1. Identify UTC Time: E.g., 08:00 UTC.
  2. Add 5 Hours: 08:00 + 5 hours = 13:00 (1:00 PM).
  3. Add 30 Minutes: 13:00 + 30 mins = 13:30 (1:30 PM IST).
IST Time = UTC Time + 5 Hours 30 Minutes
Example: 10:30 PM UTC + 5h 30m = 4:00 AM IST (Next Day).
08

How to Calculate FLSA Overtime Pay Rate

Under US federal FLSA rules, non-exempt employees receive 1.5 times their regular hourly rate for hours worked beyond 40 in a workweek.

  1. Determine Base Hourly Wage: E.g., $20.00/hour.
  2. Calculate Overtime Rate: Multiply base rate by 1.5 ($20 × 1.5 = $30.00/hr).
  3. Calculate Overtime Hours: Total weekly hours − 40 hours.
  4. Multiply Overtime Rate × Overtime Hours.
Overtime Pay = (Base Rate × 1.5) × (Total Hours − 40)
Example: 45 hours worked at $20/hr base rate.
Regular Pay: 40 × $20 = $800 | Overtime Pay: 5 × $30 = $150 | Total Gross: $950.
09

How to Calculate Business Days in Excel Using NETWORKDAYS

Use with: Working Days

Use Excel's built-in NETWORKDAYS formula to calculate net working weekdays (Monday–Friday) while excluding holidays.

  1. Enter Start Date in Cell A2 and End Date in Cell B2.
  2. List Holiday Dates in Cells E2:E10 (Optional).
  3. Enter Formula: =NETWORKDAYS(A2, B2, E2:E10).
=NETWORKDAYS(start_date, end_date, [holidays])
Example: Jan 1 to Jan 31 (31 calendar days, 9 weekend days, 1 holiday).
Formula Output = 21 Business Days.
10

How to Calculate Optimal Bedtimes Using Sleep Cycles

Align wake-up times with natural 90-minute sleep cycles plus 15 minutes to fall asleep to avoid sleep inertia.

  1. Identify Fixed Wake-Up Alarm: E.g., 6:30 AM.
  2. Subtract 90-Minute Blocks (Sleep Cycles): 5 cycles = 7.5 hours; 6 cycles = 9 hours.
  3. Subtract 15 Minutes (Sleep Latency): Adjust for time needed to fall asleep.
Bedtime = Wake Time − (Cycles × 90 Mins) − 15 Mins
Example for 6:30 AM Alarm:
• 5 Cycles (7.5 hrs + 15 min): Bedtime = 10:45 PM.
• 6 Cycles (9.0 hrs + 15 min): Bedtime = 9:15 PM.
11

How to Convert Clock Minutes into Decimal Hours

Divide total clock minutes by 60 to convert standard sexagesimal minutes into base-10 decimals required for wage calculations.

  1. Isolate Minutes Portion of Time: E.g., 7 hours 45 minutes.
  2. Divide Minutes by 60: 45 / 60 = 0.75.
  3. Combine Whole Hours with Decimal: 7 + 0.75 = 7.75 decimal hours.
Decimal Hours = Hours + (Minutes / 60)
Quick Reference: 15 mins = 0.25 | 30 mins = 0.50 | 45 mins = 0.75
12

How to Subtract Unpaid Lunch Break from Work Hours

Convert break duration into decimal format or subtract break minutes directly from total daily shift elapsed time.

  1. Calculate Gross Elapsed Shift Duration: E.g., 9:00 AM to 5:30 PM = 8.5 hours (8 hrs 30 mins).
  2. Convert Lunch Break to Decimals: 30 minutes / 60 = 0.50 hours.
  3. Subtract Lunch Break Decimal from Gross Hours: 8.50 − 0.50 = 8.00 net hours.
Net Work Hours = Gross Shift Hours − (Break Minutes / 60)
Example: 8.5 gross hours − 45 minute break (0.75) = 7.75 net work hours.
13

How to Calculate Gross Pay from Total Hours Worked

Multiply regular hours by hourly rate, then add overtime hours multiplied by the premium overtime rate.

  1. Calculate Regular Earnings: Regular Hours (up to 40) × Base Pay Rate.
  2. Calculate Overtime Earnings: Overtime Hours (>40) × (Base Rate × 1.5).
  3. Sum Regular + Overtime Earnings.
Gross Pay = (Reg Hours × Rate) + (OT Hours × Rate × 1.5)
Example: 42 hours worked at $18/hr.
(40 × $18) + (2 × $27) = $720 + $54 = $774 Gross Pay.
14

How to Calculate Overnight Shift Hours Across Midnight

When an overnight shift crosses midnight, add 24 hours to the clock-out end time before subtracting the clock-in start time.

  1. Identify Start Time and End Time: E.g., Start 10:00 PM (22:00), End 6:00 AM (06:00).
  2. Add 24 Hours to End Time: 06:00 + 24 = 30:00.
  3. Subtract Start Time: 30:00 − 22:00 = 8.00 hours.
  4. Deduct Unpaid Breaks.
Overnight Hours = [(End Time + 24) − Start Time] − Breaks
Example: 10:00 PM to 6:30 AM with 30-min break.
(6.5 + 24) − 22.0 = 8.5 hours gross − 0.5 break = 8.00 net hours.
15

How to Calculate Double Time Overtime Pay

Multiply base hourly pay rate by 2.0 for hours qualifying under state laws (e.g., California work past 12 hours/day) or union contracts.

  1. Determine Base Hourly Wage: E.g., $22.00/hour.
  2. Calculate Double Time Rate: $22.00 × 2.0 = $44.00/hour.
  3. Multiply Double Time Rate by Double Time Hours Worked.
Double Time Pay = (Base Rate × 2.0) × Double Time Hours
Example: Worked 14 hours in 1 day (8 reg hrs, 4 OT hrs @ 1.5×, 2 DT hrs @ 2.0×).
(8 × $22) + (4 × $33) + (2 × $44) = $176 + $132 + $88 = $396 Gross Pay.
16

How to Add Multiple Hours and Minutes Durations

Use with: Time Adder

Sum minutes and hours independently. Convert every 60 accumulated minutes into +1 hour and add it to the hours column.

  1. Sum Minutes Column: E.g., 45 mins + 35 mins = 80 mins.
  2. Convert Minutes to Hours + Remainder: 80 mins = 1 hr 20 mins.
  3. Sum Hours Column & Add Carryover Hour: 6 hrs + 5 hrs + 1 carried hr = 12 hrs.
  4. Final Result: 12 hours 20 minutes.
Total Time = Sum of Hours + (Total Minutes / 60)
Example: (4 hr 45 min) + (3 hr 30 min) = 7 hr 75 min = 8 hr 15 min.
17

How to Calculate Net Take-Home Pay from Gross Pay

Subtract mandatory taxes (Federal Income Tax, State Income Tax, FICA Social Security 6.2%, Medicare 1.45%) and voluntary benefit deductions from gross pay.

  1. Determine Gross Wages for Pay Period.
  2. Calculate FICA Tax (7.65%): Gross Pay × 0.0765.
  3. Deduct Income Taxes (Federal + State based on Form W-4).
  4. Deduct Voluntary Benefits (Health Insurance, 401k).
Net Pay = Gross Pay − FICA − Income Taxes − Deductions
Example: $1,000 Gross Pay − $76.50 FICA − $120 Federal Tax − $50 Benefits = $753.50 Take-Home Pay.
18

How to Add Days to a Date

Use with: Date ± Days

Count forward chronologically from the starting date, adjusting for the specific days in preceding months (28, 30, or 31) and leap years.

  1. Identify Start Date and Number of Days to Add.
  2. Add Days sequentially across calendar months.
  3. Advance Year if calculation crosses December 31st.
Target Date = Start Date + N Calendar Days
Example: Add 90 days to March 1, 2026.
March (30 remaining) + April (30) + May (30) = May 30, 2026.
19

How to Calculate 40 Hours a Week Gross Pay

Multiply base hourly wage directly by 40 hours for a single workweek calculation.

  1. Determine Hourly Pay Rate: E.g., $22.50/hour.
  2. Multiply Hourly Rate × 40 Hours.
Weekly Pay = Hourly Rate × 40 Hours
Example: $22.50/hr × 40 hours = $900.00 weekly gross pay.
20

How to Find What Day of the Week You Were Born

Use with: Day of the Week

Input your birth month, day, and year into a Day of the Week tool or compute manually using Zeller's Congruence algorithm.

  1. Identify Date of Birth: E.g., July 4, 1776.
  2. Run Day of Week Algorithm / Tool.
  3. Output Day Name: E.g., Thursday.
Day of Week = Zeller's Algorithm Result (Mod 7)
Example: July 4, 1776 fell on a Thursday.
21

How to Calculate Chronological Age for Clinical/School Assessments

Use with: Age Calculator

Subtract DOB from Test Date without rounding, borrowing the preceding month's actual days, or 12 months from years, when needed.

  1. Align Dates: Test Date (YYYY/MM/DD) over Birth Date (YYYY/MM/DD).
  2. Subtract Days column first (borrow the preceding month's days if needed).
  3. Subtract Months column second (borrow 12 months if needed).
  4. Subtract Years column.
Chronological Age = Test Date − Birth Date
Example: Test Date: 2026/04/10 | DOB: 2018/08/25.
Borrow 31 days from March: 10 + 31 − 25 = 16 days.
Borrow 12 months: 3 + 12 − 8 = 7 months.
Years: 2025 − 2018 = 7 years. Result: 7 Years, 7 Months, 16 Days.
22

How to Apply 15-Minute Rounding (7-Minute Rule) on Time Cards

Use with: Time Card

Under FLSA quarter-hour rounding rules, clock punches from 1–7 minutes round down, while 8–14 minutes round up to the nearest 15-minute mark.

  1. Check Punch Minute Mark: E.g., 8:07 AM vs 8:08 AM.
  2. Apply 1–7 Min Rule: 8:07 AM rounds down to 8:00 AM.
  3. Apply 8–14 Min Rule: 8:08 AM rounds up to 8:15 AM.
Rounded Punch = Nearest 15-Minute Increment (:00, :15, :30, :45)
Example: Punch in at 8:06 AM → rounds to 8:00 AM. Punch out at 5:09 PM → rounds to 5:15 PM.
23

How to Calculate Hours Worked for Split Shifts

Use with: Time Card

Calculate elapsed hours for the Morning Shift and Evening Shift independently, then sum the two net totals together.

  1. Calculate Shift 1 Hours: E.g., 8:00 AM to 12:00 PM = 4.0 hours.
  2. Calculate Shift 2 Hours: E.g., 4:00 PM to 8:00 PM = 4.0 hours.
  3. Sum Shift 1 + Shift 2: 4.0 + 4.0 = 8.0 total daily hours.
Total Daily Hours = Shift 1 Net Hours + Shift 2 Net Hours
Example: Lunch/break gap from 12:00 PM to 4:00 PM is a non-working unpaid split interval.
24

How to Convert CST Time to EST Time

Eastern Standard Time (EST, UTC−5) is 1 hour ahead of Central Standard Time (CST, UTC−6). Add 1 hour to CST to find EST.

  1. Identify Central Time (CST): E.g., 2:00 PM CST.
  2. Add 1 Hour: 2:00 PM + 1 hour = 3:00 PM EST.
EST Time = CST Time + 1 Hour
Example: 11:30 AM CST + 1 hour = 12:30 PM EST.
25

How to Calculate Total Hours Old You Are

Use with: Age Calculator

Calculate total lifetime days lived from date of birth to today, then multiply total days by 24 hours.

  1. Find Total Days Lived: E.g., 10,000 days.
  2. Multiply Total Days × 24 Hours.
Total Hours Old = Total Days Lived × 24
Example: 10,000 days lived × 24 hours = 240,000 total hours old.
26

How to Calculate PTO / Vacation Accrual

Use with: PTO Accrual

Turn an annual PTO allotment into what you earn each paycheck and each hour worked, then track your available balance after time off used.

  1. Convert annual PTO to hours: Days × hours per workday (15 days × 8 = 120 hours).
  2. Divide by pay periods per year: 120 ÷ 26 bi-weekly = 4.62 hours accrued per paycheck.
  3. Multiply by periods completed: 4.62 × 10 paychecks = 46.2 hours accrued so far.
  4. Subtract hours used: Starting balance + accrued − used = available balance.
Per-Period Accrual = Annual PTO Hours ÷ Pay Periods per Year
Example: 15 days × 8 hrs = 120 hrs ÷ 26 = 4.62 hrs per paycheck.
After 10 paychecks: 46.2 hours accrued ≈ 5.8 days.
27

How to Count Down the Days Until a Date

Use with: Countdown

Find exactly how much time remains until a future date — in days and down to the second — including how many of those are business days.

  1. Identify the target date (and time, if it matters).
  2. Subtract now from the target: target − current moment = time remaining.
  3. Convert to units: total seconds ÷ 86,400 = days; the remainder gives hours, minutes, and seconds.
  4. Count business days: include only Monday–Friday between the two dates.
Time Remaining = Target Date/Time − Current Date/Time
Example: From today to December 25, the Countdown Calculator shows the live days, hours, minutes, and seconds — plus business days remaining.
No guides match your search. Try another keyword, or contact us.
Sources & standards

The rules behind these methods

The legal, tax, and measurement rules used in these guides are based on the official authorities below. This information is provided for general reference only and is not legal, financial, or medical advice.