An audio file is a digital recording of sound stored on your device

An audio file is a computer file that holds sound — a song, a voice memo, a podcast, a sound effect. Just as a photo file stores an image as data, an audio file stores sound waves as data. Your device reads that data and converts it back into sound through speakers or headphones.

Audio files come in different formats, which are ways of organizing and compressing that sound data. The format you use affects file size, sound quality, and which devices can play it. MP3 is the most common format you'll encounter, but WAV, FLAC, AAC, and OGG are also widespread. Each has trade-offs between how much space it takes up and how good it sounds.

You create audio files by recording sound with a microphone, downloading music, or converting from one format to another. You play them with media players built into your phone or computer, or with dedicated apps like Spotify, Apple Music, or VLC. Most devices recognize common formats automatically.

Key Takeaways

  • An audio file is digital sound data stored in a specific format, like MP3 or WAV, that your device can read and play through speakers.
  • Different audio formats compress sound differently — MP3 uses less storage but lower quality, while FLAC uses more storage but preserves original quality.
  • You can create audio files by recording with a microphone, downloading from music services, or converting existing audio to a different format.
  • The file extension (the letters after the dot in the filename) tells your device which format it is and which player to use.

How audio formats work and why they matter

Sound is continuous — it never stops moving. To store it as a file, your device has to break it into tiny pieces and measure each piece thousands of times per second. That process is called sampling. The more samples per second, the more accurately the file captures the original sound, but the larger the file becomes.

Once you have all those samples, you can compress them — throw away some information to make the file smaller. Lossy compression (used by MP3, AAC, and OGG) removes sound frequencies that human ears typically can't hear, so you save a lot of space without noticing much difference. Lossless compression (used by FLAC and WAV) keeps all the original information, so the file is much larger but the sound is identical to the original recording.

This matters because an MP3 of a song might be 4 megabytes, while a FLAC of the same song might be 30 megabytes. If you're storing thousands of songs on your phone, MP3 saves you space. If you're an audiophile or a music producer, FLAC gives you the quality you want. Most people never notice the difference in everyday listening.

Common audio file formats and what they're used for

MP3 is the oldest and most universal format. It was released in 1993 and became the standard for portable music players, streaming services, and websites. Nearly every device plays MP3 files. The trade-off is that MP3 uses lossy compression, so some sound information is permanently discarded.

AAC is Apple's answer to MP3. It compresses sound more efficiently than MP3, so you get better quality at the same file size. iTunes and Apple Music use AAC by default. Android phones and most other devices play AAC, but not all older devices do.

FLAC (Free Lossless Audio Codec) preserves all the original sound data with no loss of quality. It's popular with music enthusiasts, audiophiles, and music producers. The downside is that FLAC files are much larger than MP3 or AAC, and some older devices or car stereos won't play them.

WAV is an older lossless format that stores uncompressed audio — the raw sound data with nothing removed. WAV files are huge, which is why they're used mainly for professional audio work, not everyday listening. You might encounter WAV when downloading sound effects or working with audio editing software.

OGG is an open-source format that uses lossy compression similar to MP3 but often sounds better at smaller file sizes. It's less common than MP3 or AAC but is supported by most modern devices and browsers.

How to tell what format an audio file is

The filename tells you the format. Look at the end of the filename — after the dot. That's the file extension. A file named "song.mp3" is an MP3 file. A file named "podcast.m4a" is an AAC file (Apple uses .m4a for AAC audio). A file named "recording.wav" is a WAV file.

On Windows, file extensions are usually hidden by default. To see them, open File Explorer, click the View tab at the top, and check the box next to "File name extensions." On Mac, open Finder, select the file, press Command+I, and look for "Kind" — it will say "MP3 audio file" or similar. On phones, the file manager app usually shows the extension automatically.

If you're not sure what format a file is, right-click it (or long-press on a phone) and look for "Properties" (Windows) or "Get Info" (Mac). The properties window will tell you the file type and size.

Playing audio files on different devices

Most devices have a built-in media player that opens audio files automatically. On Windows, that's Windows Media Player or Groove Music. On Mac, it's iTunes or Music. On iPhone, it's the Music app. On Android, it's usually Google Play Music or a similar default app.

If your device doesn't recognize a file format, you can download a third-party player. VLC Media Player (free, available for Windows, Mac, iPhone, and Android) plays nearly every audio format ever created. Foobar2000 is popular with audiophiles. Plex is good if you have a large music library you want to organize.

Streaming services like Spotify, Apple Music, YouTube Music, and Amazon Music handle the format conversion for you — you don't need to think about it. You stream the song, and the app plays it in whatever format works best for your device and internet speed.

Converting between audio formats

Sometimes you need to change a file from one format to another — maybe your car stereo only plays MP3, or you want to convert a lossy MP3 to a lossless format for archiving. You can do this with free software.

Audacity (free, Windows and Mac) is a full audio editor that can also convert formats. Open the file, then go to File > Export and choose your target format. FFmpeg (free, command-line tool for Windows, Mac, and Linux) is more powerful but requires typing commands. MediaHuman Audio Converter (free, Windows and Mac) is simpler — you drag files in, pick the output format, and click convert.

Keep in mind that converting from lossy to lossless doesn't recover lost sound quality. If you convert an MP3 to FLAC, you get a larger file, but the sound quality doesn't improve — you're just storing the same compressed data in a different container. To get true lossless quality, you need to start with a lossless source.

Storage and file size considerations

Audio file size depends on three things: the format, the bitrate (how much data per second), and the length of the recording. A typical MP3 song at standard quality is 3 to 5 megabytes. A FLAC of the same song is 25 to 35 megabytes. A WAV file can be 50 megabytes or more.

If you're storing music on your phone, MP3 or AAC saves space. A 64-gigabyte phone can hold roughly 13,000 MP3 songs, but only 2,000 FLAC songs. If you're archiving music for long-term storage or professional use, FLAC or WAV is worth the extra space because you're preserving the original quality.

Streaming services solve this problem by storing music on their servers and sending it to you on demand. You don't need to store the files yourself — you just need enough internet bandwidth to stream.

Frequently Asked Questions

Can I play an MP3 file on any device?

Nearly any device made in the last 20 years plays MP3 files — phones, computers, car stereos, smart speakers, and portable players all support it. Some very old devices or specialized equipment might not, but MP3 is the closest thing to a universal standard. If a device won't play MP3, it almost certainly plays AAC or another common format.

What's the difference between downloading a song and streaming it?

Downloading saves the audio file to your device's storage, so you can play it anytime without internet. Streaming sends the file from a server to your device in real time, so you need an active internet connection. Downloaded files stay on your device; streamed files disappear once you stop listening (unless the app caches them temporarily).

Why is my audio file so large?

File size depends on format, bitrate, and length. An MP3 is usually 1 megabyte per minute of audio. A FLAC is usually 5 to 8 megabytes per minute. A WAV can be 10 megabytes per minute or more. If your file seems unusually large, check the format by looking at the file extension, or right-click and check properties.

Can I convert a song from Spotify or Apple Music to MP3?

Not directly — those services use digital rights management (DRM) to prevent copying. You can record the audio while it plays using screen recording or audio capture software, but the quality will be lower than the original. The legal way to get MP3 versions is to purchase the songs from iTunes, Amazon Music, or Bandcamp.

What audio format should I use to record my own voice?

For everyday use like voice memos or podcasts, MP3 or AAC is fine and saves space. For music production or professional audio work, use WAV or FLAC to preserve quality. Most recording software defaults to WAV, which is a safe choice — you can always convert to MP3 later if you need to save space.