Skip to main content
Calcimator

Aspect Ratio Calculator

Calculate the aspect ratio of an image or video. Compare to standard ratios and get crop suggestions for common formats.

About this calculator

Aspect ratio is simply the proportional relationship between an image or video's width and height, expressed either as a reduced whole-number ratio (like 16:9) or a decimal (width divided by height), and this calculator computes both directly from pixel dimensions along with which named industry standard the result sits closest to. The reduced ratio comes from dividing both dimensions by their greatest common divisor, so a 6000x4000 image reduces to 3:2 -- the classic 35mm film ratio -- rather than staying as the unreduced 6000:4000. Orientation follows directly from which dimension is larger: landscape when width exceeds height, portrait when height exceeds width, and square when they're equal, with no ambiguity possible.

Beyond identifying the ratio, the calculator also computes crop dimensions for three common target ratios -- 16:9 (widescreen video), 4:3 (classic photo/video), and 1:1 (square) -- by shrinking whichever dimension needs it least so the crop fits entirely within the original frame without upscaling. Because the crop calculation always keeps the crop inside the source image's original pixel bounds, the suggested crop dimensions can never exceed the original width or height, only match or reduce them.

Inputs

px
px

Results

Aspect Ratio

3:2

Closest Standard Ratio

3:2 (35mm film)

Decimal Ratio1.5
OrientationLandscape
Megapixels24 MP
16:9 Crop6000 x 3375
4:3 Crop5333 x 4000
1:1 Crop4000 x 4000
How to Use This Calculator
  1. Enter Width and Height.
  2. Review Aspect Ratio and Closest Standard Ratio.
  3. Use Decimal Ratio and Orientation to inform your decision.

What each input means

Width
Image or video width in pixels.
Height
Image or video height in pixels.

How this is calculated

Worked example, using the default values

  1. Identify Input Parameters
    Width = 6000, Height = 4000 = 2 input(s) provided
  2. Calculate Aspect Ratio
    Aspect Ratio = `${ratioW
    3:2 = 3:2
  3. Calculate Closest Standard Ratio
    Closest Standard Ratio = closestRatio.name
    3:2 (35mm film) = 3:2 (35mm film)
  4. Calculate Decimal Ratio
    Decimal Ratio
    1.5 = 1.5
  5. Calculate Orientation
    Landscape = Landscape

Engine last updated . Checked against 1 independently-derived test — how we verify calculators. Built by Paul Gunder, a software engineer, not a licensed financial, medical, or legal professional.

Frequently Asked Questions

How does the calculator reduce a pixel dimension to a ratio like 3:2 or 16:9?

It finds the greatest common divisor (GCD) of the width and height in pixels, then divides both numbers by that GCD to get the smallest whole-number ratio that represents the same proportion. A 6000 by 4000 pixel image has a GCD of 2000, so dividing both dimensions by 2000 gives 3:2 -- the same ratio however large or small the original pixel dimensions were, as long as the proportion between them stays the same.

Why does increasing the width change the decimal ratio differently than increasing the height?

Decimal ratio is width divided by height, so raising the width by a given percentage raises the ratio by roughly the same percentage, while raising the height by the same percentage lowers the ratio, because height sits in the denominator of the division. The two inputs pull the ratio in opposite directions, which is exactly what makes aspect ratio a relationship between the two dimensions rather than a property of either one alone.

What happens to the aspect ratio when width and height are equal?

The ratio reduces to exactly 1:1 and the decimal ratio equals 1.0, with orientation reported as square rather than landscape or portrait. This is the single dividing line in the calculator's orientation logic -- any width greater than height reports landscape, any height greater than width reports portrait, and only an exact match reports square.

Can the suggested 16:9 crop ever be larger than the original image?

No -- the crop dimensions are always calculated to fit within the original width and height, using the smaller of the two possible crop dimensions at each step. If an image is already close to 16:9, the suggested crop will be very close to the original size; if it's far from 16:9 (a very square or very elongated image), the crop will need to discard a much larger share of the original frame to reach that ratio.

The questions that sit next to this one — chosen by subject, including calculators filed under a different category.

More in Creative, Media & Design.