Pixel scaling calculator

Compare an input resolution with a screen resolution. The calculator shows the image size, scale, and borders.

What you enter

Select a game resolution example, a screen resolution, and a screen diagonal in inches.

What it returns

The tool shows integer and full-aspect scaling, border pixels, image area, and image diagonal.

Where the math comes from

The tool divides screen width and height by input width and height. It rounds the smaller ratio down for integer scaling.

The code subtracts the scaled image dimensions from the screen dimensions to find the borders.

Resolution examples come from the tool code. They are not product specifications. The tool does not predict game performance.

Open pixel scaler

Resolution examples

InputScreenScaleImageBorder area
GBA (240x160)960x640 (3:2)4x960 x 6400%
PS1 / N64 example (320x240)640x480 (4:3)2x640 x 4800%
Dreamcast example (640x480)640x480 (4:3)1x640 x 4800%