ExcelReady
CourseMock testsFunction guidesBlog
Start freeStart learning for free
ExcelReady

Be Excel-ready before day one. Hands-on practice in your browser, with instant feedback.

Learn

  • Course
  • Mock tests
  • Function guides
  • Blog

Test prep

  • Excel level test
  • Excel test practice
  • Free screening quiz
  • Certificate

Company

  • About
  • Editorial policy
  • Contact
  • Terms
  • Privacy

© 2026 ExcelReady. All rights reserved.

  1. Blog
  2. Dates
  3. Convert Decimal Hours to Time (hh:mm) in Excel

Convert Decimal Hours to Time (hh:mm) in Excel

By ExcelReady Team·Updated November 3, 2026·6 min read

The short answer

To convert decimal hours to time in Excel, divide by 24 and format the cell as time. With 7.75 in A2, =A2/24 formatted as h:mm shows 7:45. Use the format [h]:mm when the total can pass 24 hours. For a text label, use =TEXT(A2/24,"h:mm"). Divide minutes by 1440 instead.

Key takeaways

  • Excel stores time as a fraction of a day, so decimal hours ÷ 24 gives a real time value.
  • Format the result as h:mm, or [h]:mm if it can be 24 hours or more.
  • =TEXT(A2/24,"h:mm") returns text: good for labels, but you can't add it up.
  • Decimal minutes ÷ 1440 and decimal seconds ÷ 86400 work the same way.
  • To go back from a time to decimal hours, multiply by 24 and format as General.
On this page+
  1. How Excel stores time (and why you divide by 24)
  2. Convert decimal hours to hh:mm with a number format
  3. Convert decimal hours to time text with TEXT
  4. Totals over 24 hours: use [h]:mm
  5. Convert decimal minutes or seconds to time
  6. Round to the nearest minute first
  7. Convert time back to decimal hours
  8. Common mistakes
  9. Practise it

To convert decimal hours to time in Excel, divide the number by 24 and format the result as a time. So 7.75 hours becomes =A2/24, which shows 7:45 in the h:mm format. This guide is for anyone working with timesheets, project hours or exported reports, where 7.75 needs to read as 7 hours 45 minutes. It covers the number format, the TEXT function, totals over 24 hours and the reverse conversion.

How Excel stores time (and why you divide by 24)#

Excel stores time as a fraction of one day. The number 1 is a full day of 24 hours, so 0.5 is 12 hours and 0.25 is 6 hours. A time like 7:45 is really the number 0.322916…, formatted to look like a clock.

A decimal such as 7.75 means 7.75 hours. To turn hours into Excel's "fraction of a day", divide by the number of hours in a day:

Decimal hoursFormulaStored valueShown as h:mm
7.75=A2/240.32297:45
8.5=A3/240.35428:30
6.25=A4/240.26046:15
9.4=A5/240.39179:24

The part after the decimal point is a share of an hour, not minutes. That is why 9.4 hours is 9:24 (0.4 × 60 = 24 minutes), not 9:40. The date basics lesson shows how dates use the same number system.

Convert decimal hours to hh:mm with a number format#

The best method keeps the result as a real number, so you can still add and subtract it. With decimal hours in A2:

  1. In B2, type =A2/24 and press Enter.
  2. Open Format Cells (Windows: Ctrl+1; Mac: ⌘1).
  3. Choose Custom and type h:mm in the Type box, or hh:mm for a leading zero (07:45).
  4. Click OK and fill the formula down.

B2 now shows 7:45, but the cell still holds 0.3229. That matters: you can sum the column, subtract it from a deadline, or compare it with another time. The guide to custom number formats explains the format codes in more detail.

Convert decimal hours to time text with TEXT#

The TEXT function converts the number and formats it in one step, returning text:

Excel formula
=TEXT(A2/24,"h:mm")

With 7.75 in A2, this returns 7:45 as text. It is handy when you want to join the time into a sentence:

