Aspect fit: fit an image on a screen

Enter width and height

Aspect Ratio (short: A/R) is the width of an image or screen, divided by the height. In landscape orientation, the A/R is > 1, for portrait orientation the A/R is < 1 and for square screens, this is = 1.

Input

Image Dimensions
1300 x 990
A/R: 1.313
Screen Dimensions
1280 x 1024
A/R: 1.25
Aspect fit: how much of the screen/image is actually used
95.2%

Image is padded

Image is letter-boxed
(black is added above and below to fill the screen)

Screen: 800 x 640

Actual pixels used

  • Full image resolution = 1300 x 990
  • Is rescaled to = 1280 x 974 (98%)
  • and then padded to 1280 x 1024 (105%)
  • Compare

    Photo calculators & converters

    Aspect ratio
    Image Width x Height → aspect ratio
    Aspect Fit
    Fit an image on a screen
    Composition Calculator
    Focal length, distance, crop factor → image composition
    Depth-of-Field Calculator
    Aperture, focal length, distance, crop → depth-of-field
    DPI calculator
    Print Width x Height and dpi → megapixels
    Image filesize calculator
    Image Width x Height JPG/RAW/PNG → bytes
    Light calculator (EV)
    Aperture, shutter time, ISO → Exposure Value
    Megapixel calculator
    Image Width x Height → megapixels
    Megapixel Aspects
    See megapixels in different aspect ratios