Multitool

Aspect Ratio & Grid

Work out ratios, scaled sizes and grid column widths.

About the Aspect Ratio & Grid

Type a size such as 1920x1080 and get its reduced ratio (16:9), the decimal value, scaled heights for common widths and the matching CSS aspect-ratio declaration. Below that, set the number of columns, the gap and the container width, and it tells you the exact pixel width each grid column ends up with.

Tip: Use the aspect-ratio line for video embeds and card images to avoid layout shift, because the browser can reserve the space before the media loads.

Aspect Ratio & Grid is free, needs no sign-up and runs entirely in your browser, so what you paste never leaves your device.

How to use it

  1. Paste or type your input, or press Ctrl+V anywhere on the page.
  2. Adjust the options. The result updates instantly.
  3. Copy the output with the Copy button or Ctrl+C.

Topics

  • aspect
  • ratio
  • grid
  • flex
  • columns

Frequently asked questions

Is the Aspect Ratio & Grid free to use?

Yes. The Aspect Ratio & Grid is completely free, needs no account and has no usage limits.

Is my data uploaded when I use the Aspect Ratio & Grid?

No. Everything is processed locally in your browser, so what you paste never leaves your device. The last 3 snippets are kept on this device only and you can clear them with one click.

How do I use the Aspect Ratio & Grid?

Paste or type your input, or press Ctrl+V anywhere on the page. Results update instantly, then copy them with the Copy button or Ctrl+C.

More design tools