Excel formula
="Worked "&TEXT(A2/24,"h:mm")&" hours"

That gives Worked 7:45 hours. The catch is that text can't be added up: =SUM() over TEXT results returns 0. Use TEXT for labels and reports, and the number-format method for anything you calculate with. The TEXT function guide and the article on TEXT function formats list the other codes. The TEXT and VALUE lesson shows how to switch between text and numbers.

Totals over 24 hours: use [h]:mm#

A normal h:mm format rolls over after 24 hours, just like a clock. If a week's hours total 30.25, =A2/24 formatted as h:mm shows 6:15: 1 full day is hidden and only the leftover 6 hours 15 minutes are shown.

Put the hours part in square brackets to show the full total:

Excel formula
=TEXT(30.25/24,"[h]:mm")

This returns 30:15. In Format Cells, the same custom format is [h]:mm. Use it for weekly totals, project hours and overtime. The time difference guide uses the same format when shifts add up past a day.

Convert decimal minutes or seconds to time#

Minutes and seconds work the same way. You just divide by a different number:

You haveDivide byExampleResult (h:mm:ss)
Hours24=7.75/247:45:00
Minutes1,440 (24 × 60)=135/14402:15:00
Seconds86,400 (24 × 60 × 60)=5025/864001:23:45

So a call log that records 135 minutes shows as 2:15 after =A2/1440.

You can also split the decimal yourself with INT and MOD. =INT(A2) gives the whole hours (7) and =MOD(A2,1)*60 gives the minutes (45). The article on MOD and INT explains both functions.

Round to the nearest minute first#

Decimals that don't divide evenly into minutes can show a surprise. 7.333 hours is 7 hours 19.98 minutes, so depending on the format it may display as 7:19 or 7:20. To be safe, round to whole minutes before you format:

Excel formula
=ROUND(A2*60,0)/1440

A2*60 turns hours into minutes, ROUND makes it a whole number (440), and /1440 turns the minutes into a time. Formatted as h:mm, it shows 7:20.

You may also see =TIME(INT(A2),MOD(A2,1)*60,0). It works for many values, but TIME drops any fraction of a minute and wraps around after 24 hours, so /24 with [h]:mm is the more reliable choice for totals.

Convert time back to decimal hours#

To go the other way, multiply by 24. With the time 7:45 in B2:

Excel formula
=B2*24

The result is 7.75. If it shows as a time such as 18:00, change the cell's format to General or Number. This is the conversion you need for pay: hours × hourly rate only works with decimal hours. The guide to adding hours to a time shows the same /24 and *24 steps in reverse.

Common mistakes#

These are the usual reasons a converted time looks wrong:

  1. Formatting without dividing. Formatting 7.75 as h:mm shows 18:00, because Excel reads it as 7.75 days.
  2. Reading .4 as 40 minutes. 9.4 hours is 9:24. The decimal is a share of an hour.
  3. Totals that reset. Use [h]:mm for anything that can reach 24 hours.
  4. Adding TEXT results. TEXT returns text, so totals come out as 0. Keep a number column for maths.
  5. Negative times. In the default date system, a negative time shows as ##### instead of a value. Check the subtraction order.

Practise it#

Converting decimals to time is one formula, but it is easy to get wrong under pressure. Try the exercise on this page, then practise TEXT and VALUE in a live spreadsheet and revisit how Excel stores dates as numbers, the same idea behind time values. In both lessons you type the formula and it checks your answer instantly.

Try it yourself

This is a live spreadsheet. Type the formula in the green cell and press Enter.

Column B holds hours worked as decimals. Click C5 and use TEXT to show Omar's 9.4 hours as hours and minutes (h:mm), then press Enter.

fx
ABCD
1
Employee
Hours
As time
2
Nadia
7.75
3
Tom
8.5
4
Lena
6.25
5
Omar
9.4
6
Ivy
4.6
7
8
9

