What it is and when to use it
Image compression shrinks the file size of a picture so it uses less storage and loads faster. Lossy formats such as JPEG and WebP discard detail the eye is less likely to notice, and the quality setting controls how much is discarded. Lower quality gives smaller files but more visible artefacts, so the goal is the lowest setting that still looks acceptable.
Use this calculator for a quick planning estimate of how large an image, or a batch of images, will be after compression at a chosen quality, and how much space that saves. It is a simple rule-of-thumb model, not a simulation of a specific encoder: real results vary with image content, dimensions, format and software, so always check the actual exported file.
The estimate and its variables
The calculator uses compressed size = original size × (quality ÷ 100) × 0.3, then saved = original − compressed and percent saved = saved ÷ original × 100.
- Original size: the uncompressed or source file size, in megabytes.
- Quality %: the quality setting from 1 to 100, where a higher number means more detail retained.
- 0.3: a fixed planning factor that assumes the output at 100% quality is about 30% of the source size.
Because the factor is fixed, the percentage saved depends only on quality: it equals 100 − 0.3 × quality, so 100% quality saves 70% and 50% quality saves 85%.
Worked example: a 5 MB photo at quality 80
Compressed size = 5 × 0.80 × 0.3 = 1.20 MB.
Saved = 5 − 1.20 = 3.80 MB, and the percentage saved is 3.80 / 5 × 100 = 76.0%. The result line reads Compressed: 1.20 MB | Saved: 3.80 MB (76.0%) | Quality: 80%.
If you compress 200 photos of this size at the same setting, the estimate scales to 240 MB instead of 1,000 MB. Test a few real files to check whether your images behave in the same way.
Common mistakes and how to interpret the result
- Treating the estimate as exact. A busy photograph and a flat graphic compress very differently at the same quality number, so measure real output before committing to a setting.
- Assuming quality numbers are comparable between tools. A quality of 80 in one editor is not the same as 80 in another, and formats such as JPEG, WebP and AVIF respond differently.
- Re-compressing repeatedly. Every pass through a lossy encoder loses detail, so always start from the original file and export once.
- Using lossy compression for the wrong content. Screenshots, text and sharp-edged graphics often look better and can be smaller as PNG, while photos suit lossy formats.
Frequently Asked Questions
What does the quality percentage mean?
Why is 0.3 used in the formula?
What quality is a good starting point for the web?
Does compressing an image change its dimensions?
Related calculators
Common Tip Percentages
| Service | Typical Tip Range | Notes |
|---|---|---|
| Restaurant (sit-down) | 15–20% | 20%+ for exceptional service |
| Food delivery | 10–20% | Consider extra for long distances |
| Taxi / rideshare | 10–20% | More for assistance with luggage |
| Hotel housekeeping | $2–5/night | Leave daily, not just at checkout |
| Barber / hair salon | 15–20% | On pre-discount total |
| Pizza delivery | 10–15% or $3–5 minimum | Higher in bad weather |
General Household Budget Ratios (50/30/20 Rule)
| Category | % of Net Income | Examples |
|---|---|---|
| Needs | 50% | Rent, groceries, utilities, insurance |
| Wants | 30% | Dining out, entertainment, hobbies |
| Savings / Debt | 20% | Emergency fund, retirement, extra payments |
Common Measurement Conversions for Everyday Use
| Quantity | US / Imperial | Metric Equivalent |
|---|---|---|
| 1 cup | 8 fl oz | 237 mL |
| 1 pint | 16 fl oz | 473 mL |
| 1 quart | 32 fl oz | 946 mL |
| 1 gallon | 128 fl oz | 3.785 L |
| 1 lb | 16 oz | 453.6 g |
| 1 ft | 12 in | 30.48 cm |