Convert Excel Time to Decimal Hours: The Complete Formula Guide for Timesheets, Payroll, and Billing
Learn how to convert Excel time to decimal hours using simple multiplication, HOUR/MINUTE formulas, and formatting tricks for accurate payroll and billing.

If you have ever tried to convert Excel time to decimal hours for a payroll spreadsheet, a client billing log, or a project tracker, you already know the frustration. You type 8:30 into a cell expecting Excel to treat it like eight and a half hours, but the moment you try to multiply it by an hourly wage, the result looks completely wrong. The answer is tiny, the formatting is strange, and the totals never match what the calculator on your desk says. Excel is not broken, it just stores time differently than most people expect.
Excel stores every time value as a fraction of a 24 hour day. The number 1 represents one full day, 0.5 represents twelve hours, and 0.25 represents six hours. When you see 8:30 on the screen, Excel is actually holding the underlying value 0.354166, which is 8.5 divided by 24. To convert that hidden decimal back into a number you can multiply, add, or invoice against, you need to either multiply by 24 or pull the hours and minutes apart with dedicated functions.
This guide walks through every reliable way to convert time to decimal hours, from the simplest one-cell formula to the more advanced HOUR and MINUTE breakdown that handles overnight shifts. We will cover formatting, rounding to the nearest quarter hour, and the common errors that cause negative results or pound signs to appear. Whether you are a freelancer logging billable work or a manager closing a biweekly payroll cycle, the techniques here will save hours every month.
Decimal hours are the standard format for almost every payroll and accounting system in the United States. ADP, QuickBooks, Gusto, and most ERP platforms expect 8.5 rather than 8:30 when you import a timesheet. If you submit 8:30 to one of these systems, it will likely interpret the colon as a text separator and reject the row. Converting in Excel before export prevents rejected imports, miscalculated wages, and the awkward conversations that follow when an employee notices a short paycheck.
The most common formula is also the shortest. If cell A1 holds the time value 8:30, then the formula =A1*24 returns 8.5 instantly. That single multiplication works because you are reversing the division Excel already performed when it stored the value. The catch is that the cell containing the formula must be formatted as a number, not as time, or Excel will helpfully convert your decimal right back into 8:30 and you will think nothing happened.
Throughout this article you will see real timesheet examples, screenshots of the cell format dialog, and copy-paste formulas that you can drop straight into your own workbook. We will also cover the differences between converting a duration like 8 hours 30 minutes worked and converting a clock time like 8:30 AM into a decimal of the day. These are two very different calculations, and confusing them is the single biggest reason timesheet formulas produce garbage.
By the end of this guide you will have a reusable formula for any conversion scenario, a checklist to debug bad results, and a clear understanding of how Excel handles time math under the hood. That knowledge transfers to date calculations, overtime rules, and the kind of conditional pay logic that turns a spreadsheet from a tracker into a true payroll tool.
Excel Time Conversion by the Numbers

