Skip to content

Best Pixel Size for Pixel Art (How to Choose)

A practical guide to choosing pixel size for avatars, icons, logos, sprites, and UI. Includes fast presets and a simple decision process.

Grid, file size, and color controls

For icons, start with a 16×16 or 32×32 Target grid and the same file size. The logical grid is independent of source resolution. File sizes can be whole-number multiples of that grid; Preview zoom changes only the display. Check the 1× actual-size preview on light and dark backgrounds.

Keep full image adds transparent padding. Center crop keeps the centered square and shows the removed edges. Free pixel multiplier depends on source size: each grid dimension is the source dimension divided by the multiplier, rounded up. Multiplier numbers in older examples are starting points for a particular source, not universal icon settings.

Nearest, Floyd-Steinberg, and Ordered use the selected fixed palette. maxColors only controls Median cut, which creates adaptive colors from the image and ignores the fixed palette. PNG preserves exact colors and alpha. JPEG uses white behind transparency; JPEG/WebP compression can change colors.

A simple mental model

Choose a logical grid first for icons. A 16×16 grid has 16 rows and columns regardless of source resolution. Final file size and preview zoom are separate controls.

Free multiplier mode computes ceil(source dimension / multiplier). A multiplier such as 10 gives a different grid for a 64px source and a 1024px source.

  • Avatar: try a 64×64 logical grid, then export a whole-number enlargement.
  • Favicon: choose 16×16 or 32×32 Target grid and the same final file size.
  • Sprite: use one grid or one source size and multiplier for every frame.
  • UI icons: choose a 24×24 or 32×32 target, then inspect the 1× result.

Pick in 30 seconds (decision tree)

Start from the final use size. In Target grid mode inspect 1× on light and dark backgrounds; change the grid to alter structure, not preview zoom.

  • Too detailed: simplify the source or select a coarser logical grid. In Free mode, increase the multiplier.
  • Too blocky: try a finer logical grid. In Free mode, decrease the multiplier.
  • Photo shading looks broken → use Floyd-Steinberg
  • Logo/UI looks blurry → use Nearest
  • Colors look messy: choose a smaller fixed palette, or reduce maxColors in Median cut.

Common mistakes (and fixes)

These are the reasons results look “bad” even with a good pixel size.

  • Busy background → crop tighter or remove background first
  • Too many colors: choose a smaller fixed palette, or lower the adaptive limit in Median cut.
  • Scaling blur → export PNG and avoid non-integer scaling