Enter width and height
AspectFit reduces integer or finite-decimal dimensions to exact whole-number terms.
One ratio, consistent dimensions
AspectFit reduces numeric dimensions to whole-number ratio terms and calculates either a target width or a target height. It keeps the unrounded value visible, applies the rounding rule you choose, and lets you copy the result. It processes numbers only and does not alter image files.
Free · No signup · No saved dimensions
Three clear steps
AspectFit reduces integer or finite-decimal dimensions to exact whole-number terms.
Supply a target width or a target height, never both; the other side is calculated from the source ratio.
Compare the unrounded value with the chosen whole-number result, then copy the dimensions you need.
Five useful starting points
Ready to calculate
Enter two source dimensions, optionally set one target side, and copy the reduced ratio or proportional result.