File Size Calculator Guide: Calculate Photo, Video, Audio and Storage Needs
Calculate file sizes with confidence
A practical reference for photo, video, audio and drive capacity—without unreliable size assumptions.
To estimate a file’s size, start with an actual sample file whenever possible. For a collection, multiply the number of files by the average size of representative samples. For video or audio with a known average bitrate, multiply bitrate in megabits per second (Mb/s) by duration in seconds, divide by eight to convert bits into bytes, and divide by 1,000 to obtain approximately gigabytes (GB). Compression, recording settings and metadata can change the result significantly.
Wondering how much storage 10,000 photos need, whether a 4K video will fit on your phone, or how many hours of footage a 1 TB drive can hold? A file size calculator can turn those questions into a usable estimate. But there is an important distinction between calculating from actual files and guessing from a label like 4K. This guide explains both approaches, shows the exact formulas, and provides worked examples you can adapt to your own files.
If you need to convert KB, MB, GB and TB, open our Storage Calculators page. If you are planning storage for a mobile phone, use the Phone Storage Calculator and its planning guide. None of these tools reads your private files automatically; your results depend on the numbers you enter.
Accuracy note: All sample file sizes in this article are labeled hypothetical examples or explicitly stated bitrates. They are not measurements of a specific phone, camera or computer. Inspect the files you actually create for the closest estimate.
File size basics: bytes, bits, KB, MB, GB and TB
A byte is eight bits. Storage capacity is usually described in bytes and their multiples, while internet transfer speeds and video bitrates are frequently described in bits per second. Confusing the two can create an eightfold error. A video encoded at 16 Mb/s is not being written at 16 MB/s: its approximate media data rate is 2 MB/s before container overhead.
Two measurement systems also coexist. Decimal units use multiples of 1,000; binary units use multiples of 1,024. Both are legitimate, but should not be mixed without explanation.
| Decimal unit | Exact decimal bytes | Binary counterpart | Exact binary bytes |
|---|---|---|---|
| 1 KB | 1,000 | 1 KiB | 1,024 |
| 1 MB | 1,000,000 | 1 MiB | 1,048,576 |
| 1 GB | 1,000,000,000 | 1 GiB | 1,073,741,824 |
| 1 TB | 1,000,000,000,000 | 1 TiB | 1,099,511,627,776 |
A drive advertised as 1 TB contains one trillion decimal bytes before formatting and system use. That amount is about 931.32 GiB, not 1,000 GiB. The difference is primarily a unit conversion, not evidence that the manufacturer has removed your storage. Whether your device displays decimal GB, binary GiB or a label that is used inconsistently depends on the operating system and application. IBM’s storage-unit explanation provides a formal comparison.
Practical rule: In the worked examples below, MB and GB mean decimal units. If your computer reports GiB, convert those figures before directly comparing them. The file size converter is the easiest way to check a conversion without calculating manually.
How to calculate file size from a real sample
When planning storage, the strongest starting point is a representative sample of your actual data. A folder with 500 edited RAW photographs cannot be predicted accurately using the average size of compressed messaging-app photos. The same is true of phone footage versus camera footage captured at a high bitrate.
Use this repeatable process:
- Gather ten to twenty files that resemble the images, recordings or documents you expect to save. Include some large and some small examples rather than selecting only the first few files.
- Record each file’s size in MB or convert all sizes to the same unit. On Windows, use File Explorer’s Details or Properties. On macOS, choose Get Info in Finder. On iPhone, the Photos Info view can show file-size metadata for suitable images and videos; options vary by iOS version.
- Add the sample sizes and divide by the number of sample files. This gives an approximate mean file size.
- Multiply that average by the total number of files you expect to store. Add a reasonable extra allowance for future growth and backups.
- Check the result against a small real upload or folder size, and revise the assumptions if it differs substantially.
Worked example: Suppose ten representative photos use a combined 46 MB. Their sample mean is 4.6 MB each. For 8,000 similar photos, 8,000 × 4.6 MB = 36,800 MB, or 36.8 GB in decimal units. If your collection includes unusually large panoramas or RAW images, sample those separately. A single average across multiple formats can hide the main reason the total grows.
A more detailed estimate splits a mixed photo library into groups: ordinary compressed photos, Live Photos, RAW files, screenshots and videos. Estimate each group separately and add the results. This often produces a much better purchasing decision than a blanket rule that every phone photo occupies the same amount.
Photo storage calculator: how many GB do pictures use?
Image size is affected by dimensions, format, compression level, colour depth, scene complexity and whether the file includes additional components such as an embedded preview. A bright simple screenshot may compress differently from a detailed landscape. Two 12-megapixel images from different devices can have very different sizes.
Instead of treating a supposed universal image average as a fact, use the following illustrative scenarios to understand the math:
| Scenario | Number of files | Assumed average | Calculated total |
|---|---|---|---|
| Everyday compressed photos | 1,000 | 3 MB | 3 GB |
| Family photo collection | 5,000 | 4 MB | 20 GB |
| Large personal archive | 20,000 | 5 MB | 100 GB |
| High-resolution edited images | 2,000 | 18 MB | 36 GB |
| RAW photography collection | 3,000 | 35 MB | 105 GB |
These values are calculations using hypothetical file sizes, not claims about what a particular camera produces. Replace the assumed average with values from your own files.
Why JPEG, HEIC, PNG and RAW differ
JPEG uses lossy compression: it can discard some visual information to reduce storage. The quality setting and image detail matter. HEIC/HEIF can produce smaller files than JPEG at comparable perceived quality in many situations, but the result varies and compatibility may affect your workflow. PNG is lossless for the image data it stores and works well for screen graphics, although complex photos can be larger than equivalent JPEGs. RAW files preserve more original sensor information for editing and can be much larger; some RAW formats also apply lossless compression.
For an archival decision, don’t convert the only original image to a smaller format and delete the original merely to save space. Export an optimized viewing copy if needed and preserve appropriate originals and independent backups. For website images, use an optimized publishing copy instead of uploading massive camera originals to every blog post.
How much storage do 100,000 photos need?
There is no single correct answer. At an assumed 2 MB per image, 100,000 photos use 200 GB. At 5 MB they use 500 GB. At 12 MB they use 1.2 TB. This enormous range is why “how many photos fit” calculators must ask for an average size. If you have real data, sample a few hundred files or inspect representative folders before buying storage.
Also decide whether the question concerns working storage or a safe backup. Storing 500 GB of photos on a nominal 512 GB device leaves almost no room for operating-system overhead or growth. Protecting 500 GB of family photos may require more than one independent copy; see our Digital Declutter Checklist before deleting originals.
Video file size calculator: duration, bitrate and frame rate
Video is often the largest variable in a storage plan. Terms such as 1080p, 4K, 30 fps and 60 fps describe properties of the image, not one fixed file size. The bitrate is generally the more useful variable when estimating the size of an encoded video. Bitrate can vary with motion, compression format, target quality and encoder settings.
The simplest formula for a stream with a reasonably known average bitrate is:
Estimated GB = average bitrate (Mb/s) × duration (seconds) ÷ 8 ÷ 1,000.
For example, a recording averaging 24 Mb/s for 15 minutes takes approximately:
24 × 900 ÷ 8 ÷ 1,000 = 2.7 GB of encoded stream data. The final file may differ because of audio streams, file-container overhead, variable bitrate, edits or recording settings. The estimate is not an exact output guarantee.
| Illustrative average total bitrate | 10 minutes | 30 minutes | 60 minutes |
|---|---|---|---|
| 8 Mb/s | 0.60 GB | 1.80 GB | 3.60 GB |
| 16 Mb/s | 1.20 GB | 3.60 GB | 7.20 GB |
| 25 Mb/s | 1.88 GB | 5.63 GB | 11.25 GB |
| 50 Mb/s | 3.75 GB | 11.25 GB | 22.50 GB |
| 100 Mb/s | 7.50 GB | 22.50 GB | 45.00 GB |
The table is mathematical, not a universal 720p/1080p/4K reference chart. If a camera or video app reports its target bitrate, use that figure. If it doesn’t, inspect a saved file of known length and extrapolate with caution.
Why 4K file sizes can differ dramatically
Two 4K recordings may have the same pixel dimensions but use different codecs, frame rates and quality profiles. Highly compressible footage of a static scene may need fewer bits than a rapidly moving, detailed scene at comparable visual quality. Some phones use high-efficiency formats; some cameras prioritize editing quality over storage efficiency. Audio tracks, HDR metadata, stabilisation processing and variable frame-rate recordings add further variation.
This matters most when you are planning an extended trip, an interview, a wedding, a screen recording session or a backup strategy. Run a short test recording using the exact capture settings you intend to use. Compare the final file size with its duration. If five minutes occupy 1.5 GB, an hour under similar conditions might use around 18 GB; leave room for substantial variation.
How much 4K video fits on a 256 GB phone?
You cannot answer with a reliable number from “4K” and “256 GB” alone. First subtract space already used by system files, apps, photos and downloads. Suppose your actual Storage screen says 110 GB free and a test 4K recording averages 45 Mb/s. An hour of footage at that total bitrate is about 20.25 GB, so the estimate is 5.4 hours before safety margins and changing bitrate. If you change the codec, camera settings or frame rate, recalculate.
Avoid scheduling a critical recording based on a capacity estimate that assumes every last gigabyte is available. Leave room for software updates, temporary processing and file-system overhead. For important events, arrange a second recording or backup strategy rather than relying on a nearly full phone.
Audio and music file size calculator
Audio can be estimated from bitrate and duration using exactly the same bit-to-byte conversion as video. When estimating a single audio stream, use its total bitrate. A podcast encoded at 96 kb/s for 60 minutes is approximately 43.2 MB before overhead, because 0.096 Mb/s × 3,600 seconds ÷ 8 = 43.2 MB. At 320 kb/s, the same duration is roughly 144 MB.
Uncompressed PCM audio is calculated differently: sample rate × bit depth × channel count × duration ÷ 8. Stereo 44,100-sample-per-second, 16-bit PCM consumes 176,400 bytes per second, about 635 MB per hour, before container overhead. Lossless compression may make a smaller file without discarding the underlying decoded audio information, but the compression ratio varies.
When estimating an offline music library, inspect whether your app uses compressed music, lossless audio or downloaded video. A count of songs is not enough. A 5-minute song and a 70-minute concert recording consume very different amounts of storage even at the same bitrate. Some streaming downloads are app-managed and cannot be handled or backed up like regular personal audio files.
Documents, PDFs, ZIP archives and other files
Document sizes often vary even more than their titles suggest. A plain-text note might occupy only a few kilobytes. A PDF containing full-resolution scans can be dozens or hundreds of megabytes. A Word document with embedded photographs may be much larger than one containing only text. Spreadsheets with imported images or unusually large datasets can also grow significantly.
For PDFs, the most useful questions are: Were pages scanned or created digitally? Were images downsampled? Are fonts embedded? Is the document a high-resolution print proof or a viewing copy? For a large archive, sample actual files rather than relying on page counts.
A ZIP file does not necessarily save the same percentage for every source file. Text and some uncompressed formats may shrink substantially. Already-compressed JPEGs, modern videos and encrypted archives often shrink very little. Therefore “I have 100 GB of photos; a ZIP will cut it in half” is not a safe planning assumption.
If you are transferring work documents to cloud storage, consider whether version history, sync caches and local mirrored copies add storage consumption in different places. A folder that takes 40 GB on a laptop may not have precisely the same effect on a cloud quota, and the data transfer needed to upload it is a separate calculation.
How many files fit on 64 GB, 128 GB, 256 GB or 1 TB?
A useful formula is available capacity ÷ average file size. But first decide what available means: an empty drive, remaining free space, or the space you want to reserve for new files. Use consistent units.
For example, if you genuinely have 50 GB available and photos average 5 MB, 50,000 MB ÷ 5 MB = 10,000 photos as a mathematical upper estimate. If the photos average 20 MB, the answer drops to 2,500. The result does not account for file-system overhead or the need for future space.
A practical buying plan separates three layers: current data, expected growth, and backup/recovery copies. Suppose an archive is 180 GB today and you create another 35 GB each year. After three years, that archive may approach 285 GB before version history, software exports or changes to camera settings. A nominal 256 GB destination is insufficient. A larger destination and a separate backup are more sensible than filling one drive to its limit.
The capacity of an external SSD is not itself a backup plan. A drive can fail, be lost, suffer accidental deletion or become corrupted. Keep at least one independent recoverable copy of information you cannot replace. The U.S. Cybersecurity and Infrastructure Security Agency discusses a 3-2-1 backup approach for important data.
File size versus upload and download time
File size is a quantity of data; upload speed is a rate. A 4 GB file doesn’t have one universal upload time. On an ideal, sustained 20 Mb/s connection, transferring 4 GB means 32,000 megabits ÷ 20 Mb/s = 1,600 seconds, or roughly 26 minutes 40 seconds. Real transfers can take longer because of network overhead, changing speeds, server limits, encryption and interruptions.
This is especially relevant when you back up phone videos over hotel Wi-Fi or transfer an archive before a deadline. Measure actual upload performance, not only the advertised download speed. Also check whether your connection has a data cap or usage policy. Readers in the US, UK, Canada and Australia may see different home internet plans, mobile limits and broadband speeds; the file-size arithmetic is the same everywhere.
If you need only a quick conversion, use the Storage Calculators page. If you’re planning local device space, start with the real Settings storage report before turning estimated file sizes into a purchase recommendation.
A safer workflow for planning a photo and video backup
Imagine you have 12,000 phone photographs, 35 hours of family video and several years of PDFs. It’s tempting to estimate everything from file counts and buy the cheapest drive. Instead, first inspect your current Photos, Files or computer folder sizes. For videos, check whether your phone has retained high-resolution originals or optimized local copies. For cloud content, distinguish files physically downloaded to the device from items only visible through a sync interface.
Next, record how quickly your media library has grown over the past year. If last year added 80 GB and your recording habits are increasing, a storage purchase with only 90 GB free capacity would not leave a comfortable margin. Make sure you can recover the archive from an independent backup before removing any old local copies. Try opening a few representative files from the backup and checking important folders, not just the headline file count.
Finally, consider how you will find files later. Clear folder names, consistent dates and selective duplicates matter just as much as capacity. Our Digital Declutter Checklist provides a safe workflow for organizing the collection without confusing routine duplicate removal with backup deletion.
Common file size calculator mistakes
Confusing MB and Mb. The capital B means bytes, while lowercase b means bits. A connection measured in Mb/s is not equal to the same numeric value in MB/s.
Treating 4K as a fixed file size. Resolution alone cannot predict bitrate, codec or duration. Use test clips or stated bitrate where available.
Treating advertised capacity as free capacity. Your system, apps and existing files occupy part of the device. Check the actual remaining storage.
Mixing GB and GiB. A decimal terabyte is not the same as a binary tebibyte. The values differ even before formatting or system use.
Assuming all files of a type match. A RAW photo, HEIC image, screenshot and edited export have different storage characteristics; sample them separately.
Counting cloud copies as local originals. A file displayed in a cloud app may be online-only, synced, cached or fully downloaded. Understand which location you’re planning.
Deleting files based on a calculator. Calculators estimate capacity and don’t identify what is safe to erase. Verify independent backups before deletion.
Using one exact figure when a range is more truthful. Test low, middle and high assumptions when the size is unknown. Report uncertainty rather than pretending a projected result is a measurement.
File size calculator FAQ
How do I calculate a file size in MB?
For an existing file, inspect its Properties, Get Info or relevant Details/Info view. If you have bytes, divide by 1,000,000 to obtain decimal MB. If an application reports MiB, that’s a binary unit and should be labeled separately.
How big is a 10-minute 1080p video?
It depends on bitrate and encoding settings. At a hypothetical average of 16 Mb/s, ten minutes is approximately 1.2 GB. At 50 Mb/s, it is about 3.75 GB. Check a sample recording for your actual device and settings.
How big is a 5 MB video in minutes?
File size alone doesn’t reveal duration. At 1 Mb/s, 5 MB represents about 40 seconds of encoded data; at 5 Mb/s it represents about eight seconds, excluding overhead. You need bitrate or a comparable sample to estimate length.
How many photos fit in 100 GB?
At an assumed 4 MB average, 100 GB holds about 25,000 photos mathematically. At 10 MB, about 10,000. Leave space for other content and use your actual average to plan.
Why does my 1 TB drive show less than 1,000 GB?
Different decimal and binary unit conventions can explain much of the difference. One decimal TB equals approximately 931.32 GiB. Formatting and file-system overhead may reduce available space further.
Does compressing files always save storage?
No. Files already encoded with efficient compression may shrink very little. Lossy recompression can also reduce quality. Keep important originals and test a few representative files before changing an archive.
Can I calculate file size from image dimensions alone?
Only very approximately unless you know the pixel format and whether the image is compressed. Two images with identical dimensions can have dramatically different sizes because of compression and visual complexity.
What is the most accurate storage estimate?
Measure a representative sample of your real files and use clearly stated assumptions for anything not yet recorded. For critical storage purchases or recordings, leave spare capacity and maintain verified backups.
Sources and related resources
- IBM — Units of measurement for storage data: decimal and binary units.
- Apple Support — View photo and video information on iPhone: finding media metadata including file size.
- Microsoft Support — Storage Sense: understanding and managing disk space safely.
- CISA — Data Backup Options: independent backup planning.
- Storage Calculators: file-size conversion and capacity estimates.
- Phone Storage Calculator: plan local phone storage.
Editorial note: The numerical examples above are mathematical illustrations, not results from a named device, photo collection or live camera test. Add your own clearly labeled screenshots of actual file Properties and test recordings before publication; never present mockups as firsthand measurements.
