SmartCalc
FinancialHealthHome & EngineeringMathematicsTime & DateConvertersEducationGeneratorsGeneral
  1. Home
  2. /General
  3. /Digital media & networks
  4. /Aspect Ratio Calculator

Aspect Ratio Calculator

Free aspect ratio calculator: turn a pixel width and height into the simplest ratio, its decimal value, the megapixels and the matching height to resize.

An aspect ratio is the shape of a picture: how wide it is compared with how tall. This calculator takes the pixel dimensions you already have, from a screenshot, a video frame, a phone photo or a screen, and reduces them to the smallest whole numbers that describe that shape.

The reduction is simple arithmetic. Both sides are divided by their greatest common divisor, the largest number that goes into both exactly. For 1920 x 1080 that divisor is 120, so the width becomes 16 and the height 9: the 16:9 you see on almost every TV and monitor. A 1024 x 768 screen reduces to 4:3, and a 2560 x 1080 ultrawide to 64:27.

Alongside the ratio you get its decimal form, which is what a script or a CSS box needs, and the resolution as a pixel count in megapixels. Those two numbers say different things: the ratio describes the shape, the megapixel count describes how much detail the frame can hold. Two screens can share 16:9 and still differ eight times over in pixels.

The last input is the one people actually reach for. Type the width you want to resize to and the matching height comes back, so the picture keeps its proportions instead of stretching.

Remember that a ratio is a shape, not a resolution, and that non-square pixels, as found in old anamorphic video and some phone footage, store a shape that differs from the one you see; for those, this tool reports the storage ratio.

Your inputs

px
px
px
Optional: a width you want to resize to. The matching height comes back so the picture keeps its shape.
Simplest aspect ratio
16:9
Ratio as a decimal
1.778
Height at target width
720 px
Total pixels
2.07 MP
Common divisor (GCD)
120

Frequently Asked Questions

How do I find the aspect ratio of a resolution?

Divide both sides by their greatest common divisor. 1920 x 1080 share 120, so the ratio is 16:9; 1024 x 768 share 256 and reduce to 4:3. If the two numbers share no factor at all the ratio stays as the pixel counts themselves, which is why 1366 x 768 comes back as 683:384 rather than a familiar name.

Is a 2560 x 1080 monitor really 21:9?

Not exactly. It reduces to 64:27, a decimal ratio of 2.370, while 21:9 is 2.333. Ultrawide panels are sold under the rounded marketing name 21:9, but the pixel counts are what the hardware actually is. The same rounding sits behind the 16:9 and 4:3 labels on older screens.

What height keeps the aspect ratio when I resize an image?

Multiply the new width by the original height and divide by the original width. Narrowing a 1920 x 1080 image to 1280 wide gives 1280 x 1080 / 1920 = 720 px tall. The result is rounded to the nearest pixel, so it can be off by half a pixel, which no encoder or browser will notice. The ratio itself says nothing about sharpness: a 16:9 frame 256 px wide and one 7680 px wide are the same shape.

Related Calculators

Bandwidth Calculator

Free bandwidth calculator: turn a per-stream bit rate and channel count into total throughput, link load, channels per link and 24-hour storage needs.

→

Download Time Calculator

Free download time calculator: turn a file size and a connection speed into the exact transfer time in seconds, minutes or hours, using Mbps, MB/s, GB or GiB.

→

Frame Rate Calculator

Free frame rate calculator: turn a clip length into a frame count, the duration of one frame and SMPTE timecode at 24, 25, 29.97, 30, 50, 59.94 or 60 fps.

→

SmartCalc.top — Free online calculators. No registration required.

© 2026 SmartCalc.top