Skip to content

Instantly share code, notes, and snippets.

@peeweek
Last active October 8, 2025 06:52
Show Gist options
  • Select an option

  • Save peeweek/11bd5ed1d72a85b206d5761a20776562 to your computer and use it in GitHub Desktop.

Select an option

Save peeweek/11bd5ed1d72a85b206d5761a20776562 to your computer and use it in GitHub Desktop.
(Pixel Art) 16:9 Adaptive Integer scale resolutions:

(Pixel Art) 16:9 Adaptive Integer scale resolutions

This table shows how it scales to fit resolution as integer scaling and compatibility with different screen modes :

  • SD 540p (960×540)
  • HD 720p (1280×720)
  • 900p (1600×900)
  • FHD 1080p (1920×1080)
  • 2k 1440p (2560×1440)
  • 4k 2160p (3840×2160)
Base Resolution 2x 3x 4x 5x 6x
320×180 640×360 ✔960×540 ✔1280×720 ✔1600×900 ✔1920×1080
426×240 * 852×480 ⚠1278×720 1704×960 2130×1200 ⚠2556×1440
480×270 ✔960×540 1440×810 ✔1920×1080 2400×1350 2880×1620
640×360 ✔1280×720 ✔1920×1080 ✔2560×1440 3200×1800 ✔3840×2160

(*) not perfect 16:9

Inverse Method : based on final resolution how much it scales

320 × 180

180p GameBoy Equivalent 16:9 ratio

  • 12x for 4k 3840×2160
  • 8x for 2k 2560×1440
  • 6x for FHD 1920×1080
  • 4× for HD 1280×720

426 × 240

NOT PERFECT, should be 426.666666 to match 16:9 240p for faking 480i as progressive. SNES/Megadrive

  • 4.5x for 1920×1080 (overscan)
  • 3x for 1280×720

480 × 270

More retro pixel art ratio, compatible with 1080p only

  • 4x for 1920×1080
  • 2.6666x for 1280×720 (overscan)

640 × 360

Many pixel art games use this format Modern pixel art preferred ratio

  • 3x for 1920×1080
  • 2x for 1280×720
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment