What are the aspect ratios for all Android phone and tablet devices?

AndroidMobile

Android Problem Overview


I'm looking for a list of all screen aspect ratios for popular Android based Phones and Tablets.

Android Solutions


Solution 1 - Android

In case anyone wanted more of a visual reference:

aspect_ratio_visual_reference

Decimal approximations reference table:

╔══════════════════════════╦════════════════════════╦════════════════════════╗
║       aspect ratio       ║     decimal approx.    ║     decimal approx.    ║
║ [long edge x short edge] ║ [short edge/long edge] ║ [long edge/short edge] ║
╠══════════════════════════╬════════════════════════╬════════════════════════╣
║         19.5 x 90.462...        ║        2.167...        ║
╠══════════════════════════╬════════════════════════╬════════════════════════╣
║          19 x 90.474...        ║         2.11...        ║
╠══════════════════════════╬════════════════════════╬════════════════════════╣
║        ~18.7 x 90.482...        ║        2.074...        ║
╠══════════════════════════╬════════════════════════╬════════════════════════╣    
║         18.5 x 90.486...        ║        2.056...        ║
╠══════════════════════════╬════════════════════════╬════════════════════════╣
║          18 x 90.52           ║
╠══════════════════════════╬════════════════════════╬════════════════════════╣
║          19 x 100.526...        ║           1.9          ║
╠══════════════════════════╬════════════════════════╬════════════════════════╣
║          16 x 90.56251.778...        ║
╠══════════════════════════╬════════════════════════╬════════════════════════╣
║           5 x 30.61.667...        ║
╠══════════════════════════╬════════════════════════╬════════════════════════╣
║          16 x 100.6251.6          ║
╠══════════════════════════╬════════════════════════╬════════════════════════╣
║           3 x 20.667...        ║           1.5          ║
╠══════════════════════════╬════════════════════════╬════════════════════════╣
║           4 x 30.751.333...        ║
╚══════════════════════════╩════════════════════════╩════════════════════════╝

Changelog:

  • May 2018: Added 56x27 === ~18.7x9 (Huawei P20), 19x9 (Nokia X6 2018) and 19.5x9 (LG G7 ThinQ)
  • May 2017: Added 19x10 (Essential Phone)
  • March 2017: Added 18.5x9 (Samsung Galaxy S8) and 18x9 (LG G6)

Solution 2 - Android

I researched the same thing several months ago looking at dozens of the most popular Android devices. I found that every Android device had one of the following aspect ratios (from most square to most rectangular):

  • 4:3
  • 3:2
  • 8:5
  • 5:3
  • 16:9

And if you consider portrait devices separate from landscape devices you'll also find the inverse of those ratios (3:4, 2:3, 5:8, 3:5, and 9:16)


More complete answer here: stackoverflow community spreadsheet of Android device resolutions and DPIs

Solution 3 - Android

It is safe to assume that popular handsets are WVGA800 or bigger. Although, there are a good amount of HVGA screens, they are of secondary concern.

List of android screen sizes

http://developer.android.com/guide/practices/screens_support.html

Aspect ratio calculator

http://andrew.hedges.name/experiments/aspect_ratio/

Solution 4 - Android

the best way to calculate the equation is simplified. That is, find the maximum divisor between two numbers and divide:

ex.

1920:1080 maximum common divisor 120 = 16:9
1024:768  maximum common divisor 256 = 4:3
1280:768  maximum common divisor 256 = 5:3

may happen also some approaches

Solution 5 - Android

The Sony Tablet P is old, but it can switch between 32:15 and 32:30 for each app in landscape mode, and vice-versa in portrait mode, so that's a minimum range to aim for

Attributions

All content for this solution is sourced from the original question on Stackoverflow.

The content on this page is licensed under the Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license.

Content TypeOriginal AuthorOriginal Content on Stackoverflow
Questionuser384708View Question on Stackoverflow
Solution 1 - AndroidBartek LipinskiView Answer on Stackoverflow
Solution 2 - Androidcasimps1View Answer on Stackoverflow
Solution 3 - AndroidThomas DignanView Answer on Stackoverflow
Solution 4 - AndroidBruno BiccaView Answer on Stackoverflow
Solution 5 - Androiduser2257223View Answer on Stackoverflow