Calculation Issues

Calculate Break Time in an Excel Timesheet Without Break Start and End Times

Algirdas JasaitisAlgirdas Jasaitis Dec 2, 2026 869 views

Question details

Calculate paid time by deducting a 15- or 30-minute break without recording when the break started or ended.

Calculate Break Time in an Excel Timesheet Without Break Start and End Times
Product
Microsoft Excel
Device & OS
not provided
Scenario
A timesheet records clock-in and clock-out times, and some shifts cross midnight.
Observed behavior
The timesheet should deduct the applicable break duration and show the paid time for each shift.
Before you start

Check that clock-in and clock-out entries are valid time values, not text, and that each shift is shorter than 24 hours. You will need to enter the applicable break duration for each shift.

Solution 1Recommended

Deduct the Break Duration with a MOD Formula

Use this formula to calculate paid time for same-day and overnight shifts without recording break start and end times.

1
Enter shift times

Enter the clock-in time in B2 and the clock-out time in C2 as Excel time values.

2
Enter the break duration

In D2, enter 0:15 for a 15-minute break or 0:30 for a 30-minute break.

3
Calculate paid time

In E2, enter =MOD(C2-B2,1)-D2. MOD accounts for a clock-out time after midnight.

4
Format and fill the formula

Select E2, open Format Cells, choose Custom, and enter [h]:mm. Then drag the fill handle down to calculate the remaining rows.

Deduct the Break Duration with a MOD Formula
Check the break and shift length: The formula assumes shifts are shorter than 24 hours and the break does not exceed the shift duration. It does not determine whether the break should be 15 or 30 minutes; enter that value in column D.
WPS Spreadsheets

Calculate Paid Shift Time in WPS Spreadsheets

Use the same MOD formula in WPS Spreadsheets to deduct a break and calculate paid time, including for overnight shifts.

  1. 1. Open the timesheet: Open WPS Spreadsheets and use Open to select your Excel timesheet.
  2. 2. Enter the times and break: Enter the clock-in time in B2, clock-out time in C2, and break duration such as 0:15 or 0:30 in D2.
  3. 3. Add the formula: Select E2 and enter =MOD(C2-B2,1)-D2, then drag the fill handle down for other shifts.
  4. 4. Format paid time: Select the result cells, open Format Cells, and set the custom number format to [h]:mm.
Deduct 15- or 30-minute breaks without entering break start and end timesCalculate overnight shifts with the MOD functionOpen and edit Microsoft Excel XLSX filesFill the formula down for multiple employees or shifts
microsoft office alternative - wps office

Frequently Asked Questions

How does the formula handle a shift that crosses midnight?

The MOD(C2-B2,1) portion converts a negative time difference into the elapsed time for an overnight shift. The formula assumes the shift is shorter than 24 hours.

Can Excel choose between a 15-minute and a 30-minute break automatically?

Not with this formula alone. Enter 0:15 or 0:30 in D2 for each shift, or create a separate formula based on your workplace's break rules.

Why does the result look like a decimal instead of hours and minutes?

Excel stores time as a fraction of a day. Select the result cells, open Format Cells, and apply the custom format [h]:mm.

Can I deduct the same break from every shift without a break column?

Yes. For a fixed 30-minute break, enter =MOD(C2-B2,1)-1/48. For a fixed 15-minute break, use =MOD(C2-B2,1)-1/96.