Aspect ratio calculator: resize an image without stretching it
A 1920 × 1080 px image resized to 1280 px wide must be 720 px tall to keep its shape. Enter your own sizes for vertical frames, squares or 3:2 photos.
How the calculation works
New height = new width × original height ÷ original width, rounded to whole pixels. The ratio is the width and height divided by their greatest common divisor, so 1920 × 1080 becomes 16:9 and 1080 × 1350 becomes 4:5.
Common formats: 16:9 for YouTube and screens, 9:16 for Reels, TikTok and Shorts, 4:5 for portrait Instagram posts, 1:1 for squares and 3:2 for most camera photos. If the target ratio differs from the original, resizing alone is not enough and you need to crop.
Frequently asked questions
How do I keep the aspect ratio when resizing?
Change one side and calculate the other from the ratio. The calculator does this for the new width.
What size is 16:9 in pixels?
Common sizes are 1280 × 720, 1920 × 1080, 2560 × 1440 and 3840 × 2160.
Why is the result rounded?
An image has whole pixels only. Rounding can shift the ratio by a fraction of a pixel, which is invisible.
More tools
- Print DPI calculatorfrom pixels to centimetres and inches
- Download time calculatorhow long will the file take?
- Disk capacity calculatorwhy 1 TB shows as 931 GB
- Byte converterbits, bytes, MB, MiB, GB and GiB
- Aspect ratio calculatorresize an image without stretching it
- AI API cost calculatorwhat you pay per month for each model
- Compare AI models side by sideClaude, ChatGPT, Gemini and more
