Skip to main content

Calculation Methodology

How HourCalio calculates durations, work hours, overtime and estimated gross pay, with every assumption stated.

On this page
Limitation. HourCalio provides estimates from published formulas. It does not provide tax, legal or payroll advice.

How HourCalio represents time

Every clock time becomes a whole number of minutes after 12:00 AM, from 0 to 1439. Every duration is a whole number of minutes, so totals never drift from rounding.

Formula
minute of day = hour × 60 + minute
12:00 AM = 0 · 12:00 PM = 720

Same-day and overnight shifts

A shift is same-day unless you turn on “Ends next day”. HourCalio never guesses that a shift crossed midnight.

Equal start and end times give 0h 00m, or 24h 00m when “Ends next day” is on. One shift cannot exceed 24 hours.

Formula
duration = end − start
with Ends next day: duration = (24h − start) + end
Limitation. No date-aware calculation: time zones and daylight saving changes are not applied.

Unpaid breaks

The unpaid break is subtracted from the shift. A break longer than the shift is an error, not a negative result. A break equal to the shift gives 0h 00m.

Formula
worked = shift length − unpaid break

Clock rounding (optional)

The Time Card can round each clock-in and clock-out to the nearest 5, 6 or 15 minutes, a setting some employers use. A punch exactly halfway rounds up; with 15-minute rounding, 7 minutes past the quarter round down and 8 minutes round up. Breaks are not rounded.

Rounding is off by default. It changes the estimate only; it does not determine how an employer may round time.

Formula
rounded punch = nearest multiple of the increment (halfway rounds up)
7:53 AM → 8:00 AM · 5:07 PM → 5:00 PM (15 minutes)

Weekly and biweekly totals

Daily worked times are added. In a biweekly card, days 1–7 are Week 1 and days 8–14 are Week 2, whatever their weekday names, and each week has its own subtotal.

Formula
week total = Σ daily worked
period total = Week 1 + Week 2

Overtime estimates

Overtime is any weekly total above your threshold. The defaults, 40h 00m and a 1.5× multiplier, are editable settings. Each week is evaluated on its own and never averaged across two weeks.

The defaults follow the general federal rule of the Fair Labor Standards Act (FLSA): covered, non-exempt employees receive at least one and a half times their regular rate for hours over 40 in a workweek. HourCalio multiplies the hourly rate you enter; it does not work out a regular rate that includes bonuses or other pay.

The result is an estimate. It does not determine coverage, exemptions, state rules, agreements or wages that are legally owed. The Overtime Pay Calculator applies the same rule to a weekly total you enter.

Formula
overtime = max(0, week total − threshold)
regular = week total − overtime

Gross pay and rounding

Pay is an estimate before taxes and deductions. Each pay component is calculated from exact minutes and rounded half-up to the cent; hours are never rounded to two decimals first. HourCalio does not calculate net pay.

Formula
regular pay = round(regular minutes × rate ÷ 60)
overtime pay = round(overtime minutes × rate × multiplier ÷ 60)
estimated gross pay = regular pay + overtime pay

Hourly pay and salary equivalents

The Hourly Pay Calculator applies the gross pay formula above to the regular and overtime hours you enter. You decide which hours are overtime; it does not apply a weekly threshold.

The Salary to Hourly Calculator uses the hours per week and weeks per year you enter, 40 and 52 by default (2,080 hours a year). Each amount is calculated from exact values and rounded half-up to the cent once. The monthly amount is one twelfth of the year. Results are gross equivalents: no taxes, benefits, overtime or bonuses.

Formula
hourly = annual salary ÷ (hours per week × weeks per year)
annual = hourly × hours per week × weeks per year
$52,000 ÷ 2,080 hours = $25.00 per hour

Work Hours Tracker

Clock in and Clock out read your device's clock when you select them and record the calendar date and the clock minute. Worked time is the clock minutes between them minus breaks, with no daylight saving adjustment, so a shift across a clock change can differ by one hour.

One shift can last up to 24 hours. If a running shift goes past that, or the device clock moves back, it is not recorded automatically. Each shift counts in the week of the day it started.

Formula
worked = clock out − clock in − breaks
8:00 AM → 4:30 PM, 30-minute break = 8h 00m

Dates, raises, PTO and pay periods

Date tools count calendar days between dates in the proleptic Gregorian calendar, without time zones or daylight saving adjustments. Business days and weekdays are Monday to Friday; holidays are never assumed. A month after January 31 is the last day of February.

The Pay Raise Calculator rounds the new pay to the cent once and shows the actual increase as a percentage of the current pay. The PTO Accrual Calculator rounds hours earned to the minute once and stops the balance at an optional cap. The Pay Period Calculator repeats every 7 or 14 days from a payday you enter; twice a month means the 15th and the last day, and dates are not moved for weekends or holidays.

Formula
days = end date − start date
new pay = current pay × (1 + raise %), rounded to the cent
accrued PTO = hours worked × hours earned ÷ hours per unit

Differentials, commission, meeting cost, FTE and week numbers

Shift differential pay adds a premium to differential hours, a dollar amount per hour or a percent of the base rate, calculated from exact minutes and rounded to the cent once. Commission is sales times a flat rate, rounded to the cent. Meeting cost is attendees × hourly cost × length. FTE is total weekly hours divided by full-time hours, rounded to two decimals.

