Methodology

How the tools calculate ratios, pixel sizes, physical dimensions, and density.

Ratios and rounding

We reduce the width and height to an exact fraction and show common labels separately. A whole-pixel result can differ from a continuous calculation. Centered padding uses the extra pixel on the bottom or right when the space divides unevenly.

Fit, fill, and matte

Fit keeps the full source and measures unused area against the output canvas. Fill clips part of the source, so crop loss is measured against the source area. Matte covers the part of an existing canvas outside an opening.

Physical screens

We use a flat active rectangle. If the shape comes from native resolution, we assume square pixels. For a display comparison, we measure percentage change from the first screen. The outside case, stand, and clearance need their own measurements.

Density and print

One inch is 25.4 mm. For a square-pixel screen, divide the pixel diagonal by the physical diagonal in inches to get PPI. For print, divide available pixels by print length after any crop.