An aspect ratio calculator answers two related questions that come up constantly in video, photography, web design, and social media: what is the simplified ratio of a given width and height, and if I know one dimension and want a specific ratio, what should the other dimension be? This tool does both instantly, using the same greatest-common-divisor math that every video editor, image editor, and design tool uses internally, so the numbers you get here will match exactly what you see in professional software.
Arb Digital produces video ads, social creative, and web layouts for clients across every major platform, and a mismatched aspect ratio is one of the fastest ways to waste a design β cropped faces in a vertical Reel, black bars on a widescreen video uploaded square, a hero image stretched out of proportion on a responsive site. Getting the ratio right before you start production saves a re-export later.
What This Aspect Ratio Calculator Does
Enter any width and height and the tool reduces them to the simplest whole-number ratio that describes the same shape β for example, 1920 by 1080 always simplifies to 16:9, and 1080 by 1080 always simplifies to 1:1, regardless of how large or small the original numbers were. It also does the reverse: give it one known dimension (say, a width you're locked into) and a target ratio (say, 16:9), and it calculates the exact height needed to hit that ratio precisely, with no distortion or cropping. Alongside the ratio itself, it shows the decimal equivalent (useful for CSS `aspect-ratio` values and video specs), the total resolution in megapixels, and whether the shape reads as landscape, portrait, or square.
How to Use It
- To simplify a known size: enter the width and height, leave "Solve for missing dimension" set to "Just simplify," and click Calculate.
- To use a quick preset, pick one of 16:9, 4:3, 21:9, 1:1, or 9:16 from the dropdown β it fills in a standard example width and height for that ratio.
- To solve for a missing dimension: choose whether you know the width or the height, enter the target ratio's two numbers, and enter the dimension you already know in the corresponding width or height field. Click Calculate.
- Read the result: the simplified ratio, the decimal value, the solved dimension (if applicable), the total megapixels, and the general orientation.
The Math: Greatest Common Divisor
Simplifying a ratio is exactly the same operation as reducing a fraction: you divide both numbers by their greatest common divisor (GCD) β the largest whole number that evenly divides both. For 1920 and 1080, the GCD is 120, so dividing both by 120 gives 16 and 9, hence 16:9. The calculator finds this using the Euclidean algorithm, a method for computing the GCD of two numbers that has been known since antiquity and is described in detail by resources like Khan Academy's overview of the Euclidean algorithm: repeatedly replace the larger number with the remainder of dividing it by the smaller number, until the remainder reaches zero β whatever number you're left with is the GCD. This is exactly how photo and video editing software computes "detected aspect ratio" when you import a file, which is why this tool's output always matches what professional software reports.
Solving for a missing dimension uses simple cross-multiplication: if you know the width and the target ratio is W:H, the height equals (known width Γ· target W) Γ target H. The tool rounds this to the nearest whole pixel, since fractional pixels aren't meaningful for most image and video formats, though the rounding can introduce a tiny, usually invisible, deviation from the mathematically exact ratio at very small sizes.
Common Aspect Ratios and Where They're Used
- 16:9 is the standard for widescreen video β YouTube, most TVs, Full HD (1920x1080) and 4K (3840x2160) both use this ratio.
- 4:3 was the standard for older televisions and early digital cameras, and still appears in some presentation slides and legacy video content.
- 21:9 is an ultrawide cinematic ratio, common in movies and ultrawide monitors, giving a noticeably wider field of view than standard 16:9.
- 1:1 square format is standard for many social media feed posts, where a square crop displays identically regardless of whether the viewer's screen is portrait or landscape.
- 9:16 vertical format, the mirror image of 16:9, has become the default for Instagram Reels, TikTok, YouTube Shorts, and any full-screen mobile video experience.
- 4:5 is a common Instagram feed portrait ratio that maximizes vertical space in a mobile feed without going all the way to full 9:16.
Why Aspect Ratio Matters for Video and Social Content
Every platform crops or letterboxes content that doesn't match its expected ratio, and the failure modes are all visually jarring in their own way. Upload a square video to a platform expecting 16:9 and you get black bars on the sides; upload a 16:9 video to a platform expecting 9:16 (like a Reel) and either the sides get cropped off β cutting out anything important that wasn't centered β or the platform adds blurred bars above and below, which reads as low-effort. The safest workflow is deciding the target platform's expected ratio before shooting or designing, not after, since re-cropping after the fact almost always cuts off something that mattered, whether it's a subject's face, on-screen text, or a logo placed near the edge of frame.
The same logic applies to responsive web design: a hero image or video background set with a fixed aspect ratio using CSS's `aspect-ratio` property will resize cleanly across every screen size without ever distorting, whereas a fixed pixel width and height forces the browser to either stretch the content or leave gaps. Modern CSS accepts the ratio directly as a decimal or a slash-separated pair (`aspect-ratio: 16/9`), which is exactly the value this calculator's decimal-ratio output is designed to plug straight into.
Common Real-World Uses
- Planning a video export for a specific platform before recording, so nothing needs to be cropped after the fact.
- Resizing a design for a new platform while keeping the exact same proportions, using the solve-for-missing-dimension mode.
- Setting a responsive image or video container's CSS aspect-ratio value using the decimal output.
- Checking whether a stock photo or asset's dimensions will crop awkwardly before licensing or downloading it.
- Comparing monitor or TV specs that are advertised by resolution rather than ratio.
Arb Digital creates paid social and video ad campaigns engineered for each platform's native format, so your creative never gets an awkward crop or black bars. If you need a team that handles this end to end, we can help.
Talk to Arb Digital All Free ToolsCommon Mistakes to Avoid
- Uploading the same file to every platform without checking its native ratio. A 16:9 video on a 9:16 platform gets cropped or heavily letterboxed.
- Manually resizing without preserving the ratio. Dragging a corner handle without locking proportions stretches or squashes the image.
- Assuming a "close enough" ratio is fine. Many platforms strictly enforce a ratio and will auto-crop anything that doesn't match exactly, sometimes cutting off unintended parts of the frame.
- Confusing resolution with ratio. 1920x1080 and 3840x2160 are different resolutions but the same 16:9 ratio β more pixels, same shape.
- Designing centered content assuming it will survive any crop. Important elements should stay well within the safe area of the tightest ratio a design might be cropped to.
Related Free Tools From Arb Digital
You may also find the Paper Size Converter useful for print dimensions and DPI, the Currency Format Converter for pricing display on landing pages, the Timezone Converter for scheduling content publication across regions, and the Length Converter for general measurement conversions. Browse everything in our free online tools hub.
Frequently Asked Questions
Divide both the width and height by their greatest common divisor. The resulting two whole numbers, written as W:H, are the simplified aspect ratio, and it will match the original shape exactly.
16:9, the standard widescreen ratio used by Full HD and 4K video, most modern TVs, and YouTube's default video player.
Divide the known dimension by its side of the target ratio, then multiply by the other side. For example, for a 1600px width at a 16:9 ratio, height equals (1600 Γ· 16) Γ 9, which is 900.
9:16, a vertical ratio that fills a mobile phone screen completely in portrait orientation without any cropping or letterboxing.
They describe the same proportional shape, but 1920x1080 is one specific resolution at that ratio; 3840x2160 (4K) is a different resolution with the identical 16:9 ratio.
Most video platforms expect a specific native aspect ratio and will either add letterbox bars or automatically crop content that doesn't match it, which is why matching the target ratio before exporting avoids the problem entirely.
Working With Multiple Aspect Ratios From One Shoot
Professional video and photo workflows increasingly need to deliver the same core content in several ratios at once β a 16:9 version for YouTube, a 9:16 vertical cut for Reels and Shorts, and a 1:1 square crop for a feed post, all from a single shoot. The most reliable way to handle this is to frame the original footage or photo loosely, with the main subject kept close to center and enough surrounding space on every side to accommodate the tightest crop you'll eventually need. If you shoot tight to a 16:9 frame and later try to pull a 9:16 vertical crop from it, you'll typically lose either the left and right edges of the shot entirely, since a vertical frame is much narrower relative to its height than a widescreen frame is. Planning the loosest common denominator of all your target ratios before you start shooting saves a reshoot later, and this calculator is a fast way to check, before you ever pick up a camera, exactly how much width a 9:16 crop will leave you once it's pulled from a 16:9 original at a given resolution.
The same principle applies to static graphic design β a poster, banner ad, or hero image that needs to work at multiple ratios across different placements should be designed with its focal point centered and its background elements flexible enough to crop from any side without losing meaning. Text and logos are the riskiest elements in a multi-ratio design, since unlike a photographic background, cropped text can become unreadable or a logo can lose its recognizable shape if a crop cuts through it. Keeping text and logos within the safe area of the narrowest ratio in your delivery set β usually 1:1 or 9:16 β is the simplest rule of thumb that prevents this category of mistake across an entire campaign.
This tool runs entirely in your browser using built-in JavaScript. Nothing you enter is uploaded, stored, or sent to any server.