📐 Aspect Ratio Calculator

Calculate and lock aspect ratios, preview dimensions visually, compute PPI, and scale resolutions.

Last updated: November 8, 2026 · By the BoltQuickTools team

⚖ Ratio Calculator

×
Enter dimensions above

🎚 Preset Ratios

💻 Common Resolutions

👁 Visual Preview

📏 Scale Calculator

Enter current dimensions above, then set a target width or height to get the scaled result.

or

🔎 Pixel Density (PPI / DPI)

Uses the width and height entered above plus the diagonal screen size to compute PPI.

From pixel dimensions to a ratio, and back

You have an image at 4032 by 3024 and need the matching height for a 1280-wide slot, or you want to know whether a monitor is really 16:9. This page does that arithmetic for designers, video editors and anyone comparing screens.

The sections on the page

Worked results

Width x HeightRatio shown
1920 x 108016:9
1920 x 12008:5
1080 x 13504:5
2560 x 108064:27
3440 x 144043:18
1366 x 768683:384

Scaling 4032 x 3024 with a Target W of 1280 gives 1280 x 960 at 31.7%. A 2560 x 1440 screen with a 27-inch diagonal gives 108.79 pixels per inch, a diagonal of 2937 px, and a physical size of 23.53" x 13.24".

Where the numbers can surprise you

Does this resize my image?

No, it only calculates. To produce a resized file, take the numbers to the image resizer. If the target shape differs from the source, you will also have to crop or letterbox, because scaling alone cannot change the ratio.

Can I use the result in CSS?

Yes. Write the two numbers from the readout into the aspect-ratio property, for example aspect-ratio: 16 / 9;. For sizing the element itself in other units, the CSS unit converter may help.

Is PPI the same as print DPI?

This calculator is for screens, where the physical size is fixed and you solve for density. For print you usually choose the density instead: 3000 pixels printed at 300 DPI comes out 10 inches wide.

Copied!