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
256 x 256
A/R: 1
Screen Dimensions
6420 x 1080
A/R: 5.944
Aspect fit: how much of the screen/image is actually used
16.8%

Image is padded

Image is pillar-boxed
(black is added left and right to fill the screen)

Screen: 800 x 135

Actual pixels used

  • Full image resolution = 256 x 256
  • Is rescaled to = 1080 x 1080 (422%)
  • and then padded to 6420 x 1080 (594%)
  • 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
    Portrait distance
    portrait distance, composition, crop factor, focal length