Quick Answer
A 1920x1080 image resized to 800px wide becomes 800x450px, preserving the 16:9 aspect ratio. At 50% scale, it becomes 960x540px.
Original Dimensions
Resize Target
Common Examples
| Input | Result |
|---|---|
| 1920x1080 resized to width 800px | 800 x 450px (aspect ratio 1.7778) |
| 1920x1080 resized to height 720px | 1280 x 720px |
| 4000x3000 resized to 50% | 2000 x 1500px |
| 1200x628 resized to width 600px | 600 x 314px |
| 800x600 resized to 200% | 1600 x 1200px |
How It Works
Maintaining aspect ratio when resizing means preserving the proportional relationship between width and height. The core formulas are:
Aspect Ratio = Original Width / Original Height
Resize by width: New Height = New Width / Aspect Ratio
Resize by height: New Width = New Height x Aspect Ratio
Resize by percentage: New Width = Original Width x (Percentage / 100), New Height = Original Height x (Percentage / 100)
Why aspect ratio matters
If an image is resized without maintaining the aspect ratio, it appears stretched or squished. A 1920x1080 image (16:9) resized to 800x800 would distort the image by making it square. Constraining one dimension and calculating the other preserves the original proportions.
Common resize targets for the web
- Thumbnails: 150x150, 300x300 (often cropped to square)
- Blog images: 800px or 1200px wide
- Social media: 1200x630 (Facebook/Twitter), 1080x1080 (Instagram square)
- Retina displays: 2x the CSS dimensions (e.g., 1600px wide for an 800px display slot)
Worked Example
For a 4000x3000 image (aspect ratio = 4000 / 3000 = 1.3333, or 4:3):
Resized to 800px wide: New Height = 800 / 1.3333 = 600px. Result: 800x600.
Resized to 50%: New Width = 4000 x 0.50 = 2000px. New Height = 3000 x 0.50 = 1500px. Result: 2000x1500.
Resized to 720px tall: New Width = 720 x 1.3333 = 960px. Result: 960x720.
Related Calculators
Frequently Asked Questions
How do I resize an image without distortion?
height: auto or width: auto.
What happens to image quality when I resize?
Should I serve different image sizes for different devices?
srcset attribute or the <picture> element to serve appropriately sized images. Common breakpoints include 400px, 800px, 1200px, and 1600px wide.
CalculateY