Intermediate

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.

Книга1 - Excel
—☐✕
C2fx=B2*86400
ABCDE
1AgentDurationSecondsMinutes
2Aziz00:03:252053,42
3Dilnoza00:12:0872812,13
4Javokhir01:05:303 93065,50
5Malika00:00:48480,80
6
Готово
0:03:25 = 205 seconds = 3.42 minutes. One multiplication

Method 1: multiply by 86400

1

Type =B2*86400 in C2 (or, more readable, =B2*24*60*60). The result is 205.

Книга1 - Excel
—☐✕
C2fx=B2*86400
ABCD
1AgentDurationSeconds
2Aziz00:03:252051
3Dilnoza00: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.

Книга1 - Excel
—☐✕
E2fx=B2*3600+C2*60+D2
ABCDEF
1DurationHoursMinutesSecondsTotal seconds
201:05:3015303 930
300:12:080128728
4
5
Готово
1:05:30 = 1×3600 + 5×60 + 30 = 3930 seconds

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.

Книга1 - Excel
—☐✕
C2fx=ВРЕМЗНАЧ("0:"&A2)*86400
ABCD
1TextTIMEVALUE ×86400Correct way
203:2512 3002205
312:0843 680728
4
5
Готово
“03:25” was read as hours:minutes — 12,300 seconds. With “0:” in front — 205

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 the hh:mm:ss format.
  • 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.000 format; to seconds — the same ×86400.
  • The CONVERT function: =CONVERT(B2;"day";"sec") equals ×86400, but the formula explains itself.
Книга1 - Excel
—☐✕
D3fx=ОКРУГЛВВЕРХ(C3/60;0)
ABCDEF
1CallDurationSecondsMinutes (up)Price
2#100:03:252054600
3#200:12:08728131 950
4#300:00:48481150
5Total981182 700
6
Готово
Even a 48-second call is billed as a full minute — ROUNDUP

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.

Книга1 - Excel
—☐✕
Буфер обмена
Шрифт
Выравнивание
Число
Стили
Ячейки
Редактирование
✕✓fx
ABCDEFGHIJKLMNOPQRSTUVWX
1AgentDurationSecondsHMS methodMinutes
2Aziz0,00237268518519
3Dilnoza0,00842592592593
4Javokhir0,0454861111111
5Malika0,000555555555556
6
7
8
9
10
Лист1
Готово

Has ExcelLab been useful?

Support the project and help us release new lessons and exercises.

Support us
Previous

150 / 154