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.
Resolution examples
| Input | Screen | Scale | Image | Border area |
|---|---|---|---|---|
| GBA (240x160) | 960x640 (3:2) | 4x | 960 x 640 | 0% |
| PS1 / N64 example (320x240) | 640x480 (4:3) | 2x | 640 x 480 | 0% |
| Dreamcast example (640x480) | 640x480 (4:3) | 1x | 640 x 480 | 0% |