Height from the width
H' = round(W' × h ÷ w)
Likewise, W' = round(H' × w ÷ h).
Change the dimensions of a PNG, JPEG, or WebP image, adjust width and height, then download the resized file directly from your browser.
Drop an image here
Add a PNG, JPEG, or WebP image. The file stays on your device and all edits run locally in your browser.
Need more editing options?
Use multiple editing tools in one workspace, with your open file and its current edits.
Open the full editorResizing an image means changing its number of pixels: shrinking a 6,000 px photo for a web page, matching the width a site or CMS requires, or lightening an attachment. This tool sets the width or height to the exact pixel while keeping the proportions, with an instant preview, right in your browser.
After import, the Width and Height fields show the current size. Type either value: the other is recalculated to keep the image's proportions exactly. You can also drag the handle at the bottom right of the image; the fields follow.
The final Dimensions are shown while you adjust. Click Apply: the image is resampled with the browser's high-quality smoothing, which limits aliasing on strong reductions. Cancel drops the current setting.
Proportions are always kept: to change the shape, crop first. Enlarging is possible up to 32,768 px but adds no detail. The downloaded file keeps the imported format, with -edited added to its name.
Drop a PNG, JPEG or WebP image; its size appears in the fields.
Type the width or height you want, or drag the handle.
Check the final dimensions, click Apply, then download.
The dimension you did not type comes from proportionality; the pixel count changes with the square of the scale factor.
H' = round(W' × h ÷ w)
Likewise, W' = round(H' × w ÷ h).
(W' × H') ÷ (w × h) = (W' ÷ w)²
Dividing the width by 5 divides the pixel count by 25.
Shrink camera photos to 1,200 or 1,600 px wide before publishing them in an article.
Give an image the exact width a theme, a platform or a form demands.
Reduce a photo's resolution before sending it by email or messaging app.
H' = 1,200 × 4,000 ÷ 6,000 = 800 px. The pixel count is divided by (6,000 ÷ 1,200)² = 25, which makes the file much lighter.
Input
6,000 × 4,000 px photo, width entered: 1,200Result
1,200 × 800 px imageThe width is recalculated: 1,080 × 1,920 ÷ 1,440 = 1,440 px. The 4:3 shape is kept; for 16:9, crop before resizing.
Input
4:3 image of 1,920 × 1,440 px, height entered: 1,080Result
1,440 × 1,080 px imageAlways: width and height are linked. For another shape, crop the image or enlarge the canvas.
Yes. Type the width or height in pixels; the other dimension is calculated and rounded to the pixel.
Yes, up to 32,768 px per side, but enlarging adds no detail: the image will look blurrier.
Yes, usually a lot, because the pixel count drops with the square of the reduction factor.
No. The downloaded file keeps the imported format; to change format, use the converter.
No. Resampling is done in your browser.
Related tools
Tools similar or complementary to this one.
Convert an image to PNG, JPEG, or WebP and adjust output quality before download.
Reduce image file size with appropriate dimensions, format, and controlled quality while avoiding unnecessary visible degradation.
Choose the right image format for photos, screenshots, transparent graphics, and interfaces without sacrificing quality or performance unnecessarily.
WebP, AVIF and JPEG XL have different strengths. Compare compatibility, compression, transparency, HDR and fallback strategies in 2026.
Resize a batch of images, convert them to WebP and remove metadata with one reusable Pipeline.