Image Resize Calculator
New image dimensions from aspect-ratio math. Enter the original width and height and one target side — no file is uploaded or processed.
Formula: new side = target side × original other side ÷ original same side. The aspect ratio never changes.
How to use the image resize calculator
- Enter the original width and height in pixels.
- Choose “Target width” or “Target height” and enter that side.
- Press “Calculate new size” to see the new dimensions, aspect ratio and scale.
Image resize calculation example
To fit a 4000 × 3000 photo into a 1200 px wide space while keeping its shape: height = 3000 × 1200 ÷ 4000 = 900 px.
Print sizes
- Pixels ÷ DPI = inches. A 3000 × 2400 image prints at 10 × 8 inches at 300 DPI.
- 150 DPI is fine for posters viewed from a distance; 300 DPI for photos held in the hand.
Image resize calculator: common questions
- Does this resize my image file?
- No. This tool only works out the new dimensions from aspect-ratio math. It never uploads or changes an image file — use it to find the size, then resize the file in your editor.
- How is the aspect ratio kept?
- The other side is scaled by the same factor: new height = target width × original height ÷ original width. The ratio shown (for example 16:9) is the original width and height divided by their greatest common divisor.
- Why is the new size rounded?
- Pixels are whole numbers, so the calculated side is rounded to the nearest pixel. The difference from the exact ratio is under half a pixel.
- Is my data stored?
- No. The calculation runs in your browser.
- Can I resize an image here?
- This tool calculates dimensions. To actually resize a file, use the Resize Image tool, which runs in your browser.