Pedro Trebbau Lopez
4K represents the horizontal resolution because there are numerous aspect ratios used in film. So while the horizontal resolution remains constant, vertical depends on the aspect ratio with which the director decides to work.
There are different resolutions that qualify as 4K. Since July 2010, the Youtube has allowed to upload videos at a resolution of up to 4096×3072 (4:3).