Step by Step Methods to Convert Excel Time to Decimal Hours
Enter the Time Value
Apply the Multiplier
Format as Number
Round if Needed
Copy Down the Column
To understand why the multiply by 24 trick works, you have to look at how Excel represents both dates and times under the surface. Excel uses a serial number system where January 1, 1900 is day 1, January 2 is day 2, and so on. Today, May 21, 2026, is serial number 46163. Time values are simply the decimal portion of that serial number. Noon is 0.5 because it is halfway through the day, 6 AM is 0.25, and 6 PM is 0.75. The colon in 8:30 is a display convention, not a storage format.
This explains why a formula like =A1+B1 works when A1 holds 4:00 and B1 holds 3:30. Excel simply adds 0.166666 to 0.145833 and gets 0.3125, which it then displays back in time format as 7:30. The arithmetic is real and precise, even though the display looks like clock math. Problems arise when you want a number out of that operation. Multiplying any of those fractions by 24 converts the day fraction into hours, which is exactly what payroll needs.
The minute version of the same trick uses 1440 as the multiplier because there are 1440 minutes in a 24 hour day. If you need total minutes worked rather than decimal hours, the formula =A1*1440 converts 8:30 into 510 minutes. This is useful for call center reports, billable minute tracking, and any system that prices work by the minute rather than the hour. Both formulas rest on the same underlying truth about Excel storage.
Decimal hours and clock time are not the same thing and confusing them is the root of most timesheet bugs. Clock time tells you when something happened, like 8:30 AM. Duration tells you how long something lasted, like 8 hours and 30 minutes. Excel stores both as the same kind of fraction, which is convenient for arithmetic but dangerous if you forget which value you are working with. Always label your columns clearly as Start, End, Hours Worked, or Decimal Hours to avoid mixing them up.
Many users rely on shortcuts like Freeze Panes in Excel to keep their timesheet headers visible while they scroll through long lists of entries. Combining frozen panes with consistent time conversion formulas creates a timesheet that is both easy to navigate and reliable to export. Pair these with named ranges and you have a workbook that scales from one employee to one hundred without breaking.
One subtle gotcha is the way Excel handles times that cross midnight. If an employee clocks in at 22:00 and out at 06:30 the next morning, a naive End minus Start formula returns negative 15.5 hours because Excel does not know the dates differ. The fix is either to include the date with each time entry or to use MOD, written as =MOD(B1-A1,1)*24. The MOD function wraps the negative fraction back into the positive range so the conversion produces the correct 8.5 hours.
Finally, format cells dialogs hide a useful number format code, [h]:mm, that lets you display totals greater than 24 hours without rolling over. Without the square brackets, a sum of 25 hours displays as 1:00 because Excel treats the value as more than one day. With the bracket format, the same value correctly displays as 25:00. Use this format when summing weekly hours before multiplying by 24 for a clean decimal total.
Comparing Conversion Methods Alongside Other Excel Skills Like VLOOKUP Excel
The simplest approach is the formula =A1*24. It works in any version of Excel, requires no helper columns, and produces the cleanest decimal result. The only requirement is that the destination cell be formatted as a number, not as time. This method handles fractional minutes accurately, so 8:37 returns 8.6166 rather than rounding to 8.62 automatically. If you need rounding, wrap the formula in ROUND or MROUND.
This method is the right choice for most timesheets, billing logs, and payroll exports. It also pairs well with sumifs and other aggregation functions because the result is a true number. The downside is minimal, but if your time values include text or empty cells, the formula returns #VALUE! errors. Use IFERROR to suppress those for cleaner reports, like =IFERROR(A1*24,0) when blank rows are expected at the bottom.

