Calculate aspect ratio from dimensions or resize keeping the same ratio
Runs locally in your browser🆓Free — no sign-up🔒100% Private
Maintaining a consistent aspect ratio when resizing images, videos, or UI layout elements prevents distortion — stretched faces in profile photos, squashed video thumbnails, or incorrectly proportioned product images. The most common aspect ratios in digital media are 16:9 for widescreen video and monitors, 4:3 for standard definition content, 1:1 for Instagram posts and profile photos, and 9:16 for mobile vertical video. This calculator solves for the missing dimension: provide the original width and height plus the new width to get the mathematically correct new height, or vice versa. It also identifies the standard ratio name that matches any set of dimensions.
Consider a web designer embedding a hero video that was filmed at 1920x1080 pixels but needs to fill a container only 740 pixels wide — entering those three values instantly returns the correct height of 416 pixels, keeping every frame perfectly proportioned. Or a photographer preparing a portfolio shot originally captured at 4500x3000 pixels for an e-commerce thumbnail slot that is 400 pixels wide; the tool outputs 267 pixels for the height, preventing the squashed look that damages product presentation. A social media manager repurposing a 1080x1080 square Instagram post into a 1280-pixel-wide Facebook cover image can verify the new height in seconds and avoid awkward cropping or stretching.
Graphic designers, front-end developers, video editors, e-commerce managers, and content creators who regularly work across multiple platforms and screen formats benefit most from having a reliable ratio calculator at hand. Rather than reaching for a calculator and doing the cross-multiplication manually — or worse, eyeballing a resize and hoping it looks right — this tool provides an exact answer in a single step. All calculations run entirely in your browser, so no image or video file is ever uploaded to a server, making it safe to use with confidential client assets or proprietary media.
Quick presets
How to use Aspect Ratio Calculator
1.Enter the original width and height of your image or video in the first two fields.
2.The aspect ratio (e.g. 16:9, 4:3, 1:1) is calculated and shown instantly.
3.To resize while keeping the ratio: enter a new width and the correct height is calculated automatically (or vice versa).
4.Use the preset buttons (16:9, 4:3, 1:1, 9:16) to see pixel dimensions for common ratios.
5.Use the result to resize images in photo editors, crop video in editing software, or set canvas sizes correctly.
Key Features
✓
Instant ratio detection — Enter any width and height and see the simplified ratio (e.g. 16:9) immediately.
✓
Resize calculator — Enter a new width or height and get the correct other dimension to maintain the ratio.
✓
Common presets — One-click presets for 16:9, 4:3, 1:1, 9:16, 21:9, and other common ratios.
✓
Platform guide — Reference table for the correct dimensions on YouTube, Instagram, TikTok, Twitter, and more.
Frequently Asked Questions about Aspect Ratio Calculator
Divide both numbers by their Greatest Common Divisor (GCD). For 1920×1080: GCD is 120, so 1920÷120=16 and 1080÷120=9, giving 16:9. Our calculator does this automatically — just enter width and height.
Common 16:9 sizes: 1920×1080 (Full HD), 1280×720 (HD), 3840×2160 (4K UHD), 854×480. Any resolution where width÷height ≈ 1.778 is 16:9.
Multiply both width and height by the same scale factor. For 1920×1080 scaled to 800px wide: 800÷1920=0.417, new height=1080×0.417=450px → 800×450. Enter a new width or height above and the calculator fills in the other dimension.
YouTube uses 16:9. Recommended resolution: 1920×1080 (Full HD) or 3840×2160 (4K). YouTube Shorts use 9:16 vertical at 1080×1920.
Instagram: 1:1 (1080×1080) for square posts, 4:5 (1080×1350) for portrait feed posts, 9:16 (1080×1920) for Stories and Reels.
4:3 means 4 units wide for every 3 units tall. It was standard for old monitors and TVs. Common sizes: 1024×768, 800×600. It is narrower than 16:9 widescreen but wider than 1:1 square.