How to calculate hours between two times

Everhour turns calendar events into timesheet entries, while accurate hour totals still depend on clear start, end, and break rules.

How much did you earn this week?

Enter your daily hours and rate to instantly calculate total hours, regular pay, and any overtime — no spreadsheet needed.

$
Weekly gross pay
Regular hours40h
Overtime hours0h
Regular pay$1,400.00

Everhour does it all — track, budget, report & invoice

The calculator gives you the number — Everhour takes it from there.

Go ahead — start tracking!

One click and you're timing. Start a timer, add an entry, edit the details. This is exactly how it feels in Everhour.

  • One-click timer — browser, desktop & mobile
  • Works inside Asana, ClickUp, Linear, GitHub & more
  • Simple setup, no learning curve
Works with your favorite tool:
Everhour — Time Tracking
Time Entries
01:24:00
00:31:00
01:07:00

No more budget surprises

Set a budget, assign rates, and get alerted before you're over.

  • Real-time cost tracking
  • Set different rates per person or project
  • Alerts before you hit the budget limit
Everhour — Budgeting
Acme Web Project
1
50% of budget used
$2,500.00of $5,000.00
$2,500.00 remaining
75%
Actual costRemaining cost

Measurement

Track your budget through time or costs

Simple, customizable reports

Every report you need — configured your way, always up to date.

  • See who does what in real time
  • Configure any report
  • Scheduled email reports
Everhour — Reports

Your invoice is ready!

Tracked hours flow straight into a polished invoice — no copy-paste, no manual math.

  • Billable hours straight into the invoice
  • Configure invoice templates
  • Copy invoices to QuickBooks or Xero
  • Invoicing dashboard with status
Everhour — Invoices
Your Company LLChello@yourcompany.com
INVOICE
Invoice #1042
Group by:
DescriptionHoursRateAmount
Website Redesign14h$150/h$2,100.00
Brand Guidelines7h$150/h$1,050.00
Marketing Strategy3.5h$150/h$525.00
Total Due$3,675.00
Try Everhour for real yourself

Time spans, breaks, and payroll-ready totals

What this calculation answers

This calculation tells you the elapsed time between a start time and an end time, usually for a shift, appointment, job, or timesheet row. The result can stay in hours and minutes for review, or convert to decimal hours for payroll, billing, or spreadsheet formulas. U.S. timesheet entries commonly use a 12-hour AM/PM format, so the AM or PM marker changes the result.

The calculation also separates gross time from paid time. Gross time measures the full span between clock-in and clock-out. Paid time subtracts unpaid meal periods or other unpaid gaps. Under federal law, adult meal and rest breaks are not required, but short breaks provided by an employer, usually about 5 to 20 minutes, count as compensable hours worked.

Use the span formula

Start by converting both times to a 24-hour clock or decimal hour value. Subtract the start from the end. A 7:45 AM start equals 7.75. A 4:30 PM end equals 16.50. The gross span is 16.50 minus 7.75, which equals 8.75 hours. In hours and minutes, that is 8 hours and 45 minutes.

Next, subtract unpaid break time after converting minutes to decimal hours. A 30-minute unpaid meal period equals 0.50 hours because 30 divided by 60 equals 0.50. Gross time of 8.75 hours minus 0.50 hours leaves 8.25 paid hours. At $21.60 per hour, straight-time pay for that shift equals $178.20 before taxes, deductions, overtime, or premiums.

Watch midnight and decimal mistakes

A shift that crosses midnight needs a day boundary before subtraction. A start time of 10:00 PM and an end time of 6:00 AM does not produce a negative number. Treat the end as the next day, or add 24 hours to the end time before subtracting. The gross span is 8 hours, then unpaid breaks reduce paid time if they qualify as unpaid.

Minute conversion causes a common payroll error. One hour and 30 minutes equals 1.50 hours, not 1.30 hours. Ten minutes equals 0.17 hours when rounded to two decimals, because 10 divided by 60 equals 0.1667. Federal time-clock rounding to the nearest 5 minutes, tenth, or quarter-hour is accepted only if it averages out over time and does not underpay employees for actual hours worked.

Match one shift to the week

A single span calculation is enough for a quick timesheet line, a client visit, or a one-off pay estimate. Weekly payroll review needs more structure. Covered, nonexempt employees in the United States must receive overtime pay for hours worked over 40 in a fixed workweek, at not less than 1.5 times the regular rate under the FLSA.

A managed workflow matters once hours come from many shifts, calendar events, approvals, or payroll exports. Everhour can turn Google, Outlook, and iCloud calendar events into timesheet entries within a configurable time window, excluding all-day, recurring, and pre-connection events. Teams still need policy decisions for unpaid meals, state break rules, and overtime treatment before those entries become payroll-ready totals.

This content is for general information only, may not be fully up to date, and is provided without any warranty or liability.

High Performer

G2

Summer 2026

Best Ease Of Use

Capterra

Summer 2026

Loved by teams. Proven everywhere.

Rated in the top time trackers across G2, Capterra, and TrustRadius — with consistent praise for ease of use, integrations, and support.

10K+Teams worldwide
90K+Installs Everhour extension
196M+Tasks completed
4M+Projects tracked

Frequently Asked Questions

How do you subtract two AM/PM times correctly?

Convert each time to a comparable value before subtracting. AM times usually stay in the 0 to 11.99 range, while PM times add 12 unless the time is 12:00 PM. For example, 2:15 PM becomes 14.25 and 9:00 AM becomes 9.00, so the span is 5.25 hours.

How do you handle a shift that ends the next morning?

Add the overnight boundary before subtracting. A 9:00 PM start and 5:00 AM end spans 8 hours because the end time belongs to the next calendar day. In decimal form, use 29.00 for the next-day 5:00 AM end, then subtract 21.00.

Should lunch be subtracted from the time between two punches?

Subtract lunch only when it is unpaid time. Under federal law, a bona fide meal period is generally unpaid only when the employee is completely relieved from duty, and it commonly lasts 30 minutes or more. An employee who performs duties while eating is still working, so that time stays in the paid-hours total.

Can the result be used directly for overtime?

Use the single-shift result as one input, then total all hours worked in the fixed workweek. An FLSA workweek is 168 fixed hours, made of seven consecutive 24-hour periods, and hours cannot be averaged across multiple workweeks for overtime. Covered, nonexempt employees receive FLSA overtime after 40 hours in that workweek.

Why does 8 hours and 45 minutes become 8.75 hours?

Payroll decimal hours use base 10, while clock minutes use base 60. Divide minutes by 60 before adding them to the hour total. Forty-five minutes divided by 60 equals 0.75, so 8 hours and 45 minutes equals 8.75 hours.

How does Everhour convert calendar events into timesheet entries?

Everhour integrates with Google, Outlook, and iCloud calendars so events with defined start and end times can become timesheet entries. Users choose a sync window from 15 minutes to 3 hours before or after events, while all-day, recurring, and pre-connection events do not sync.

Turn calendar time into approved hours

Connect calendar events to timesheet entries, review the resulting hours, and keep policy decisions separate from raw time arithmetic. Everhour supports cleaner payroll and billing handoffs.

14-day free trial  ·  No credit card  ·  Cancel anytime

Or