Pros and Cons of Converting Time to Decimal in Excel
- +Decimal hours import cleanly into ADP, QuickBooks, Gusto, and most major payroll systems
- +Multiplying decimal hours by hourly wage gives accurate gross pay in one formula
- +Decimals make weekly and biweekly totals easy to sum without bracket formatting
- +Conditional logic for overtime is simpler with decimals because 40 is just 40
- +Reporting in decimals matches how managers think about labor costs
- +Decimals avoid the common spreadsheet bug where 24 plus hours roll over to a new day
- +Charts and pivot tables handle decimal columns better than time formatted ones
- −Decimal display is less intuitive for employees who think in hours and minutes
- −Rounding decisions like 0.6166 versus 0.62 must be explicit to avoid pay disputes
- −Cells often inherit time format and need manual reformatting after the formula
- −Cross midnight shifts require MOD or date aware formulas to avoid negative results
- −Decimal hours can hide the fact that someone worked from 11 PM to 7 AM
- −Quarter hour rounding rules vary by employer and may require MROUND customization
Timesheet Setup Checklist for Reliable Decimal Hour Conversion
- ✓Format the time entry column as h:mm and confirm values right align after entry
- ✓Add a separate Decimal Hours column with the formula =CellReference*24
- ✓Format the Decimal Hours column as Number with two decimal places
- ✓Use MOD style formulas for any shift that might cross midnight
- ✓Apply MROUND with 0.25 if your payroll system rounds to quarter hours
- ✓Label columns clearly as Clock In, Clock Out, Hours Worked, and Decimal Hours
- ✓Wrap formulas in IFERROR to keep blank rows from displaying error codes
- ✓Freeze the header row so column labels stay visible while scrolling
- ✓Add data validation to prevent text entries in time columns
- ✓Build a weekly total row using SUM on the decimal column, not the time column
- ✓Test the workbook with one known time value before rolling it out to a team
- ✓Save a template version with formulas in place so new weeks start clean
Always format the result cell as a Number before trusting the output
The single most common mistake when you convert Excel time to decimal hours is forgetting to change the destination cell format. Excel inherits the time format from the source cell, so 8.5 keeps displaying as 8:30. Right click the cell, choose Format Cells, and pick Number with two decimals. Only then does the conversion become visible and usable in downstream calculations.
Errors are inevitable when you first build a timesheet that converts time to decimal hours. The most common is the formula appearing to do nothing because the result cell is still formatted as time. You type =A1*24, press Enter, and the cell still shows 8:30. The math worked, Excel just displayed it wrong. Open Format Cells with Ctrl+1, choose Number, and the decimal appears immediately. This is not a bug, it is the price of Excel inheriting formats aggressively from source cells.
Another frequent issue is the pound sign display, where the cell shows a row of hash marks instead of a value. This usually means the column is too narrow to display the formatted number. Double click the right border of the column header to autofit, or drag the boundary wider manually. Pound signs can also appear when a formula produces a negative time value, which Excel cannot display in time format. Switching the cell to Number format reveals the actual negative decimal.
Negative time values almost always trace back to overnight shifts. If an employee clocks in at 23:00 and out at 07:00, the End minus Start subtraction produces a negative 16. Excel cannot show negative time, so it displays pound signs. The MOD trick =MOD(B1-A1,1)*24 wraps the value back into positive territory and returns the correct 8 hours. This is the single most important formula to know if your business operates outside standard daytime hours.
Text masquerading as time is another silent failure. If you import data from a CSV or paste from a web report, time values often arrive as text strings. They look like 8:30 but Excel left aligns them and treats them as text. The fix is the TIMEVALUE function, which converts a text time to a real time value. Wrap your conversion as =TIMEVALUE(A1)*24 and the result becomes a usable decimal even when the source is text.
Rounding errors deserve their own paragraph because they cause real money disputes. If you simply multiply 8:37 by 24, you get 8.6166 repeating. Display it with two decimals and it shows 8.62. Sum twenty such rows and the rounded total may differ from the sum of unrounded values by a few cents. To avoid this, decide on a rounding strategy at the formula level, not at the display level. =ROUND(A1*24,2) commits the decimal to two places permanently so all downstream math matches what employees see.
The dreaded #VALUE! error usually means one of the cells in your formula contains text instead of a time. Even an apostrophe in front of a numeric value forces it into text mode. ISTEXT(A1) returns TRUE if the cell holds text, which is your diagnostic clue. You can clean an entire column of text-formatted times by selecting it, opening Data, Text to Columns, and finishing the wizard without changing anything. Excel re-evaluates every cell and converts numeric text to real numbers.
Finally, watch for time values copied from web pages that include trailing spaces or non-breaking characters. These look identical to clean times but break formulas. The TRIM and CLEAN functions remove them, and CLEAN handles non-breaking spaces while TRIM handles regular spaces. A safe import formula is =TIMEVALUE(TRIM(CLEAN(A1)))*24, which strips invisible characters, converts text to time, and multiplies for decimal hours all in one step.