ISO 8601 weeks run Monday to Sunday, and week 1 is the week with the year's first Thursday; the US count runs Sunday to Saturday with January 1 in week 1. Weekdays come from counting days in the Gregorian calendar.

Formula
commission = sales × rate
FTE = weekly hours ÷ full-time hours
ISO week = week of that week's Thursday

Clock-out time, night hours, rates, prorated pay and age

Clock-out time is the start time plus work time plus unpaid breaks. Night hours are the overlap of a shift with a daily night window, checked on the day before, the same day and the next day. Utilization is billable hours divided by available hours.

The freelance rate divides income plus expenses by billable hours a year. Prorated salary multiplies the period's pay by workdays worked over workdays in the period, calculated from the annual salary and rounded once. Age counts whole years, then months, then days; a February 29 birthday counts on February 28 in other years.

Formula
clock out = clock in + work + unpaid break
rate = (income + expenses) ÷ billable hours
prorated = salary ÷ periods × days worked ÷ days in period

Hours to days, averages, back pay, labor cost and absenteeism

Hours to days divides hours by the workday length you enter; whole workdays and the hours left over, 5-day workweeks and 24-hour days are shown too. The weekly average divides the total of the weeks entered by the number of weeks, and the monthly average multiplies it by 52 ÷ 12. Hours to earn divides the amount by the hourly rate and rounds up to the next minute, so the time always covers the amount.

Hourly back pay multiplies the raise per hour by the regular hours, plus overtime hours at 1.5 times the raise. Salary back pay rounds the difference per paycheck and multiplies it by the paychecks owed. Labor cost adds the burden percentage you enter to the wage. Absenteeism divides days absent by employees × workdays. All amounts are gross; no taxes are calculated.

Formula
workdays = hours ÷ hours in a workday
back pay = (new rate − old rate) × hours
absenteeism = days absent ÷ (employees × workdays)

Workdays, time percentage, commute, tip pools, mileage and turnover

Workdays in a month count Monday to Friday in the calendar month or year; holidays are not subtracted. Time percentage divides one length of time by another and rounds to one decimal. Commute time doubles the one-way time for the trip home and multiplies it by days and weeks.

A tip pool gives each person tips × their hours ÷ total hours, rounded down to the cent; the cents left over go one at a time to the largest remainders, so the shares add up to the pool exactly. Mileage multiplies the miles by trips, doubled for round trips, and by the rate you enter. Turnover divides separations by the average of the headcount at the start and the end.

Formula
share = tips × person's hours ÷ total hours
reimbursement = miles × trips × rate per mile
turnover = separations ÷ ((start + end) ÷ 2)

Decimal conversions

Minutes are divided by 60 and shown with two, three or four decimal places, rounded half-up. Converting decimal hours back to minutes rounds to the nearest minute. 7:30 is not 7.30: 0.30 hours is 18 minutes.

Formula
decimal hours = total minutes ÷ 60
total minutes = round(decimal hours × 60)
7h 30m = 7.50 · 7.58 h = 7h 35m

Military time

12:00 AM is 0000 and 12:00 PM is 1200. Results always use four digits, so 12:30 AM is 0030. 2400 is not accepted.

Formula
2:35 PM → 1435 · 14:35
0000 → 12:00 AM

Privacy and local calculations

Calculations run in your browser. HourCalio does not send calculator values to its servers.

Saving a time card or tracked shifts is opt-in and stays on your device. Saved data is removed 90 days after it was last saved, or earlier if you clear it.

Testing and examples

Every formula is checked against the canonical examples of the HourCalio calculation specification, and every example shown on this site is recalculated by an automated test before each release.

  • 42h 30m → 2h 30m overtime
  • $1,000.00 + $93.75 = $1,093.75
  • 10:30 PM → 6:15 AM next day = 7h 45m

Sources

The overtime defaults and their limits are based on these U.S. Department of Labor pages, consulted on September 29, 2026.

Revision history

Last reviewed: October 21, 2026. Each change to a formula, rounding rule, default or limit is added here with its date.

October 22, 2026 — Workdays in a Month, Time Percentage, Commute Time, Tip Pool, Mileage Reimbursement and Turnover Rate calculators.

October 21, 2026 — Hours to Days, Average Hours per Week, Hours to Earn, Back Pay, Labor Cost and Absenteeism Rate calculators.

October 21, 2026 — Clock Out, Night Shift Hours, Utilization Rate, Freelance Rate, Prorated Salary and Age calculators.

October 21, 2026 — Shift Differential, Commission, Meeting Cost, FTE, Week Number and Day of the Week calculators.

October 20, 2026 — Days Between Dates, Add Days to Date, Hours Between Dates, Pay Raise, PTO Accrual and Pay Period calculators.

October 6, 2026 — Overtime Pay Calculator: one workweek from its total hours, with the same threshold, multiplier and rounding as the Time Card.

October 5, 2026 — Work Hours Tracker: shifts recorded from the device clock in nominal clock minutes, up to 24 hours each, totaled by week.

October 5, 2026 — Hourly Pay and Salary to Hourly calculators: gross amounts from exact minutes and cents, each rounded half-up once.

October 5, 2026 — Optional clock rounding (5, 6 or 15 minutes) in the Time Card, off by default.

September 30, 2026 — First version: six calculators, weekly overtime by fixed seven-day workweek, half-up rounding to the cent, and opt-in saving of time cards on your device.