Here is the scene everyone meets sooner or later. You type a week of shift lengths into a column - 7:30, 8:15, 6:45, 8:00, 7:20 - add a SUM at the bottom, and the spreadsheet proudly announces 13:50. The real total is 37 hours 50 minutes. Nothing about your data was wrong; the spreadsheet calculated correctly and then displayed the answer on a clock face, throwing away a whole day and a half in the process. Understanding that one display quirk, and the fraction-of-a-day system underneath it, makes every other time task in a spreadsheet fall into place.
This guide covers entering durations properly, summing them, the [h]:mm format that stops totals wrapping, adding a length of time to a clock time, and converting a total into decimal hours for pay. Everything applies to both Excel and Google Sheets unless a step is flagged as different. If the spreadsheet is fighting you and the number is needed now, the time calculator adds the same list of times in seconds - but a timesheet you use every week is worth setting up right, once.
How spreadsheets really store time
Excel and Sheets do not store "7:30" as text or as two numbers. They store it as a fraction of one day: 0.3125, because 7.5 hours is 7.5/24 of a day. Noon is 0.5, 6:00 PM is 0.75, and one minute is 1/1440, about 0.000694. The colon format you see is only a display laid over that fraction.
Two consequences follow, and both matter. First, adding times is just adding fractions, which is why SUM works and why the arithmetic is never the problem. Second, the ordinary time display is a clock face: it shows the fraction modulo one day, so any total over 24 hours loses its whole days on screen while keeping them in the stored value. Every fix below is really about controlling that display, or converting the fraction into a form - decimal hours - that payroll can use. This is also why a time and a duration are the same kind of value in a spreadsheet: 14:00 (a clock time) and 14:00 (a length) are both stored as 0.5833, and the sheet cannot tell them apart. Only you know which you meant.
Step by step: summing a week of shifts
- Enter each duration with a colon. Type 7:30, not 7.5 and never 7.30. The colon is what tells the spreadsheet "this is a time." Entries will right-align like numbers; if one left-aligns, it was stored as text and will be silently left out of the total.
- Add a SUM formula. In the cell below the list, type =SUM(A1:A5) (adjust the range to your column).
- Fix the display before you trust it. Select the total cell and set a custom number format of [h]:mm. In Excel: right-click, Format Cells, Custom, type [h]:mm. In Sheets: Format, Number, Custom number format, type [h]:mm - or simply choose the built-in Duration format.
- Read the true total. The example week now shows 37:50 instead of 13:50.
The square brackets are the whole trick. In format codes, [h] means "total elapsed hours, however large," while plain h means "hour of the day, 0 to 23." Same stored number, honest display. Set the [h]:mm format on the individual duration cells too if any single entry can pass 24 hours, such as a multi-day project task.
Adding a duration to a clock time
The other everyday task is the reverse shape: a start time plus a length. If a shift starts at 8:00 AM in cell A1 and runs 7 hours 30 minutes in cell B1, the finish time is simply =A1 + B1, which returns 3:30 PM when the cell is formatted as a clock time. To add a fixed stretch without a separate cell, use the TIME function: =A1 + TIME(2, 30, 0) adds two and a half hours. And because a minute is 1/1440 of a day, =A1 + 45/1440 adds exactly 45 minutes - a form worth knowing because it makes formulas like "start plus a 15-minute setup" readable as =A1 + 15/1440. Going past midnight is handled for you in the stored value (the fraction simply exceeds the day), though the display will show the next day's clock time without telling you the day changed; if the date matters, store the start as a full date-and-time and the answer keeps its date too. The by-hand version of this skill is in what time will it be in X hours, and the gaps between two clock readings are covered in how to calculate elapsed time.
Converting a total to decimal hours for pay
Payroll does not multiply money by 37:50; it multiplies by 37.83. The conversion is one step: multiply the total cell by 24. Because the stored value is a fraction of a day, multiplying by 24 turns it into plain hours - 37:50 becomes 37.8333, which you format as a number with two decimals, 37.83. Multiply that by an hourly rate and you have gross pay. Two warnings. First, format the result cell as a number, or the spreadsheet will helpfully display 37.83 as another clock time. Second, remember what the decimal means: 37.83 hours is 37 hours and 50 minutes, not 37 hours and 83 minutes. That colon-versus-decimal confusion is the most expensive small error in this whole area, and our guide on converting hours and minutes to decimal exists largely because of it. One more practical tip for timesheets that live for months: keep the raw durations in one column, the [h]:mm total in the next, and the decimal conversion in a third, rather than overwriting values as you go. When a total is ever questioned, you can re-derive it step by step - the same discipline the rest of our guides recommend for paper time cards.
Frequently asked questions
Why does my total show 13:50 when the real total is 37:50?
Because the cell is formatted as an ordinary clock time, which wraps every 24 hours. The stored value is correct - 37 hours 50 minutes - but the display throws away whole days. Change the number format to [h]:mm, with square brackets around the h, and the same cell will show 37:50.
Is adding times different in Google Sheets and Excel?
Barely. Both store times as fractions of a day and both add them with SUM. The difference is where the format lives: in Sheets you pick Format, then Number, then Custom number format and type [h]:mm; in Excel it is Format Cells, then Custom. Sheets also offers a ready-made Duration format, which displays hours beyond 24 correctly.
How do I add 45 minutes to a time in a cell?
Add the TIME function: =A1 + TIME(0, 45, 0). Or add the fraction directly, since 45 minutes is 45/1440 of a day: =A1 + 45/1440. Both give the same result. To add hours and minutes together, use =A1 + TIME(2, 30, 0) for two and a half hours.
How do I turn a total like 37:50 into decimal hours for pay?
Multiply the total cell by 24. Because the value is stored as a fraction of a day, multiplying by 24 converts it to hours: 37:50 becomes 37.83. Format that cell as a plain number with two decimal places, then multiply by the hourly rate to get gross pay.
Why does typing 2.45 give the wrong answer?
Because 2.45 typed into a cell is a decimal number, not 2 hours 45 minutes. Two hours forty-five as a decimal is 2.75. Always type durations with a colon - 2:45 - so the spreadsheet treats the entry as a time. This colon-versus-decimal confusion is the single most common spreadsheet time error.
Johnson Ramzan builds and maintains every calculator on Time Calculator Tools himself, and he tests each one against worked examples he has done by hand before it is allowed near a reader. His guides follow US Department of Labor guidance on hours worked, overtime and rounding, and he writes them the way he would want a payslip explained to him: plain English, real numbers, and no step skipped. When a reader writes in with a shift pattern the tools handle badly, fixing it goes to the top of his list.
Last updated: October 21, 2026
Related guides
How to Add Hours and Minutes
The paper method the spreadsheet is secretly doing: columns, carrying at 60, and the convert-to-minutes check.
Read the guideConvert Hours and Minutes to Decimal
What the multiply-by-24 step is really doing, with the full minutes-to-decimal conversion chart.
Read the guideHow to Calculate Time Expressions
When times arrive as text like 1d 2h 3m, expressions evaluate the whole chain in one line.
Read the guideCommon Time Addition Mistakes
The 2.45 trap and its cousins: the errors that quietly corrupt timesheets, and how to spot each one.
Read the guide