If any employees work shifts that cross midnight, a simple End minus Start subtraction will produce negative results displayed as pound signs. Always use =MOD(End-Start,1)*24 to handle overnight hours correctly. Skipping this step has caused countless payroll errors and underpaid wages on graveyard shifts, especially in healthcare, hospitality, and warehousing where overnight schedules are routine.
Once your conversion formulas are working, the next step is to integrate them into a payroll or billing process that runs every week without drama. Start by separating raw entries from calculated columns. Raw entries are what employees fill in, ideally just Clock In and Clock Out. Calculated columns include Hours Worked in time format, Decimal Hours, Regular Hours, Overtime Hours, and Gross Pay. Locking the calculated columns with worksheet protection prevents accidental formula deletion when staff edit their own rows.
For weekly summaries, sum the decimal hours column first, then apply overtime rules. A common formula is =IF(SUM(B2:B8)>40,40,SUM(B2:B8)) for regular hours and =MAX(SUM(B2:B8)-40,0) for overtime. Multiply each by the appropriate rate and add the results for gross pay. This structure mirrors how most US payroll systems calculate weekly wages and makes audits easier because each step shows its work. Mastering Standard Deviation Formula in Excel may seem unrelated, but the same statistical thinking helps you spot abnormal time entries.
For billable hours, the integration looks slightly different. Instead of overtime logic, you typically multiply decimal hours by a project specific rate using a lookup. VLOOKUP or XLOOKUP can pull the rate from a separate Rates table based on the project code. This lets you change rates in one place without touching every timesheet row, and it also makes client invoicing a near automatic process. A pivot table on top of the converted column gives you total billable hours per project, per client, or per consultant with one refresh.
Backup and version control matter more than people think for timesheet workbooks. A single accidental delete can erase a week of time entries. Use OneDrive or SharePoint to enable AutoSave and version history, which lets you roll back to any earlier state. For local files, keep a dated backup folder and copy the workbook into it every Friday after submitting payroll. Regulators in some industries require records to be retained for years, and a corrupted file with no backup is a compliance problem you do not want.
If you manage multiple employees, consider one workbook per pay period with one sheet per employee, plus a summary sheet that pulls totals from each sheet using SUMIF or direct references. This structure keeps individual data private when sharing a single employee tab, while still letting you compile organization-wide totals in seconds. It also makes year-end reporting straightforward because each pay period is its own snapshot rather than a tangled accumulation.
Documentation matters even for personal spreadsheets. Add a small Notes column or a separate Documentation tab that explains every formula in plain English. Six months from now, when you have forgotten the logic, those notes will save an hour of head scratching. Include the date the formula was last changed and who changed it. This level of discipline turns a fragile spreadsheet into a durable tool that survives staff turnover and software updates.
Finally, do not be afraid to graduate to dedicated time tracking software once your team grows past about ten employees. Spreadsheets are excellent for solos, freelancers, and small teams, but the manual entry and reconciliation overhead grows quadratically with headcount. Tools like Toggl, Harvest, and Clockify can export decimal hours directly, removing the conversion problem entirely. Until then, your Excel conversion formulas will carry you reliably for years.
Putting all of this knowledge into practice starts with picking a single timesheet you already maintain and rebuilding it cleanly. Resist the urge to fix everything at once. Pick the Clock In, Clock Out, and Decimal Hours columns first and confirm they produce accurate values for one week. Once those work, add overtime logic, then pay rate calculations, then summary rows. Each layer builds on the previous one, and the discipline of testing in stages catches errors while they are still cheap to fix.
Build a small test harness before trusting your workbook with real payroll. Type known values like 8:00, 0:30, and 12:45 into the input column and verify the decimal outputs are exactly 8.00, 0.50, and 12.75. Add edge cases like 0:00, 24:00, and a cross midnight shift. If any of these produce surprising results, fix the formula before you put real timesheet data in. This five minute exercise has saved countless workbooks from quietly miscalculating wages for weeks before anyone noticed.
Train anyone else who touches the workbook on the difference between entering time and entering a decimal. The most common user error is typing 8.5 directly into the time column, which Excel interprets as the eighth day of the month in some locales or as the number 8.5 in others. Neither produces correct decimal hours. Provide a one page cheat sheet that shows the right way to enter shift times, and consider data validation rules that reject anything that does not look like a time value.
Periodically reconcile your converted decimals against the original time entries to catch drift. Pick a random row each week, eyeball the Clock In and Clock Out, calculate the duration mentally, and confirm the decimal matches. This thirty second check catches formula bugs introduced by row inserts, accidental overtypes, or copy paste errors. It also keeps you fluent in the underlying math, which is invaluable when troubleshooting unfamiliar workbooks inherited from a coworker.
Consider building a master template workbook with all the formulas, formatting, and validation rules in place. Each new pay period becomes a save as copy of the template, not a fresh build. Templates eliminate the slow drift of small inconsistencies that creeps into spreadsheets edited over years. They also make onboarding new admins trivial because they only need to learn one workbook structure, not a dozen variations that emerged organically over time.
Document every assumption your timesheet makes. Does it assume employees never work more than 24 hours in a row? Does it assume the workweek starts on Sunday or Monday? Does it round breaks separately from worked time? Write each assumption on a Documentation tab so future editors do not silently break a rule they did not know existed. The cost of writing this down is minutes, the cost of not writing it down can be hundreds of dollars in payroll errors.
Lastly, remember that converting Excel time to decimal hours is a skill that compounds. The same multiply by 24 trick handles project tracking, study hours for certification, exercise logs, billable consulting time, and contractor invoicing. Master it once and you have a tool you will reach for every week for the rest of your career. The five minutes you spend learning it now will pay back many times over in cleaner data, fewer errors, and faster monthly closes.
Excel Questions and Answers
About the Author
Business Consultant & Professional Certification Advisor
Wharton School, University of PennsylvaniaKatherine Lee earned her MBA from the Wharton School at the University of Pennsylvania and holds CPA, PHR, and PMP certifications. With a background spanning corporate finance, human resources, and project management, she has coached professionals preparing for CPA, CMA, PHR/SPHR, PMP, and financial services licensing exams.