Resize an Image in Pixels – Set Photo Width and Height
Resize an image in pixels when a website or form asks for an exact width and height.
Drop images here, paste from clipboard, or choose files
Supports JPG, PNG, WebP, GIF, and BMP • Max 25 MB per file
Tip: You can also copy any picture to your clipboard and press Ctrl+V to paste
Live Preview
Uncheck to keep descriptive tags from a JPEG when saving as JPEG. Location data and embedded previews are always removed.
100% preserves original dimensions. 50% halves each dimension; 200% doubles each dimension.
Scale proportionally so the image fits inside these maximum boundaries without stretching or distortion.
Scale the image by its longest dimension. The shorter edge scales proportionally automatically.
Keeps the original dimensions and pixels. Savings depend on the image, and optimization may remove metadata.
JPG and WebP quality settings trade detail for file size. Use File Size Only to preserve the original pixels.
JPEG does not support transparency. Transparent areas will be filled with this background color.
Keep the aspect ratio locked for proportional resizing. If the required frame has a different shape, crop the photo before resizing to avoid stretching it.
How to Resize Image in Pixels With Correct Dimensions
Pixel resizing is the most direct way to change an image's size: you type the exact width and height you want, and the tool produces a file with exactly those dimensions. The steps below take under a minute.
Prepare Input Files or Images
Add a JPG, PNG, WebP, GIF or BMP file under 25 MB using the file picker, drag-and-drop, or paste. Before you start, check the size the destination actually needs — a profile picture, a banner slot, or an upload form usually states its pixel dimensions, and entering those exact numbers avoids a second round of resizing.
Choose Settings and Preview Changes
The tool opens in Pixels mode. With the aspect lock on, type the width (or the height) and the other side follows from the picture's proportions. With the lock off, both numbers are used exactly as typed, which stretches the picture if they do not match its shape. The preview and the "Output size" readout show the exact pixel dimensions before you download.
Download and Verify the Output
Click Download next to the file, or "Download all resized images" for a batch. Open the downloaded file and check its properties: the width and height should match the output size shown on the page, pixel for pixel.
Resize Image in Pixels: Width, Height and Aspect Ratio Settings
The width and height fields accept whole pixels from 1 up to 8,192 per side. When the lock is on, the field you edit drives the result and the other is recalculated — edit the width to set the width, edit the height to set the height. When the lock is off, the picture is stretched to the exact rectangle you type, which is what you want when a form demands an exact size and does not mind distortion.
Recommended Default Settings
Keep the lock on unless a destination demands an exact rectangle. Leave the format on "Keep original" so a JPG stays a JPG and a PNG stays a PNG, and keep quality at 90% for JPG or WebP. If the picture will be printed, switch to the cm or inches mode instead — pixel numbers alone say nothing about print size without a DPI.
Resize Pixel: Examples and When to Use It
Pixel sizing is what upload forms, social profiles, app icons and web banners ask for. A common job is shrinking a 4000 px-wide phone photo to 1200 px for a web page, or cutting a screenshot down to the exact size a listing template expects. Because the numbers are exact, there is no guessing: what you type is what you get.
Real Input and Output Example
A 1200 × 800 px photo with the width set to 300 px and the lock on becomes 300 × 200 px — the same shape, a quarter of the width. With the lock off and 300 × 300 px typed in, the same photo becomes exactly 300 × 300 px, visibly squeezed. The quick picks on the main resizer page cover common exact sizes such as 300 × 300, 512 × 512 and 1024 × 576.
Pixels, Measurement Units, DPI and Output Quality
Pixels are absolute: a 600 × 400 px image is 600 × 400 px on every screen. DPI only matters when you convert to a physical size — at 300 DPI that same image prints at about 5 × 3.4 cm, and at 72 DPI it prints at about 21 × 14 cm. The DPI selector on this page affects the cm, mm and inch modes and the optional DPI stamp in the file; it never changes the pixel dimensions you type here.
Image Quality, Size and Compatibility Checks
Going smaller keeps quality; going larger softens the picture, because no new detail can be invented from the pixels you have. PNG keeps transparency and crisp edges for graphics and screenshots; JPG is smaller for photographs but flattens transparency onto white. The output cap is 8,192 px per side, and files over 25 MB are rejected before processing starts.
Common Resize Image in Pixels Problems and Fixes
The most common surprise is a stretched image, which always means the aspect lock was off when both numbers were typed. The second is a blurry enlargement — the fix is a larger original, not a different setting. If the size you want is rejected, check that both numbers are whole pixels above zero and below 8,192.
Troubleshooting Upload, Preview or Export Issues
If a file will not load, it is usually an unsupported type or a corrupt file; the tool names the file in its error message. If the preview shows a dash instead of a size, one of the numbers is missing or invalid — fill in both fields, or one field with the lock on. If a download does not start, allow downloads from this site in your browser and try again.
Related Tools and Next Steps
Merge Images, Image Resizer, Resize Image in Cm, Reduce Image Size in KB.
Measure width and height in the correct order
Enter width first when a specification reads 600 by 400 pixels. When your photo is portrait and the required dimensions are landscape, crop or pad it to the right aspect ratio first. Setting both values with the lock off can stretch the subject.
Resize an image in pixels without stretching it
With a 3:2 input, 900 pixels wide means 600 pixels tall when both dimensions change proportionally. For a 900 by 900 upload, crop to square or pad the source first. Adobe explains pixel resampling for use on screens.
Frequently Asked Questions About Resize Image in Pixels
Mobile Support, File Privacy and Download Options
This page works in any modern mobile or desktop browser. Your images are processed locally with the Canvas API and never leave your device, and downloads save straight to your phone or computer.
How do I resize an image to exact pixel dimensions?
Add the image, make sure Pixels mode is selected, switch the aspect-ratio lock off, then type the exact width and height and download. With the lock off, both numbers are used exactly as typed; with the lock on, one side is calculated from the picture's proportions instead.
What pixel size should I use for a profile picture?
Use the size the platform asks for — many ask for a square such as 300 × 300 or 512 × 512 px. If no size is given, 600 × 600 px is a safe square that stays sharp on most screens. The main resizer page has quick picks for these common sizes.
Does changing the DPI change the pixel size?
No. DPI only converts between pixels and physical units (cm, mm, inches) and, optionally, stamps a DPI value into the file. Typing 600 × 400 px always produces a 600 × 400 px image, whatever the DPI setting.
Why is my resized image blurry?
Blur comes from enlarging: a small image stretched to a larger pixel size has to invent pixels, which softens edges. Resize down from the largest original you have, and keep JPG quality at 90% or above.
Resize an image in pixels before sending it to a form
When the specification gives 900 by 600 pixels, check which dimension is width. Lock the aspect ratio for a source that is already 3:2. If the proportions differ, crop or add padding before resizing so circles and faces do not stretch.
Adobe explains what resampling does to pixel dimensions.

Resize an image in pixels with the aspect ratio locked
A 720 by 480 source at 432 pixels wide becomes 432 by 288 pixels with the ratio locked. If the form requires 432 by 320, choose cropping or padding before resizing so a square or circle keeps its original shape. Check the actual dimensions of the saved file.
