Greatest common divisor creates the reduced ratio
Both dimensions are divided by their GCD so a large pair such as 1920:1080 becomes easier to recognize.
FREE WEB TOOL
Simplify an aspect ratio and calculate matching dimensions.
Simplify width and height into an aspect ratio and, optionally, calculate the matching height for a new width.
1920 × 1080 reduces to 16:9. A new width of 1280 gives a matching height of 720.The ratio reduction rounds original width and height to whole numbers. It is intended for ordinary pixel/dimension work rather than exact fractional geometry.
Both dimensions are divided by their GCD so a large pair such as 1920:1080 becomes easier to recognize.
You supply the new width and the tool returns the proportional height. It does not provide a separate target-height field.
1920×1080 and 1280×720 share 16:9 but contain different pixel counts.
A ratio or resize calculation needs positive dimensions, so those values are rejected instead of producing NaN or infinity.
Related references: DPI, PPI & px · Paper sizes · Aspect ratios