jellykit logojellykit

Aspect Ratio Calculator

Simplify width-to-height ratios, scale dimensions proportionally, and copy modern CSS aspect-ratio rules.

Loading Aspect Ratio Calculator in your browser — 100% client-side with zero uploads.

Related design tools

All Design tools

Color Picker

Inspect colors across HEX, RGB, HSL, and HSV with shade ramps and harmonies.

Design

Gradient Generator

Build linear, radial, and conic CSS gradients with custom stops and instant code.

Design

Box Shadow Generator

Compose layered CSS box shadows with live controls and copyable output.

Design

Contrast Checker

Check WCAG 2.1 AA and AAA color contrast ratios for text and UI elements.

Design

Palette Generator

Generate harmonious color palettes, lock favorite swatches, and copy HEX, CSS, or JSON.

Design

Border Radius Generator

Craft standard or organic 8-value CSS border-radius shapes with live visual sliders.

Design

About Aspect Ratio Calculator

Simplify any pixel dimensions to their exact lowest aspect ratio, scale width or height proportionally, preview the box shape, and copy modern CSS aspect-ratio rules.

How to use Aspect Ratio Calculator

  1. 1

    Choose a common preset (16:9, 9:16, 4:5, 1:1, 21:9, A4) or type any base width and height.

  2. 2

    Read the simplified ratio, decimal ratio, and classic padding-top percentage instantly.

  3. 3

    Enter a new target width or height to calculate the exact proportional counterpart, or copy the CSS aspect-ratio snippet.

Frequently asked questions

How is the simplified aspect ratio computed?

It divides both width and height by their greatest common divisor (GCD) so 1920×1080 simplifies cleanly to 16:9.

What is the Padding Hack percentage used for?

Older CSS layouts used padding-top: (height / width * 100)% on a wrapper to reserve responsive video or card height before CSS aspect-ratio became universal.

Can I use this for social media and video crops?

Yes. Lock in presets like 9:16 (Reels/Shorts), 4:5 (Instagram portrait), or 16:9 (YouTube) and scale to any target resolution.