Turn any width and height into a simplified ratio, or lock a ratio and scale one side to the size you need. Preview contain and cover, copy the CSS, compare two shapes, or check a whole batch without uploading a file.
See the bars or the cropped area before committing, so the important part of an image is less likely to disappear.
Copy a modern rule, a legacy fallback, or Tailwind classes without translating the numbers by hand.
Dimensions and image headers stay in the browser. The tool does not send a file or a size list to a server.
Enter a width or a height and the tool solves the other side from the ratio, without manual cross-multiplication.
The greatest common divisor produces the simplest whole-number ratio instead of a rounded approximation.
Two ratios can be compared by decimal value and percent difference, which makes close formats easier to distinguish.
Video, social, device, print, and common formats are grouped together, with a custom field for anything else.
The ratio, decimal value, and scaled side update while you type, with no submit button and no page reload.
All calculations run in your browser; no image or dimension list leaves your device.
Type the dimensions in pixels, or choose an image and let the browser read its header. The simplified ratio and decimal value appear immediately.
Select a preset or type a custom ratio, then enter the side you know. Add a scale percentage and a rounding rule if the output must land on whole or even pixels.
Use the fit panel to check contain and cover, compare two shapes, or copy the generated CSS. The batch table handles a longer list when you need to audit many sizes.