App Icon Sizes for iOS and Android, With Flutter

· 6 min read

You need more than one app icon to ship a mobile app. iOS wants a single large square that the system scales and masks. Android wants a layered adaptive icon for the launcher. Google Play wants a separate 512 pixel image for the store listing. This post gives the exact size for each, where it comes from, and how to produce all of them from one source file in Flutter.

The icon is one item on a longer list. For the rest, see the App Store submission checklist for Flutter apps.

The sizes at a glance

Where Size Format and notes
iOS, iPadOS (home screen and App Store) 1024 x 1024 px, square PNG or layered Icon Composer file; system applies rounded corners
Android launcher (adaptive icon) 108 x 108 dp per layer Foreground and background layers, optional monochrome; logo within 66 x 66 dp
Google Play store listing 512 x 512 px 32-bit PNG, sRGB, max 1024KB, full square, no shadow

iOS: one 1024 px square

Apple’s Human Interface Guidelines list the iOS, iPadOS and macOS icon as a “Square” layout at “1024x1024 px”. You do not export a dozen sizes any more. Apple says: “The system automatically scales your icon to produce smaller variants that appear in certain locations, such as Settings and notifications.”

Do not draw the rounded corners yourself. Apple: “In iOS, iPadOS, and macOS, icons are square, and the system applies masking to produce rounded corners.” And: “provide square layers so the system can apply rounded corners.” If you bake in your own corners, the system mask lands on top of them and you get a visible edge.

Formats and appearances

Apple accepts “nonlayered bitmap images (such as PNG) or layered Icon Composer files.” Icon Composer is “a design tool included with Xcode” where you define a background layer, place foreground layers, preview, and export for Xcode.

People can choose “default, dark, clear, or tinted” home screen icons. Apple says you can design a variant for each appearance, and “the system automatically generates variants you don’t provide.” For a first release, a well-made default icon is enough. Add a dark variant later if the generated one looks muddy.

Where the icon goes

App Store Connect does not take an icon upload in a form. Apple’s help page says: “You can create your app icon using Icon Composer or add your app icon to an asset catalog within your Xcode project. After adding icons in Xcode, upload the build to App Store Connect.” In a Flutter app that asset catalog sits inside the ios/ Xcode project, which is where the generator below writes the icon.

One consequence worth knowing before launch: “If you want to change your app icon after publishing, you must create and upload a new version of your app.” An icon change is a full release, with review.

Android: adaptive icon layers

Android launchers draw your icon in whatever shape the device maker chose: circle, squircle or something else. Android’s adaptive icon guide explains that “each device OEM must provide a mask, which the system uses to render all adaptive icons with the same shape.”

The rules for the layers:

  • “You must provide two layers for the color version of the icon: one for the foreground, and one for the background.” Vectors are preferred, bitmaps work.
  • “Size all layers to 108x108 dp.”
  • “Use a logo that’s at least 48x48 dp. It must not exceed 66x66 dp, because the inner 66x66 dp of the icon appears within the masked viewport.”
  • “The outer 18 dp on each of the four sides of the layers is reserved for masking and to create visual effects such as parallax or pulsing.”
  • The layers “must not have masks or background shadows around the outline of the icon.”

The most common mistake is putting a full-size logo on the foreground layer. On a circle mask the edges get cut off. Keep the logo inside the 66 dp safe zone and let the background layer fill the whole 108 dp square.

Themed icons

From Android 13 (API level 33), users can turn on themed icons, which tint your icon to match their wallpaper. That works for apps “that have a monochrome layer in their adaptive icon.” Google adds that “Starting with Android 16 QPR 2, Android automatically themes app icons for apps that don’t provide their own.” Providing your own monochrome layer gives you control over how that looks.

The adaptive icon is defined in res/mipmap-anydpi-v26/ic_launcher.xml:

<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
    <background android:drawable="@drawable/ic_launcher_background" />
    <foreground android:drawable="@drawable/ic_launcher_foreground" />
    <monochrome android:drawable="@drawable/ic_launcher_foreground" />
</adaptive-icon>

Google Play: the 512 px listing icon

