MKV vs MP4: which should you use?

A direct answer, a property comparison, measured file sizes and when to pick each format.

Short answer: MKV or MP4?

Use MP4 when the video has to play on phones, TVs, browsers and editing software without fuss. Use MKV when you need its flexibility, such as several audio tracks, subtitle tracks, chapters or codecs that MP4 cannot hold, and you play the file in a media player such as VLC. To share a video, convert MKV to MP4.

MKV and MP4 compared

PropertyMKVMP4
File extensions.mkv.mp4, .m4v
MIME typesvideo/x-matroskavideo/mp4
Developed byMatroska projectMPEG (ISO/IEC)
First released20022003
What opens itMKV files open in VLC, mpv, Kodi and MPC-HC, in media servers such as Plex and Jellyfin, and on many smart TVs and Android players.MP4 files play in the built-in video players of Windows, macOS, iOS and Android, in every current web browser and in VLC.

Measured file sizes

These are file sizes we measured with NexMedia's own conversion engines, not estimates. In our test of 3 video clips, every file was converted at NexMedia's default settings, and each cell is the size of the file the converter produced.

The same video and audio streams in each container
SampleMKV, VP9 + Opus (default settings)MP4, VP9 + Opus (default settings)
Live-action clip A (hay harvest)4.92 MB4.93 MB
Live-action clip B (tidal flat)1.73 MB1.73 MB
Cartoon animation clip293 kB294 kB
All samples together6.94 MB6.95 MB

Across all 3 video clips together, MP4 (default settings) came to 100% of the size of MKV (default settings).

MP4 (default settings) was smaller than MKV (default settings) for 1 of the 3 video clips.

The same H.264 and AAC streams, copied into another container
SampleMP4, H.264 + AAC source fileMKV, H.264 + AAC (streams copied)
Live-action clip A (hay harvest)8.24 MB8.23 MB
Live-action clip B (tidal flat)7.50 MB7.49 MB
Cartoon animation clip448 kB445 kB
All samples together16.18 MB16.17 MB

Across all 3 video clips together, MKV (streams copied) came to 100% of the size of MP4 source file.

MKV (streams copied) was smaller than MP4 source file for 3 of the 3 video clips.

The samples

How this was measured

Engines: libvips 8.14.1 for images and ffmpeg 5.1.9-0+deb12u1 for audio and video, the builds inside NexMedia's conversion worker image. Measured on November 12, 2026.

Video conversions used NexMedia's default settings: VP9 video at constant quality (CRF 32) and Opus audio at 128 kbit/s. Where a column says streams copied, the codec options were set to copy instead, which changes only the container.

The input of every video measurement is an H.264 and AAC MP4 made with ffmpeg from the first 10 seconds of a CC0 clip, because MP4 is what most people convert. The MP4 column in the first table is NexMedia's own WebM output converted to MP4, so all the containers in that table hold the same streams.

Quality is not measured here. A smaller file is not a better file: encoders trade size against detail differently, and the same quality number means different things in different codecs. Only lossless and uncompressed outputs keep every detail of the data they were given.

Results depend on the content of each file, so other files can give different sizes. Treat these numbers as one reproducible test, not as a rule.

When to choose which

  • Sharing or uploading a video

    Convert to MP4. Browsers, phones, TVs and social networks accept it far more readily than MKV.

  • Movies with several languages and subtitles

    MKV can keep many audio and subtitle tracks and chapter marks in one file, which is why it is popular for ripped discs and downloads.

  • Recording and editing

    Some recording programs prefer MKV because an interrupted recording is easier to recover. Convert to MP4 before editing in programs that do not read MKV.

  • Keeping the original quality

    Changing only the container does not touch the picture. If the video and audio inside are already formats MP4 can hold, a rewrap keeps them unchanged; NexMedia's codec options include a copy setting for that. A conversion that re-encodes always loses a little quality.

The formats

Convert between them

Converter and compression tools

More comparison guides

Frequently asked questions

Is MKV better than MP4?

MKV is more flexible, MP4 is more compatible. MKV can hold more kinds of video, audio and subtitle tracks, while MP4 plays on nearly every device and is the format most services expect.

Does converting MKV to MP4 lose quality?

Not if only the container changes: when the video and audio inside are already formats MP4 can hold, the streams can be copied unchanged. If they have to be converted to other codecs, the video is re-encoded and loses a little quality. At its default settings NexMedia's converter encodes video as VP9 and audio as Opus; choose the copy option for the codecs to keep the existing streams.

Why won't my MKV file play on my phone or TV?

Many devices and browsers do not support the Matroska container, or the codecs inside it. Converting to MP4 makes the video play on far more devices.

Do MKV and MP4 files differ in size?

With the same streams inside, the difference is small, as the measured section above shows for our samples. The codec and the quality settings change the size far more than the container does.