- All tools
- Aspect ratio calculator
How do I find the aspect ratio of an image or screen?
Type a width and a height and the page divides both by their greatest common divisor, so 1920 × 1080 becomes 16:9. It also gives the decimal ratio, the CSS aspect-ratio value and the closest standard ratio, and a second part resizes to a new width or height while keeping the ratio. Sizes that are not exactly a standard ratio, such as 1366 × 768, are shown as they are, not rounded to 16:9 without telling you.
- Type a width and a height to see the simplified ratio, the decimal and the CSS value.
- Pick a ratio, or press Use this ratio, then type a new width or a new height.
- Choose a rounding rule if needed, then copy the result or a size from the table.
1. Find the ratio
2. Resize and keep the ratio
Type a width to get the height, or a height to get the width. The field you edited last is the one that is used.
Common sizes
| Size | Name |
|---|
What this page can do
- Simplifies any width and height to a ratio, including decimals
- Shows the exact ratio and the nearest standard ratio side by side
- Gives the CSS aspect-ratio value ready to paste
- Resizes from a width or a height, with rounding to 2, 4, 8 or 16
- Draws a to-scale preview and lists common resolutions with Copy on each
When to use this page
- Choosing the size of a thumbnail, banner or video that must match a layout.
- Setting the CSS aspect-ratio of an embed so the page does not jump while it loads.
- Working out the height for a width without a calculator.
When to use something else
- You need to resize or crop a picture file itself: use an image tool that edits pixels.
- You need to know whether a photo will fit a print size: paper sizes also depend on margins and bleed.
- You need exact broadcast or cinema delivery specifications: check the standard your platform publishes.
How it compares with other options
A calculator app or a search box can divide two numbers, but it will not reduce them to a ratio, show how far a size is from a standard ratio, or round to a multiple of 16. Design and video editors keep a ratio locked while you resize, but only inside that program. This page does both jobs in one place, shows the rounding error instead of hiding it, and works without installing anything.
Where your data goes
Nowhere. Every number is computed by your own browser. Nothing you type is sent to a server, logged or stored, and closing the tab clears it. You can check it yourself: open your browser’s network panel. The page still loads its own code and any ads, but no request carries the numbers you typed.
Questions about this tool
What is the aspect ratio of 1920 × 1080?
It is 16:9. Both numbers divide by 120, which leaves 16 and 9. The decimal ratio is 1.778, and the CSS value is aspect-ratio: 16 / 9.
Why does 1366 × 768 not give 16:9?
1366 × 768 simplifies to 683:384, because 1366 is not divisible by 16. It is only about 0.05% away from 16:9, which is why laptop makers call it 16:9. This page shows the exact ratio and the nearest standard one, so you can see how far apart they are.
Why do video encoders want even sizes?
Common formats such as H.264 store colour at half resolution, so width and height are usually required to be even, and many encoders prefer multiples of 4, 8 or 16. Use the rounding option to snap the result to the multiple your encoder asks for. Snapping moves the size slightly away from the exact ratio, and the page shows the small difference.
Can I use decimals or units other than pixels?
Yes. Width and height can be decimals such as 2.5 × 1.5, which gives 5:3, and any unit works as long as both use the same one, for example inches, millimetres or centimetres. Decimals are read exactly as typed, up to 6 decimal places.