The aspect ratio formula is R = W / H. The simplified integer ratio is found using the Euclidean algorithm to compute GCD(W, H), then dividing both sides by the GCD: RW = W / GCD, RH = H / GCD. When the ratio and new width W2 are known, the new height H2 = W2 × (RH / RW). 16:9 (HD video / modern monitors), 9:16 (TikTok / Reels / Shorts vertical video), 4:3 (classic TV / iPad displays), 21:9 (ultrawide cinematic screens), 1:1 (Instagram square posts / avatars), 3:2 (35mm DSLR photography).
The aspect ratio formula is R = W / H. The simplified integer ratio is found using the Euclidean algorithm to compute GCD(W, H), then dividing both sides by the GCD: RW = W / GCD, RH = H / GCD. When the ratio and new width W2 are known, the new height H2 = W2 × (RH / RW).
16:9 (HD video / modern monitors), 9:16 (TikTok / Reels / Shorts vertical video), 4:3 (classic TV / iPad displays), 21:9 (ultrawide cinematic screens), 1:1 (Instagram square posts / avatars), 3:2 (35mm DSLR photography).
Q: Will calculation results have decimals?
A: This calculator rounds dimensions to whole pixels by default, while displaying decimal aspect ratios up to 4 decimal places for precise comparison.
All ratio and pixel calculations run entirely within your local browser's JavaScript engine. Zero network requests, protecting your data privacy.
Enter the original width and height, and the system automatically finds the greatest common divisor (GCD) to reduce them to lowest integer terms (e.g. 1920x1080 gives 16:9). Enter a new width or height in the Target Conversion section to automatically derive the missing dimension while preserving the exact aspect ratio. Click common preset buttons (such as 16:9, 9:16, 4:3, 21:9) to quickly populate industry standard ratios.