Calculate and resize image/video dimensions
Aspect ratio describes the proportional relationship between an image or video's width and height, expressed as two numbers (like 16:9 or 4:3). This calculator finds a missing dimension that preserves the original ratio, or simplifies a ratio to its smallest whole-number form.
New Height = New Width × (Original Height / Original Width) — or simplify Width:Height using their greatest common divisor (GCD)
Multiply the new width by (original height ÷ original width). For example, resizing a 1920×1080 image to a width of 1280: 1280 × (1080/1920) = 720, giving 1280×720.
Divide both numbers by their greatest common divisor. 1920 and 1080 share a GCD of 120, so 1920÷120 : 1080÷120 = 16:9.
16:9 is a wider, more rectangular ratio common in modern video and widescreen displays; 4:3 is more square-shaped and was standard for older televisions and monitors.
The width and height were likely scaled by different factors, distorting the original proportions — use an aspect-ratio-preserving resize (scale both dimensions by the same factor) to avoid this.
Instagram supports 1:1 (square), 4:5 (portrait feed), and 9:16 (Stories/Reels); TikTok primarily uses 9:16 for vertical video — check the specific platform's current recommended ratio before exporting.