Image Resizer
Resize any photo to exact pixel dimensions — by width, height, percentage, or a maximum fit box — while keeping its aspect ratio.
Image Resizer
Drop an image here or click to choose one
Your image never leaves your device — resizing runs entirely in your browser. The aspect ratio is always preserved, so images are never stretched or squashed.
Formulas:
By width: Scale = Target width ÷ Original width
By height: Scale = Target height ÷ Original height
By percent: Scale = Percent ÷ 100
Fit box: Scale = smaller of (Max width ÷ Original width) and (Max height ÷ Original height)
New width = Original width × Scale, New height = Original height × Scale
What Does an Image Resizer Do?
An image resizer changes the pixel dimensions of a photo or graphic — its width and height measured in pixels. A phone camera today produces images 4,000 pixels wide or more, but a website banner might need only 1,920 pixels, a social media post 1,080 pixels, and a thumbnail just 300 pixels. Resizing matches the image to the job, which makes files smaller, pages faster, and uploads that would otherwise be rejected for exceeding size limits suddenly acceptable.
This resizer keeps the aspect ratio locked, which is the single most important thing a resizer must do. The aspect ratio is the relationship between width and height — a 4,000 by 3,000 photo has a 4:3 ratio — and changing the width without changing the height by the same proportion would stretch or squash the image, making people look unnaturally tall or wide. Every mode in this tool scales both dimensions by the same factor, so the picture always keeps its true shape.
How to Use This Image Resizer
Drop an image onto the upload area or click to choose a file. The tool shows a preview with the original dimensions and file size. Then pick a resize mode. Target width is the most common choice: enter the width you need, for example 1,920 pixels for a website hero image, and the height is worked out automatically. Target height works the same way from the other side, which is useful for portrait photos and story-format images.
Percentage mode shrinks or grows the image by a proportion — 50 percent halves both dimensions, leaving a quarter of the pixels. Fit-inside mode is for maximum limits: enter the largest width and height allowed, and the tool scales the image to fit inside that box without exceeding either side. Finally, choose an output format — JPEG for photos, PNG for graphics with transparency, WebP for the smallest files — and download the resized image. The original file is never touched.
Aspect Ratio Explained
The aspect ratio describes an image's shape as a pair of numbers, such as 4:3, 3:2, or 16:9. It comes from dividing the width and height by their greatest common divisor: a 4,000 by 3,000 image has a greatest common divisor of 1,000, so its ratio is 4:3. A 1,920 by 1,080 screen is 16:9, and a square Instagram post is 1:1. Two images with the same ratio have the same shape even if their pixel sizes are completely different.
Why does this matter? Because every screen and platform expects certain shapes. A 4:3 photo dropped into a 16:9 video frame either leaves black bars on the sides or has to be cropped. A square profile picture cropped from a wide landscape photo keeps only the middle slice. When you resize, the ratio stays the same — resizing changes size, not shape. Changing the shape is a different job, done with cropping, and our Image Cropper handles that.
The Resize Formula
Every resize mode in this tool works from a single scale factor, and the only difference between modes is how that factor is found. In target-width mode, the scale is the target width divided by the original width. In target-height mode, it is the target height divided by the original height. In percentage mode, it is the percent divided by 100. In fit-inside mode, it is the smaller of the width scale and the height scale, which guarantees the result fits inside the box on both sides.
Once the scale is known, the new width is the original width times the scale, and the new height is the original height times the scale, each rounded to the nearest whole pixel. Because both dimensions are multiplied by the same number, the aspect ratio is preserved exactly. One thing to know about fit-inside mode: if your image is already smaller than the box on both sides, the scale is greater than 1 and the tool will enlarge the image to fill the box. Upscaling adds no real detail, so for best results use a fit box smaller than your image, or use percentage mode with a value under 100.
Worked Example
Take a 4,000 by 3,000 pixel photo (a 4:3 ratio) and resize it by target width to 1,920 pixels. The scale is 1,920 divided by 4,000 = 0.48. The new width is 4,000 times 0.48 = 1,920 pixels, and the new height is 3,000 times 0.48 = 1,440 pixels. The result is a 1,920 by 1,440 image — still 4:3, with 2,764,800 pixels instead of 12,000,000, which is 23 percent of the original pixel count.
Now take a 4,032 by 3,024 phone photo and fit it inside a 1,200 by 1,200 box. The width scale is 1,200 divided by 4,032 = 0.2976, and the height scale is 1,200 divided by 3,024 = 0.3968. The smaller is 0.2976, so the new size is 4,032 times 0.2976 = 1,200 pixels wide and 3,024 times 0.2976 = 900 pixels tall. The image fits inside the box, touching the left and right edges, with no cropping and no distortion. Both examples are computed by the tool itself, so you can verify them by entering the same numbers.
Common Image Sizes
Different platforms expect different sizes, and resizing to the recommended size avoids awkward automatic cropping. A YouTube thumbnail is 1,280 by 720 pixels (16:9). An Instagram square post is 1,080 by 1,080 pixels, an Instagram portrait post is 1,080 by 1,350 pixels (4:5), and an Instagram story is 1,080 by 1,920 pixels (9:16). A Facebook shared image displays best at 1,200 by 630 pixels, and a LinkedIn post image at 1,200 by 627 pixels.
For websites, a full-width hero image is usually 1,920 pixels wide, blog content images are 800 to 1,200 pixels wide, and thumbnails are 300 to 600 pixels wide. For print, remember that pixels are not the whole story: a 300 DPI print needs 300 pixels per inch, so a 6 by 4 inch print needs an image of at least 1,800 by 1,200 pixels. A 1,200 pixel image printed at 6 inches wide gives only 200 DPI, which looks noticeably soft on paper.
Resizing Down vs Resizing Up
Resizing down — making an image smaller — is safe and usually improves apparent sharpness, because the resampling averages neighboring pixels together and smooths out noise. A 4,000 pixel photo shrunk to 1,000 pixels often looks crisper than a photo taken at 1,000 pixels in the first place. This is why resizing down is the standard first step before publishing any photo online.
Resizing up — enlarging — is the opposite. The tool has to invent pixels that were never captured, so the result is softer than the original, and enlarging more than about 1.5 times starts to look visibly blurry. If you need a larger image, enlarge from the biggest original you have, keep the enlargement modest, and accept that the result will be softer. Never enlarge an image and then compress it aggressively: the combination of softness and compression artifacts is the worst of both worlds.
Tips for Better Resized Images
Resize from the original. Every resize discards information, so always start from the largest, highest-quality original you have. Resizing a copy of a copy compounds the loss.
Match the display size. An image displayed at 800 pixels wide does not need to be 4,000 pixels wide — the extra pixels only slow the page down. But do not go smaller than the display size either, or the browser will stretch the image and it will look blurry.
Pair resizing with compression. Resizing reduces the pixel count, but the file can still be large. After resizing, run the result through our Image Compressor to cut the file size further — a resized photo at quality 0.8 is often a tenth of the size of the original camera file.
Keep the format appropriate. JPEG is best for photos, PNG for graphics and transparency, and WebP for the smallest photo files. Resizing does not change which format suits an image, so choose the output format to match the content.
Common Mistakes to Avoid
The biggest mistake is resizing to exact width and height independently, which stretches the image. If you need an image to be exactly 1,200 by 630 pixels and your photo is 4:3, you cannot get there by resizing alone — you must resize and then crop, or crop and then resize. This tool deliberately does not offer independent width and height, because a stretched photo is almost never what anyone wants.
The second mistake is resizing down and then throwing away the original. A 1,920 pixel version is fine for today's website, but if you later need a print or a larger display, you cannot recover the discarded pixels. Keep the original full-size file, and treat every resized version as a disposable copy made for one specific purpose.
Finally, watch out for resizing screenshots and graphics with text. Text and sharp edges suffer more from resizing than photographs do, because the resampling blurs edges that were perfectly sharp. For graphics, resize in one step to the final size rather than in several small steps, and prefer PNG output, which keeps edges crisp.
Frequently Asked Questions
How do I resize an image without stretching it?
Change both dimensions by the same scale factor so the aspect ratio stays the same. This tool does that automatically: set a target width, height, or percentage and the other dimension is calculated for you. A 4,000 x 3,000 photo resized to 1,920 wide becomes 1,920 x 1,440, still 4:3.
What size should I resize images to for a website?
1,920 pixels wide for full-width hero images, 800 to 1,200 pixels wide for blog content images, and 300 to 600 pixels for thumbnails. Match the size the image is actually displayed at — larger only slows the page down.
Does resizing an image reduce its file size?
Yes, sharply. Halving both dimensions leaves a quarter of the pixels, so the file gets roughly four times smaller. A 4,000 x 3,000 photo resized to 1,920 x 1,440 keeps only 23% of its pixels. Pair resizing with compression for the smallest files.
Can I make an image bigger without losing quality?
Not really — enlarging invents pixels that were never captured, so the result is softer than the original. Enlargements up to about 1.5 times are usually acceptable; beyond that, visible blurriness appears. Always enlarge from the largest original you have.
What is the difference between resizing and cropping?
Resizing changes the size of the whole image while keeping its shape and content. Cropping cuts away part of the image to change its shape. To turn a 4:3 photo into a square, you crop it; to make the same photo smaller for the web, you resize it.