What you'll find here
- Aspect ratio calculator: simplify any width and height to a ratio, find the closest standard format and resize without distortion.
- PPI calculator: pixel density, dot pitch, physical screen size and viewing distance.
- DP to PX converter: Android density-independent pixels to physical pixels and back.
- Aspect ratio cheatsheet and in-depth guides to 16:9 and 4:3.
How we check our numbers
Our calculators use standard geometry: greatest common divisors for ratios, the Pythagorean theorem for screen diagonals, and Android's published formula for density-independent pixels. Reference values come from published specifications, including:
- ITU-R Recommendations BT.709 and BT.2020 for HD, 4K and 8K television formats
- Digital Cinema Initiatives (DCI) specifications for cinema resolutions
- Android developer documentation for screen density buckets
- Manufacturer specifications for the example devices in our tables
Before a tool is published we test it against known values. For example, 1920 × 1080 must reduce to 16:9, a 27-inch 2560 × 1440 monitor must come out at 108.79 PPI, and 48 dp at xxhdpi must equal 144 px. Results are rounded for display, and each page says how.
Corrections and feedback
If you spot an error, or a tool gives a result you didn't expect, please tell us. We review every report and update the affected page. Ideas for new tools are always welcome too.
How the site is funded
AspectRatioTools is free to use and is supported by advertising served by Google AdSense. Advertisers have no influence over our tools or guides. You can read how advertising and analytics work on this site in our privacy policy.