Digital video file size is determined strictly by aggregate bitrate (video stream + audio stream) multiplied by duration, completely independent of pixel resolution:
The Universal File Size Formulation
File Size (MB) = ( (Bitrate_video_kbps + Bitrate_audio_kbps) × Duration_seconds ) ÷ 8,000
A common misconception among creators is that 4K video is inherently larger than 1080p. If both files are rendered at 15 Mbps, they occupy the exact same byte size on disk. However, distributing 15 Mbps over 8.3 million pixels (4K) results in lower per-pixel bit allocation than across 2.07 million pixels (1080p).