New YouTube Partner Program rules: Feb 1, 2027Date announced, hour not (as of Nov 7, 2026). New applicants need 8,000 watch hours or 20 million Shorts views; partners must accept the new terms by Jan 31, 2027.

1Month29Days

Find the Total Length of a Playlist

YouTube shows how many videos a playlist has but not how long it runs. The command yt-dlp --flat-playlist --print duration followed by the playlist's link prints every video's length in seconds, and one more word adds them up. In Vi.ki's test on Nov 28, 2026 it gave 27 hours 59 minutes 36 seconds for MIT's 36-video linear algebra course in under two seconds, with no sign-in and no API key.

To find how long a YouTube playlist runs in total, run yt-dlp --flat-playlist --print duration "https://www.youtube.com/playlist?list=PLAYLIST_ID" and add up the numbers it prints, one length in seconds for each video. YouTube's own playlist page gives the number of videos and no total. On Nov 28, 2026 Vi.ki ran the command, signed out, on MIT OpenCourseWare's public course "MIT 18.06 Linear Algebra, Spring 2005", PLE7DDD91010BC51F8: 36 lines came back in 1.7 seconds and summed to 100,776 seconds, which is 27 hours 59 minutes 36 seconds.

Next: the same command printing IDs instead of lengths, the playlist that holds a whole channel, to total its uploads or how the speed setting cuts the hours.

The whole thing in one line

On Mac or Linux:

yt-dlp --flat-playlist --print duration "https://www.youtube.com/playlist?list=PLAYLIST_ID" | awk '{s+=$1} END {printf "%d videos, %d:%02d:%02d\n", NR, s/3600, s%3600/60, s%60}'

In Windows PowerShell:

$s = (yt-dlp --flat-playlist --print duration "https://www.youtube.com/playlist?list=PLAYLIST_ID" | Measure-Object -Sum).Sum; $t = [TimeSpan]::FromSeconds($s); "{0}:{1:00}:{2:00}" -f [int][Math]::Floor($t.TotalHours), $t.Minutes, $t.Seconds

Both were run on Nov 28, 2026 with yt-dlp 2026.10.26. The first printed 36 videos, 27:59:36, the second 27:59:36. The parts:

Part What it does
--flat-playlist Reads the playlist's list of entries without opening each video, so nothing is downloaded
--print duration Prints each entry's length in seconds, one per line
The link in quotes Any link with list= in it; the quotes keep ? and & from being read by the shell
awk ... or Measure-Object -Sum Adds the lines up; the rest only turns seconds into hours, minutes and seconds

What we measured

Playlist Videos Total Time taken
MIT 18.06 Linear Algebra, Spring 2005 (PLE7DDD91010BC51F8) 36 27:59:36 1.7 seconds
IGN's "Popular videos" list (UULP plus the channel's ID) 200 23:02:59 2.2 seconds

The first total can be checked against the page: the 36 lengths YouTube printed on the playlist page that morning also summed to 100,776 seconds. That check only works for short lists. A playlist page carries the first 100 videos in its code and loads the rest as you scroll, so for IGN's uploads list, which the page said held 20,000 videos, the page gave 100 lengths and the command is the only one of the two that reaches the end.

The MIT course averages 46 minutes 39 seconds a video, by our division. What that means for a plan:

Speed Time for all 36 lectures An hour a day
1x 27:59:36 28 days
1.25x 22:23:41 23 days
1.5x 18:39:44 19 days
2x 13:59:48 14 days

Why YouTube does not just show it

Nothing on the playlist page totals the lengths, which is why the question keeps being asked. Wonderful Devices put it in one sentence in a May 7, 2025 video: "YouTube in itself does not give away that you can see the length of a playlist." YouTube Help's article on playlists covers creating, editing, reordering and deleting them and says nothing about a total running time (Create & manage playlists, read Nov 28, 2026).

Without installing anything

The other route is a playlist length calculator, a web page that takes the playlist's link. In Simple Tech Digital's video of Jun 11, 2022, pasting a link and pressing Get length returned "the number of videos that are in the YouTube playlist", "the average length of the video" and "the total length of the YouTube playlist". Such sites come and go and each sets its own cap on how many videos it reads, so we name none; the check for any of them is the one above, a short playlist whose lengths you can add by hand.

For a playlist of a dozen videos, hand addition from the page is quick enough: each row shows its length on the thumbnail.

What the number leaves out

  • Videos the command cannot see. Private and deleted entries have no length. yt-dlp prints NA for a field it does not have, and awk counts that as zero, so the total is of the videos that can still be played. Neither of our two test lists had such an entry, so we have not seen how the PowerShell line treats one.
  • Live streams that have not happened. A scheduled stream has no length yet.
  • Changes after you ran it. A playlist's owner can add or remove videos at any time; the total is a reading, so note the date beside it.

What we think

We think the command is the better habit than a calculator site, for a plain reason: it reads the list from YouTube directly on your own machine, needs no account and no key, and gave the same answer as the page's own figures in our test. The sites are fine for a one-off, and they are what most people will use.

Sources

Moments

How to Find The Length of a YouTube Playlist

Wonderful Devices

  1. Nothing on the playlist page totals the lengths, which is why the question keeps being asked. Wonderful Devices put it…

How To View Youtube Playlist Length | Tutorial

Simple Tech Digital

  1. The other route is a playlist length calculator, a web page that takes the playlist's link. In Simple Tech Digital's…

See also

About this page

Last updated Nov 28, 2026 by the Vi.ki team. Page text CC BY-SA 4.0.

Edit History

Hotkeys

/
Jump to the search box
? or Ctrl + /
Open this list
Esc
Close this list, the photo viewer, or the account menu

Video

Space or K
Play or pause
← →
Back or forward 5 seconds
J L
Back or forward 10 seconds
0 to 9
Go to 0% to 90% of the video
, .
Previous or next frame, while paused
M
Mute or unmute
C
Captions on or off
F
Full screen on or off
A D
Previous or next moment

Photo viewer

← → or A D
Previous or next photo
↑ ↓ or W S
Previous or next photo
Home End
First or last photo
I
Show or hide the photo's info
Z
Clickless on or off: a pointer over a thumbnail shows it
N
Compare with the last photo: back to the one shown before this, and N again comes back
Q
Move the thumbnails to the next edge: top, bottom, left and round
, or Ctrl + ,
Open or close the viewer's settings
V
Clickless pan: a zoomed photo follows the pointer, rather than being dragged
Shift
Browse on or off
B
Show or hide the button bar
T
Show or hide the thumbnails
1
100% zoom on or off
0
Rate the photo as no opinion; again takes the answer back
+ -
Rate the photo a step higher or lower
F
Full screen: the photo alone. F again puts everything back.
Back to top