Aspect Ratio Calculator
Find the aspect ratio of any width and height, solve for a missing dimension, and check common video and social sizes.
An aspect ratio is the width of an image or video divided by its height, written as width:height — for example, 1920 × 1080 is 16:9. Enter both dimensions above and the calculator gives the simplest ratio instantly.
Worked example
1920 ÷ 120 = 16 and 1080 ÷ 120 = 9, so 1920 × 1080 simplifies to 16:9. A 16:9 image that is 1080 px tall is 1080 × 16 ÷ 9 = 1920 px wide.
How to use this test
Enter the width and height in pixels to get the simplified ratio, or enter one side and a ratio to find the missing dimension. Presets cover YouTube 16:9, TikTok and Reels 9:16, Instagram square 1:1 and Instagram portrait 4:5.
How the measurement works
The calculator divides width and height by their greatest common divisor — the largest number that divides both evenly — to get the simplest ratio. For a missing side it multiplies the known side by the ratio: width = height × ratio width ÷ ratio height.
How to interpret results
A ratio of 16:9 means the width is 16 units for every 9 units of height. Landscape ratios have a larger first number, portrait ratios have a larger second number, and 1:1 is square. The preview box shows the shape of the ratio.
Troubleshooting tips
If the ratio looks wrong, check that width and height are not swapped and that both are in the same unit (pixels). A cropped or resized export has the ratio of its new size, not the original.
Related tests
You can also browse the other Everyday Tools.
Common aspect ratio questions
What does the aspect ratio result mean?
The calculator divides width and height by their greatest common divisor to get the simplest ratio, and uses the ratio to solve for a missing side.
Read full answer →How should I troubleshoot an unusual aspect ratio result?
Results describe the pixel dimensions you enter. Cropping, platform resizing and display scaling can change the ratio of the published file.
Read full answer →How can I get a more repeatable aspect ratio result?
Use the same browser, device, settings and test conditions for each run. Repeat the measurement several times and compare a typical result rather than relying on a single unusually high or low value.
Read full answer →How do I calculate aspect ratio?
Divide the width and height by their greatest common divisor. For 1920 × 1080, both divide by 120, giving 16:9. This calculator does that division for any size you enter.
Read full answer →