How to use this tool
- 1Type the width and height in pixels (the resolution).
- 2See the simplified ratio, the decimal relation and the megapixels.
About this test
The aspect ratio describes the screen's shape, for instance 16:9 (wider) or 20:9 (taller, common on modern phones). This calculator simplifies the resolution to its ratio and shows the total pixel count in megapixels.
Useful for developers, video editors and for comparing screen formats. The math uses the greatest common divisor to reduce the width:height ratio.
Privacy: this tool runs entirely in your browser. No image, audio or device data is recorded or sent to any server.
Frequently asked questions
What's the most common phone aspect ratio today?
Many current phones use 20:9 or 19.5:9, taller, narrower screens that are easier to hold and show more vertical content.
What do megapixels mean here?
The screen's total pixels (width × height) in millions. Not to be confused with camera megapixels, which measure photo resolution.