Skip to content
RESIZING

Image Resolution vs File Size: What Actually Changes?

Pixels, kilobytes, megabytes, and DPI are different measurements. Here is how to use them correctly.

One of the most persistent image myths is that a photo becomes small simply because you change its DPI from 300 to 72. For most web uploads, that number is not what decides how many bytes you are sending. It helps to separate three measurements that are often lumped together.

Pixel dimensions describe the grid

A 1200 × 800 image contains 960,000 pixels. A 2400 × 1600 image contains 3,840,000 pixels, four times as many. The larger picture has more samples available to show detail, but the resulting file size still depends heavily on content and encoding.

The browser's image preview uses those pixels. If you enlarge an image beyond its available detail, it can become soft even when the file's quality setting was high.

KB and MB describe storage

File size tells you how many bytes the image occupies. Two files with identical pixel dimensions can have very different sizes. A simple illustration with a plain background may be compact as PNG, while a detailed photograph may be much larger in the same format.

JPEG and WebP can discard some image information to save bytes. PNG generally preserves pixel values. Changing only the file format can therefore have a substantial effect without changing width and height.

DPI and PPI describe a different question

DPI and PPI are often used loosely in image discussions. For a screen upload, you usually care about the number of pixels and the site's file-size limit. A DPI metadata field does not automatically resize the image's pixel grid.

For printing, physical dimensions and pixel density do matter. A 3000-pixel-wide picture printed at 10 inches has 300 pixels per inch along that side, assuming no resampling. The same pixels printed at 20 inches provide 150 pixels per inch. The pixel data has not changed; its physical use has.

How to decide what to change

If an upload says under 200 KB, focus on encoded file size while respecting any dimension rules. If a banner needs 1280 × 720, focus on pixel dimensions and aspect ratio. If a printing service asks for particular print dimensions or resolution, follow its instructions rather than applying generic web settings.

You can inspect image dimensions and compare actual output sizes with the VeyraPixel tool. Adjust width and height with proportions locked so you do not stretch the image.

A useful rule of thumb

Ask two questions before touching any slider: Where will this picture be displayed? and What exact restriction does the destination impose? Answering them will usually tell you whether to resize, compress, change format, or leave the original alone.

Read why upscaling cannot restore lost detail for the next piece of the puzzle.

Worked example with the same dimensions

Two 1200 by 800 images can have wildly different storage sizes. One might be a simple illustration with large areas of flat color, while the other is a photo of trees, gravel, and fine hair. The images contain the same number of pixels, but their information compresses differently. Even changing a JPG quality setting can change the bytes while leaving width and height identical.

For online forms, read the three requirements independently: supported formats, minimum or maximum pixel dimensions, and maximum file size. A DPI field in image metadata does not override a portal's pixel requirement. It is often relevant to print workflows, where the physical output size also matters.