Aspect Ratio & Pixel Calculator
Enter pixel dimensions, start from a preset, or lock the current ratio to resize proportionally.
Ratio
How to use Aspect Ratio & Pixel Calculator
- Enter whole-pixel width and height values to get the reduced aspect ratio.
- Turn on Lock Aspect Ratio before changing a dimension, or choose a common ratio or a social media size to set both dimensions.
- Review the frame and copy the CSS aspect-ratio declaration for your layout.
Privacy & client-side processing
The calculator uses the numbers entered in your browser. You can calculate proportions and copy the result without opening or uploading an image.
Key features
- Common ratios including 16:9, 9:16, 4:5, 1:1, 21:9, and 4:3.
- Social size presets and a proportional preview.
- Editable dimensions with aspect ratio lock and a CSS snippet.
Frequently asked questions
Does this crop my image?
No — it calculates dimensions. Use Photo Editor or Social Image Sizes to apply them.
What is the aspect ratio of 1920 × 1080?
It is 16:9. Dividing both numbers by 120 reduces the ratio to its simplest form.
Why can the displayed ratio change while locked?
The calculated dimension is rounded to a whole pixel. Some target sizes cannot express the original ratio exactly in integers.
Does this tool crop an image?
It calculates dimensions. Use the result in an image editor for cropping or in a CSS declaration to size a layout box.
Studio links
Related studio tools
- UI, TypographyFree · Client-Side
Social Image Size & Crop Tool
IG · YT · TikTokOpen - ImageFree · Client-Side
Photo Editor & Adjustments
Crop · Filters · ExportOpen - UI, TypographyFree · Client-Side
Typography & Font Pair Previewer
Aa · PairOpen - Color, VectorFree · Client-Side
SVG to PNG High-Res Rasterizer
SVG → PNG 8×Open