Aspect Ratio Calculator
Enter the pixel width and height. For PPI, also enter the physical diagonal in inches. Start calculates the result from your inputs, without detecting your display.
Results
Start →
How to use this tool
Enter the pixel width and height. For PPI, also enter the physical diagonal in inches. Start calculates the result from your inputs, without detecting your display.
| Results | Method and units |
|---|---|
| Ratio | width / gcd(width,height) : height / gcd(width,height) |
| Decimal ratio | width / height |
| Height (px) | width × ratioB / ratioA |
| Width (px) | height × ratioA / ratioB |
Example
Ratio: 1920 × 1080 → 16:9 · Height (px): 1920 × 9 / 16 = 1080
What this test can and cannot tell you
Results reflect events and signals available to your browser. Settings, permissions and device support can affect them; they do not certify that hardware is healthy or faulty.