How to convert time to seconds and minutes in Excel: ×86400, HOUR/MINUTE/SECOND and back
Convert time to seconds, minutes and hours in Excel: multiply by 86400, HOUR/MINUTE/SECOND, times stored as text, the “03:25” trap, and turning seconds back into time.
A call-center system reports call durations like 0:03:25. The manager asks “how many seconds is an average call?”, a mobile operator bills per minute, and a coach compares athletes’ results in seconds.
The answer rests on one fact: in Excel, time is a fraction of a day, and a day has 24 × 60 × 60 = 86,400 seconds. Multiply a time by 86400 and you get seconds, by 1440 — minutes, by 24 — hours.
| A | B | C | D | E | |
|---|---|---|---|---|---|
| 1 | Agent | Duration | Seconds | Minutes | |
| 2 | Aziz | 00:03:25 | 205 | 3,42 | |
| 3 | Dilnoza | 00:12:08 | 728 | 12,13 | |
| 4 | Javokhir | 01:05:30 | 3 930 | 65,50 | |
| 5 | Malika | 00:00:48 | 48 | 0,80 | |
| 6 |
Method 1: multiply by 86400
1
Type =B2*86400 in C2 (or, more readable, =B2*24*60*60). The result is 205.
| A | B | C | D | |
|---|---|---|---|---|
| 1 | Agent | Duration | Seconds | |
| 2 | Aziz | 00:03:25 | 2051 | |
| 3 | Dilnoza | 00:12:08 | ||
| 4 | ||||
| 5 |
2
If you see something like 00:00:00 instead of 205, Excel copied column B’s time format to the result. Select the cell → Главная → Number group → General.
3
Fill down. Same logic: =B2*1440 gives minutes (3.42), =B2*24 gives hours (0.057).
Method 2: HOUR, MINUTE, SECOND — piece by piece
1
Take each part separately and convert to seconds: =ЧАС(B2)*3600+МИНУТЫ(B2)*60+СЕКУНДЫ(B2). It’s longer, but anyone reading it can see what’s going on.
| A | B | C | D | E | F | |
|---|---|---|---|---|---|---|
| 1 | Duration | Hours | Minutes | Seconds | Total seconds | |
| 2 | 01:05:30 | 1 | 5 | 30 | 3 930 | |
| 3 | 00:12:08 | 0 | 12 | 8 | 728 | |
| 4 | ||||||
| 5 |
2
This only works for times under 24 hours: HOUR returns 0 to 23 and drops whole days. For 26:00:00, HOUR returns 2. For long durations use ×86400 only.
Method 3: when the time arrives as text
1
An exported “00:03:25” is often text (aligned left). =ВРЕМЗНАЧ(B2)*86400 turns it into a time first, then into seconds. Often =B2*86400 works too — in arithmetic Excel tries to convert the text to a time by itself.
2
Careful: “03:25” is not 3 minutes — it’s 3 hours 25 minutes! Excel always reads a two-part entry as hours:minutes. If it means minutes:seconds, prefix it with “0:”: =ВРЕМЗНАЧ("0:"&B2)*86400.
| A | B | C | D | |
|---|---|---|---|---|
| 1 | Text | TIMEVALUE ×86400 | Correct way | |
| 2 | 03:25 | 12 3002 | 205 | |
| 3 | 12:08 | 43 680 | 728 | |
| 4 | ||||
| 5 |
The reverse: from seconds back to time
If a system reports a duration as 3930 seconds, divide by 86400 to make it readable: =A2/86400, then give the cell the hh:mm:ss format → 01:05:30.
- From minutes:
=A2/1440. - From decimal hours: 8.75 h →
=A2/24→ 8:45. - If the result can exceed 24 hours, use
[h]:mm:ss; otherwise 26 hours shows as 02:00:00.
Pro level: per-minute billing, average duration and filters
- Charging for every started minute (how mobile operators bill):
=ОКРУГЛВВЕРХ(C2/60;0)*$F$1. 205 seconds → 4 minutes → 4 × 150 = 600 soums. - Average call:
=СРЗНАЧ(C2:C100)in seconds; as a time,=СРЗНАЧ(B2:B100)with thehh:mm:ssformat. - Calls longer than 10 minutes:
=СЧЁТЕСЛИ(B2:B100;">"&ВРЕМЯ(0;10;0))— compare against TIME, not the text “0:10:00”. - Sports results: for milliseconds use the
mm:ss.000format; to seconds — the same ×86400. - The CONVERT function:
=CONVERT(B2;"day";"sec")equals ×86400, but the formula explains itself.
| A | B | C | D | E | F | |
|---|---|---|---|---|---|---|
| 1 | Call | Duration | Seconds | Minutes (up) | Price | |
| 2 | #1 | 00:03:25 | 205 | 4 | 600 | |
| 3 | #2 | 00:12:08 | 728 | 13 | 1 950 | |
| 4 | #3 | 00:00:48 | 48 | 1 | 150 | |
| 5 | Total | 981 | 18 | 2 700 | ||
| 6 |
Try it in the simulator
Column B holds call durations (the simulator shows them as fractions of a day). Type =ОКРУГЛ(B2*86400;0) in C2 and =ЧАС(B2)*3600+МИНУТЫ(B2)*60+СЕКУНДЫ(B2) in D2, and check that they match. Then type =ОКРУГЛВВЕРХ(C2/60;0) in E2 to get billable minutes, and fill everything down to row 5.
| A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | S | T | U | V | W | X | |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 | Agent | Duration | Seconds | HMS method | Minutes | |||||||||||||||||||
| 2 | Aziz | 0,00237268518519 | ||||||||||||||||||||||
| 3 | Dilnoza | 0,00842592592593 | ||||||||||||||||||||||
| 4 | Javokhir | 0,0454861111111 | ||||||||||||||||||||||
| 5 | Malika | 0,000555555555556 | ||||||||||||||||||||||
| 6 | ||||||||||||||||||||||||
| 7 | ||||||||||||||||||||||||
| 8 | ||||||||||||||||||||||||
| 9 | ||||||||||||||||||||||||
| 10 |
Has ExcelLab been useful?
Support the project and help us release new lessons and exercises.