What is the best video size for let's say a 5 minute video. I want to host my own videos. So, I want to understand more.

What is an acceptable size?

  • 3
    Why not have a look at youtube's specs for a ballpark? Then test it on your server on a variety of devices and locations. bit.ly/1NNxDhX
    – stib
    Commented Aug 29, 2015 at 11:58
  • @stib Why not converting this into an answer?
    – p2or
    Commented Sep 18, 2015 at 11:43
  • 3
    possible duplicate of How to compress videos for a website?
    – Fred42vid
    Commented Sep 21, 2015 at 11:18

2 Answers 2


First off, why host your own videos? YouTube, Vimeo and many others have awesome embed tools, and unless you have a couple of GB to waste on your host, they're very practical.

But to your question, 1080x720 is perfectly fine, and creates a reasonable file size. 1920x1080 is pushing it a little, and 4K is just overkill.

I'm a web developer too, and when I have to host videos for a live background, featured video, etc, 1080x720 is my go to resolution, and I host things of larger size on YouTube since they'll take something like a 4K video, and give viewers the option of a resolution as low as 360p.


I would analyze how YouTube encodes videos, as described in this answer. It also helps you to understand the logic behind it.

  • Someone removed our close votes, but I don't understand why downvoted your answer then... Anyway, removed my comment and upvoted the answer! :)
    – p2or
    Commented Oct 12, 2015 at 10:06

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.