App size affects the decision to install, download time and how much storage a product takes on the device. It matters especially in markets with expensive mobile data and on phones with 32–64 GB of storage, where people regularly delete apps to make room for photos and system updates.
The good news is that most "extra" megabytes have nothing to do with functionality. They are forgotten resources, unoptimised images, duplicate libraries and code nobody calls. Below is how we at the studio approach size reduction: what to measure, where to look for weight, which tools give the biggest effect, and what you should not cut even for a nicer number.
Why size matters for the business
In 2017 the Google Play team published an analysis of its own data: for apps under 100 MB, every additional 6 MB of APK size correlated with roughly a 1% drop in install conversion. In emerging markets, removing 10 MB correlated with about a 2.5% increase in conversion. This is a correlation, not a controlled experiment, and some teams report a much smaller effect, but the direction is clear: a large package is friction at the door.
Size does not only affect the first install. Large updates are more often postponed when the phone is not on Wi-Fi, and a heavy app is the first candidate for deletion when the system warns about low storage. In our projects we treat size as part of the experience, alongside startup speed.
Where the extra weight comes from
- unused resources and duplicate icons and illustrations in several densities;
- large images and video without adaptive variants or modern formats;
- third-party SDKs that add unused features;
- debug code, logging and symbols in production builds;
- dependencies that transitively pull in unnecessary modules;
- bundled fonts with full glyph sets for languages the product does not support;
- native libraries for every architecture in a single package.
Analyse first, optimise second
Start with a build analysis rather than assumptions. On Android that means APK Analyzer in Android Studio, the size report in Play Console and comparing two builds side by side. On iOS, use the App Thinning Size Report in Xcode and the per-device file size report in App Store Connect. Look at download size and install size separately: the compressed package and what occupies disk space can differ several times over.
| Source of weight | How to find it | What usually helps |
|---|---|---|
| Code (DEX, binary) | APK Analyzer, Link Map in Xcode | R8 with shrinking and optimisation, dead code removal, SDK audit |
| Raster images | Sort resources by size | WebP or AVIF, vector graphics for icons, Asset Catalog |
| Unused resources | Lint, shrinkResources | Automatic removal at build time, cleaning up obsolete screens |
| Native libraries | Contents of the lib folder | Android App Bundle, which delivers only the required architecture |
| Large content | Video, models, dictionaries in the package | Play Asset Delivery, On-Demand Resources or Background Assets on iOS |
According to the WebP documentation, lossy compression produces files 25–34% smaller than comparable JPEGs, and lossless compression about 26% smaller than PNG. In illustration-heavy projects, images are often the fastest win.
A step-by-step size reduction plan
- Capture a baseline. Record download and install size for a typical device on each platform and keep the report in the repository.
- Find the ten largest components. A handful of items usually account for most of the weight, so start there.
- Turn on platform tooling. On Android, R8 with minifyEnabled and shrinkResources, and publishing as an App Bundle. On iOS, Asset Catalogs and no unnecessary architectures or symbols in the final binary.
- Review media. Convert raster assets to modern formats, replace simple icons with vectors and remove duplicates.
- Audit dependencies. For every SDK, check whether the whole module is used and whether a lighter alternative exists.
- Move rare scenarios out. Features used by a small share of the audience can be delivered as a separate module via Play Feature Delivery, or their content can be downloaded after installation.
- Add a budget to CI. A build that grows beyond an agreed threshold, for example 500 KB in a single pull request, should require explicit approval.
What not to cut
Do not remove analytics, security or error handling just to improve a number. Decide what must be available immediately and what can load later. Users care about a fast, useful start, not the smallest possible first package.
Be equally careful with aggressive obfuscation and removing code that is called via reflection: incorrect R8 rules produce crashes that only appear in release builds. That is why we verify every optimisation with tests and on real devices.
Note a newer Google requirement as well: Android vitals now tracks DEX code optimisation. Apps with more than 10 MB of DEX code are expected to apply optimisation, obfuscation and shrinking, and failing the thresholds may affect visibility on Google Play starting in February 2027.
Common mistakes
- Optimising without measuring. The team spends a week rewriting a module and saves a few hundred kilobytes.
- Comparing different metrics. APK size on a developer's disk is not what the user downloads through an App Bundle.
- Moving everything to "download later". If a core feature needs an extra download after first launch, the user sees a spinner instead of value.
- A smaller file but a slower start. If unpacking or initialisation became heavier, the overall experience got worse.
- A one-off clean-up. Without a budget, size creeps back within a few releases.
Check results on real devices, especially budget ones; we wrote about this in detail in our article on testing on inexpensive phones. Our breakdown of Baseline Profiles in Android Calendar shows how code optimisation and startup are connected.
A one-sprint action plan
- Produce download and install size reports for iOS and Android.
- List the ten largest components and an owner for each.
- Enable R8, shrinkResources and App Bundle publishing if they are not already on.
- Convert the largest raster assets and remove duplicates.
- Remove or replace SDKs that deliver no measurable value.
- Add a size check to CI with a per-pull-request threshold.
- After release, compare install conversion, first-launch time, crash rate and uninstalls.
Sources: Google Play: Shrinking APKs, growing installs; Android Developers: Reduce your app size; Android Developers: Android vitals; Google: WebP; Apple: Reducing your app’s size.



