BYTETOOLS

Hours Between Times: Real-World Scenarios

Anyone who bills, pays or logs time by the hour needs to calculate the gap between two clock readings — freelancers invoicing clients, managers running payroll, nurses on night shifts, and students tracking study. Here are concrete scenarios, each with the numbers worked out, so you can see exactly where this calculator fits your workflow.

Freelancer: turning a work session into an invoice line

You worked 13:20 to 18:05 on a client task. Entering those times returns 4 hours 45 minutes, or 4.75 decimal hours. At an 80/hour rate, that is 4.75 × 80 = 380 on the invoice — no fiddling with minutes. Do this for each session, keep the decimal hours, and your invoice adds up cleanly.

Night-shift worker: an overnight shift done right

A nurse clocks in at 19:00 and out at 07:30 with a 60-minute unpaid break. The raw span crosses midnight, so the tool adds 24 hours: 12 hours 30 minutes gross, minus the break, equals 11 hours 30 minutes payable, or 11.5 decimal hours. Done by hand, the midnight crossover is exactly where people lose or invent hours.

Restaurant manager: a week of mixed shifts

Payroll is easiest when every shift is reduced to decimal hours first, then summed. Enter each staff member's clock-in and clock-out with their break, note the decimal result, and total the week.

DayInOutBreakDecimal hours
Mon11:0015:3004.5
Fri17:0023:1530 min5.75
Sat18:0002:0045 min7.25

The Saturday close-out crosses midnight and still lands at the right 7.25 hours.

Student and personal tracking

Logging a 20:15 to 22:45 study block gives 2 hours 30 minutes, or 2.5 hours toward a weekly goal. The same pattern works for gym sessions, commute time, or metering how long a task really took versus your estimate — total minutes is handy here for summing lots of short intervals.

Try the Hours Between Times Calculator — free and 100% in your browser.

FAQ

How do freelancers use decimal hours for billing?

Convert each work session to decimal hours, then multiply by your rate. A 4.75-hour session at 80 is 380. Decimal hours plug straight into a rate without minute-by-minute arithmetic.

Can it handle a night shift with a break?

Yes. Enter the overnight clock-in and clock-out and the unpaid break minutes; the tool adds 24 hours for the midnight crossover and then deducts the break, giving exact payable hours.

Is it good for weekly payroll totals?

Reduce each shift to decimal hours, then add them up. Because every shift is already a clean decimal, the weekly total is reliable and easy to audit.

Can I track non-work time like study or exercise?

Absolutely. Any two clock times work — study blocks, workouts, commutes — and the total-minutes output makes summing many short sessions straightforward.

Related free tools

Built by ByteVancer

ByteTools is a free product of ByteVancer, a software and web development studio building web apps, SaaS and custom software. If you run scheduling or billing at scale, explore what ByteVancer can build for your business.