Simplify any size
Use the ratio mode for images, screens, thumbnails, canvases, or video frames such as 1920 × 1080, 1280 × 720, or 1080 × 1920.
Calculate proportional width and height, simplify dimensions into a clean ratio, and preview common formats with this free Online Ruler aspect ratio calculator.
Use pixels, inches, centimeters, or any matching unit. The simplified ratio stays the same.
Enter the target ratio and one known side to get proportional output dimensions.
Aspect ratio guide
An aspect ratio compares width to height. Enter both dimensions and the Online Ruler calculator divides them by their greatest common factor to show the cleanest ratio.
Use the ratio mode for images, screens, thumbnails, canvases, or video frames such as 1920 × 1080, 1280 × 720, or 1080 × 1920.
Use resize mode when you know one side and need the other side to keep the design proportional.
Try 16:9 for HD video, 1:1 for square social posts, 9:16 for stories and reels, or 21:9 for ultrawide layouts.
FAQ
An aspect ratio is the proportional relationship between width and height. For example, 1920 × 1080 simplifies to 16:9.
Enter the width and height. The calculator divides both numbers by their greatest common factor to show the simplest width:height ratio.
It means the width has 16 equal parts for every 9 equal parts of height. Common examples are 1920 × 1080 and 1280 × 720.
Open Resize mode, enter the ratio, choose whether your known side is width or height, and type the known value. The missing side updates automatically.
Use 16:9 for widescreen video, 9:16 for vertical reels or stories, 1:1 for square posts, and 21:9 for cinematic or ultrawide layouts.
Yes. Aspect ratio is proportional, so pixels, inches, centimeters, or millimeters all work as long as width and height use the same unit.
Yes. Keeping the same aspect ratio preserves the shape of an image, video, or design so it does not look stretched or squeezed.
No. The calculator only uses the numbers typed into your browser and does not require image uploads.
RELATED TOOLS
Convert pixels to inches, centimeters, millimeters, points, and more at any DPI.
Open pixel converterCalculate display width, height, and area from diagonal size and aspect ratio.
Open screen size calculatorCalculate pixels per inch, dot pitch, and physical size for any display.
Open PPI calculatorAn aspect ratio calculator expresses width compared with height and finds a missing dimension when resizing. For example, 1920 × 1080 pixels simplifies to 16:9.
Divide width by height to obtain the ratio. When preserving proportions, new height = new width × original height ÷ original width. Integer ratios can be reduced by their greatest common divisor.
Round pixel dimensions to whole numbers when exporting an image. The ratio alone does not describe physical screen size, image quality, or cropping.
Maintained by Imran Ahmed, Online Ruler. Contact us about an error or a source that needs updating.