# Aspect ratio calculator > What is the aspect ratio of your screen or picture? Find the aspect ratio of a width and height, or resize a picture or video to a new width or height without stretching it. Find the aspect ratio of a width and height, such as 1920 × 1080, and calculate a new size for your picture or video without distortion. - Page: https://how.box/aspect-ratio/ - Runs entirely in the browser. - License: HowToolbox's own text and data (titles, explanations, FAQs, tool descriptions and schemas, this file) are CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/); AI training and answers are welcome. Attribute "HowToolbox (how.box)" with a link to the page used. Third-party data keeps its own terms; the name and logo are not licensed. Publisher: HowToolbox, contact@how.box. Terms: https://how.box/about/terms/ ## Inputs Answer link: https://how.box/aspect-ratio/?m={m}&w={w}&h={h}&k={k}&s={s} - `m` (ratio or resize): Calculation: ratio or resize. Example: `ratio`. - `w` (number 0 to 1e9): Width of the frame. Example: `1920`. - `h` (number 0 to 1e9): Height of the frame. Example: `1080`. - `k` (width or height): For m=resize: whether the new width or the new height is given. Example: `width`. - `s` (number 0 to 1e9): For m=resize: the new width or height. Example: `1280`. Example answer: https://how.box/aspect-ratio/?m=ratio&w=1920&h=1080&k=width&s=1280 A complete link carries the primary answer in the page HTML; a missing or invalid value shows the default page. ## Agent tools - `aspect_ratio_calculate`: Aspect ratio of a width × height and resizing at the same ratio. - MCP, one POST to https://how.box/mcp: `{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"aspect_ratio_calculate","arguments":{"mode":"ratio","width":1920,"height":1080,"known":"width","size":1280}}}` - GET: https://how.box/mcp/run/aspect_ratio_calculate?mode=ratio&width=1920&height=1080&known=width&size=1280 ## How it works The aspect ratio of a picture or screen is its width compared with its height, written width : height. 1920 × 1080 is 16 : 9: for every 16 units across there are 9 up. Both numbers are divided by their greatest common divisor to give the smallest whole numbers, so any unit works, pixels or centimetres. To resize without stretching, keep the ratio. If the new width is W, the new height is H × W ÷ w, where w and H are the original width and height. A 1920 × 1080 picture shrunk to 1280 wide is 1080 × 1280 ÷ 1920 = 720 high. Common ratios, such as 4:3, 3:2, 16:9 and 21:9, are listed in Wikipedia’s “Aspect ratio (image)”. Many real sizes are only close to a common ratio: 1366 × 768 is 683 : 384, which is nearly 16 : 9. The tool names the closest common ratio and shows whether the shape is landscape, portrait or square. ## FAQ **What is the aspect ratio of 1920 × 1080?** 16:9. Both numbers divide by 120, which leaves 16 and 9. **How do I resize an image without distorting it?** Keep the aspect ratio: multiply the other side by the new size and divide by the old size. Or use Resize here and enter the new width or height. **Why is my ratio not a tidy number like 16:9?** The size may be a little off the standard shape, as with 1366 × 768. The tool shows the exact ratio and the closest common one. **Does the unit matter?** No. A ratio only compares the two numbers, so pixels, millimetres and inches give the same answer. **Is 16:9 the same shape as 9:16?** No. Aspect ratios are width to height: 16:9 is landscape and 9:16 is portrait. Swapping the numbers turns the frame sideways. More: [HowToolbox index](https://how.box/llms.txt) · [Agent Skill](https://how.box/skill.md) · [agent terms](https://how.box/about/agents/)