Calculate in either direction
Start with width to find height, or start with height to find width.
Enter an image or video ratio and one known dimension to calculate the other side, simplify the ratio, and copy its CSS aspect-ratio value.
Choose the known side and enter its pixel size. The other side updates with the selected rounding rule.
1,920 × 1,080 · 16:9
Output size
1,920 × 1,080 px
Start with width to find height, or start with height to find width.
When the exact value has decimals, the result shows whether it was rounded to nearest, down, or up.
Handle 1:1, 3:4, 4:5, 9:16, 16:9, and 21:9 in the same calculator.
Calculate the intended dimensions before setting a maximum image edge.
Calculate landscape, vertical, or ultrawide export dimensions.
Check square or 4:5 dimensions for product and content assets.
Copy the simplified CSS aspect-ratio value into a web layout.
Set the ratio width and height, or choose a common preset.
Select whether width or height is known, then enter its pixel value.
Check the other side, exact value, and rounded result before copying the dimensions.
An aspect ratio describes the relationship between width and height. A 16:9 ratio means 16 units of width for every 9 units of height, not one fixed pixel size.
Choose “Width is known,” then enter the ratio and width. Height is width × ratio height ÷ ratio width.
Pixel dimensions usually need whole numbers. When a ratio does not divide evenly, choose nearest, down, or up while keeping the exact value visible.
No. It calculates and previews dimensions without reading, uploading, or resampling an image.
They represent common widescreen, portrait-photo, and vertical-canvas shapes. Platform requirements can change, so check the current specification for your destination.