Tip: Divide the hours by 24 to get a time value, then wrap it in TEXT with the format "h:mm".

Practise this in a lesson

LessonHow Excel stores dates: DATE, YEAR, MONTH, DAYLearn why every date is secretly a number, then build dates with DATE and take them apart with YEAR, MONTH and DAY.LessonTEXT and VALUE: numbers to text and backFormat dates and dollar amounts inside sentences with TEXT, and turn digits stored as text into real numbers with VALUE.Function guideTEXTFormat dates, prices and percentages inside labels with Excel's TEXT function. Format codes, common mistakes and a live practice exercise.

Frequently asked questions

How do I convert 7.5 hours to hours and minutes in Excel?

+

Type =7.5/24, or =A2/24 if 7.5 is in A2, and format the cell as h:mm. It shows 7:30. For a text result, use =TEXT(A2/24,"h:mm").

Why does my decimal show as 0:00 or a strange time?

+

You probably formatted the decimal itself as a time without dividing by 24. Excel reads 7.75 as 7.75 days, so h:mm shows 18:00. Divide by 24 first.

How do I show more than 24 hours?

+

Use the custom format [h]:mm. The square brackets stop Excel from rolling over to a new day, so 30.25 hours shows as 30:15 instead of 6:15.

How do I convert decimal minutes to time in Excel?

+

Divide by 1440, the number of minutes in a day. With 135 in A2, =A2/1440 formatted as h:mm shows 2:15.

How do I convert time back to a decimal?

+

Multiply the time by 24 and format the result as General or Number. 7:45 becomes 7.75 hours. Multiply by 1440 for minutes.

Sources

  • TEXT function - Microsoft Support
  • Create a custom number format - Microsoft Support
  • Date systems in Excel - Microsoft Support

Written and checked by the ExcelReady Team. First published November 3, 2026. The practice exercise runs in the same formula engine as our lessons. Found a mistake? Read our editorial policy or email hello@excelready.app.

On this page

  1. How Excel stores time (and why you divide by 24)
  2. Convert decimal hours to hh:mm with a number format
  3. Convert decimal hours to time text with TEXT
  4. Totals over 24 hours: use [h]:mm
  5. Convert decimal minutes or seconds to time
  6. Round to the nearest minute first
  7. Convert time back to decimal hours
  8. Common mistakes
  9. Practise it

Keep reading

Dates· 6 min read

Calculate the Difference Between Two Times in Excel

To calculate the difference between two times in Excel, subtract the start time from the end time: =C2-B2. Format the result as h:mm to see hours and minutes, or multiply by 24 to get decimal hours: =(C2-B2)*24. For shifts that end after midnight, use =MOD(C2-B2,1) so the result is never negative.

Dates· 6 min read

How to Add Hours and Minutes to a Time in Excel

To add hours to a time in Excel, use =A2+TIME(3,30,0) to add 3 hours 30 minutes, or =A2+B2/24 when B2 holds a number of hours like 3.5. Excel stores a day as 1, so one hour is 1/24 and one minute is 1/1440. Format the result as a time, and wrap it in MOD(...,1) if it can pass midnight.

Productivity· 5 min read

Custom Number Formats in Excel

A custom number format changes how a number looks without changing its value. Select the cells, press Ctrl+1 (Mac: ⌘1), choose Custom and type a code in the Type box, such as 00000 for leading zeros, #,##0,"K" for thousands or 0 "kg" for units. Formulas still use the real number underneath.

More on dates

  • How to Convert Text to Dates in Excel
  • Convert Time Zones in Excel With a Simple Formula
  • How to Count Dates by Month in Excel
  • How to Get a Date From a Week Number in Excel
  • DATE, YEAR, MONTH and DAY in Excel
  • Get the Day Name From a Date in Excel
All dates articles →

Don't just read about Excel. Do it.

Practise real formulas in a live spreadsheet with instant feedback, right in your browser. Nothing to download.

Start learning for free