The store listing icon is a separate upload in Play Console, and Google’s icon design specifications are precise:

  • “Final size: 512px x 512px”
  • “Format: 32-bit PNG”
  • “Color space: sRGB”
  • “Max file size: 1024KB”
  • “Shape: Full square”, because “Google Play dynamically handles masking. Radius will be equivalent to 30% of icon size.”
  • “Shadow: None”, because Google Play adds the drop shadow itself.

Google also asks you to pick a background color without transparency where you can, since “Transparent assets will display the background color of Google Play UI.” And the icon must not carry rankings, deal badges, Play program labels or anything that can mislead users. Those fall under Play’s metadata rules, covered in our post on the Play metadata policy.

Generating every size in Flutter

The usual tool is the flutter_launcher_icons package (version 0.14.4 when this was written). It takes one source image and writes the iOS asset catalog and Android resources, including adaptive layers.

Add it as a dev dependency:

dev_dependencies:
  flutter_launcher_icons: ^0.14.4

flutter_launcher_icons:
  android: "launcher_icon"
  ios: true
  image_path: "assets/icon/icon.png"
  remove_alpha_ios: true
  adaptive_icon_background: "#F4EFE6"
  adaptive_icon_foreground: "assets/icon/foreground.png"
  adaptive_icon_monochrome: "assets/icon/monochrome.png"

Then run:

flutter pub get
dart run flutter_launcher_icons

What the main options do, from the package docs:

  • image_path is “the location of the icon image file which you want to use as the app launcher icon.”
  • adaptive_icon_foreground and adaptive_icon_background define the Android layers. The package notes that “Adaptive Icons will only be generated when both adaptive_icon_background and adaptive_icon_foreground are specified.”
  • adaptive_icon_monochrome is used for “the Android 13+ themed icon.”
  • remove_alpha_ios “Removes alpha channel for IOS icons.” Turning it on is a safe habit, since an iOS icon should be a solid square anyway.

Export your source files at 1024 x 1024 px. The foreground and monochrome images should keep the logo inside the central safe zone, scaled the same way as the 66 of 108 dp proportion, so nothing gets clipped. More detail on the package itself is in Flutter app icons with flutter_launcher_icons.

A source file checklist

Keep these files in assets/icon/ and in your design tool:

  1. icon.png, 1024 x 1024, full square, no rounded corners, no transparency.
  2. foreground.png, 1024 x 1024, transparent background, logo inside the safe zone.
  3. monochrome.png, same as the foreground but single color.
  4. play-icon.png, 512 x 512, 32-bit PNG, under 1024KB, no shadow.

Then check on real devices: a circle-mask Android phone, a squircle one if you have it, and an iPhone in dark and tinted modes.

Test it small

An icon that looks great at 1024 px can turn into mush at home screen size. Shrink it to roughly the size it appears in Settings and in search results and see if the shape still reads. One bold shape usually beats detailed illustration. If your app name is not set yet, name your app and check availability first, because the icon and name should feel like a pair.

MobileKit’s design skill produces these four source files from the app’s brand tokens. Next, pair the icon with your App Store screenshots template and the Google Play feature graphic.

Sources read on the day this post was written: Apple HIG: App icons, Apple: Add an app icon, Android: Adaptive icons, Google Play icon design specifications and pub.dev: flutter_launcher_icons.

Questions

What size should an iOS app icon be?

Apple's Human Interface Guidelines list a 1024x1024 px square layout for iOS, iPadOS and macOS. The system scales it down for smaller places such as Settings and notifications, and applies the rounded corners itself.

What size is the Google Play store icon?

Google's icon design specifications say 512px by 512px, 32-bit PNG, sRGB, with a maximum file size of 1024KB. Upload a full square, because Google Play applies the rounded mask and shadow.

What size are Android adaptive icon layers?

Android's adaptive icon guide says to size all layers to 108x108 dp. Keep the logo between 48x48 dp and 66x66 dp, because only the inner 66x66 dp is guaranteed to be visible after masking.

Try it on your next idea

One payment, every update to this major version, and a refund window if it is not for you. Refund policy.