How do I calculate aspect ratio from width and height?
Enter the width and height in pixels and this calculator instantly shows the simplified ratio (e.g., 16:9), decimal value, CSS aspect-ratio property, visual preview, and a table of equivalent sizes at common resolutions. Use the Resize tab to scale dimensions while preserving proportions, or browse Device Presets for phones, tablets, monitors, and social media formats. Everything runs in your browser — no signup required.
Aspect Ratio Calculator
Calculate, convert, and resize aspect ratios for images, video, and responsive design.
Enter Dimensions
Result
aspect-ratio: 16 / 9;Common Aspect Ratios
Equivalent Sizes at 16:9
| Width | Height | Pixels | Label |
|---|---|---|---|
| 320 | 180 | 0.1 MP | |
| 480 | 270 | 0.1 MP | |
| 640 | 360 | 0.2 MP | |
| 768 | 432 | 0.3 MP | |
| 960 | 540 | 0.5 MP | |
| 1024 | 576 | 0.6 MP | |
| 1280 | 720 | 0.9 MP | 720p / HD |
| 1440 | 810 | 1.2 MP | |
| 1600 | 900 | 1.4 MP | |
| 1920 | 1080 | 2.1 MP | 1080p / Full HD |
| 2560 | 1440 | 3.7 MP | 1440p / 2K |
| 3840 | 2160 | 8.3 MP | 2160p / 4K UHD |
Frequently Asked Questions
How do I calculate the aspect ratio of an image?
What is the most common aspect ratio for video?
How do I resize an image without stretching it?
What does the CSS aspect-ratio property do?
Related Inspect Tools
Diff Checker
Compare two texts and see differences highlighted
Cron Expression Parser
Parse cron schedules into plain English with next run times
Word & Character Counter
Count words, characters, sentences, and estimate reading time
Chmod Calculator
Calculate Unix file permissions with an interactive permission matrix