Aspect Ratio Calculator
Read image dimensions, resize proportionally, and calculate fit, crop or anamorphic output.
This tool runs entirely in your browser. Your data is never uploaded, never stored, and never leaves your device.
Reads an image's pixel dimensions or accepts them manually, then calculates a proportional resize, contain/cover fit, crop or anamorphic desqueeze without stale results.
How to use it
- 1Choose an image to read its dimensions locally, type a source width and height, or start from a common ratio preset.
- 2Use Resize for a width, height, percentage or maximum edge; Fit or crop for a target frame; or Anamorphic for a squeeze factor.
- 3Copy the calculated dimensions and optionally round them to even pixels for video encoders.
Example
- Input
- Original 1366 × 768, new width 1000
- Output
- 1000 × 562 px — ratio 683:384
1366 × 768 is close to 16:9 but not identical, so the exact reduced ratio is 683:384. Turn on even-pixel rounding for codec-friendly dimensions.
What happens to your data
A selected image is decoded only by the browser to read its width and height. The file is never uploaded, and neither the file nor the dimensions are stored after you leave.
Last updated September 2026
Upload an image only to read its dimensions, or enter the pixel width and height yourself. Resize mode keeps the source proportions while calculating from a width, height, percentage or maximum edge. Every answer is derived live from the current source, so changing either source dimension cannot leave a stale result behind.
Fit or crop mode answers a different question: how the source sits inside a target frame. Contain keeps the whole image visible and reports the padding on each side. Cover fills the frame and reports how many pixels must be cropped from each side. Anamorphic mode multiplies the stored width by a 1.33×, 1.5×, 1.8× or 2× horizontal squeeze factor to show the intended display dimensions.
Ratios describe shape, not size. 1280×720, 1920×1080 and 3840×2160 are all 16:9. The preset buttons include landscape, portrait, square, cinema and 16:10 shapes, while the fields accept any positive dimensions.
How it works
Toolvore reduces the source pair with Euclid's greatest-common-divisor algorithm. Resize mode calculates one scale from the selected width, height, percentage or longest edge and applies it to both source dimensions. Contain uses the smaller of the target-width and target-height scales; cover uses the larger. The difference between the scaled image and target frame becomes padding or crop per side. Anamorphic mode multiplies only the stored width by the lens squeeze factor. Results round to whole pixels, or to the nearest even pixel when that option is on. A selected image is decoded locally with the browser's image API only long enough to read its dimensions; it is not uploaded or stored.
Common use cases
- Getting an export height when a client specifies only a width
- Scaling a hero image down for mobile without squashing it
- Checking whether a screen resolution is genuinely 16:9
- Calculating contain padding or cover cropping for a fixed frame
- Desqueezing footage shot with an anamorphic lens
- Producing even pixel dimensions accepted by common video encoders
Frequently asked questions
How do I resize an image without stretching it?+
Change one dimension and let the other follow by the same factor. Halve the width and the height must halve too; multiply the width by 0.7 and the height goes the same way. That is the sum being done for you here — enter the size you have under Original, then the one figure you know under New, and its partner appears. The distortion people complain about comes from typing both new numbers by hand, or from dragging a corner handle without holding whatever key your editor uses to constrain proportions. Faces and circles betray it first; straight edges hide it well enough that a stretched image can ship.
What is the difference between resizing an image and changing its aspect ratio?+
Resizing changes pixel dimensions while keeping the shape. Changing the ratio changes the frame itself. Use Contain to keep the whole image and add padding, or Cover to fill the frame and crop the excess. The calculator reports the exact scaled dimensions and the padding or crop on each side; it does not alter the image file.
Why does my new height come out as an odd number, and does it matter?+
Rounding to whole pixels is unavoidable, since there is no such thing as two-thirds of a pixel, and the result sometimes lands odd. For a still image that is harmless. For video it often is not: most delivery codecs store colour at half resolution horizontally and vertically, so they want both dimensions divisible by two, and an encoder tends to refuse an odd one rather than fix it. Some workflows prefer multiples of eight or sixteen, to suit the blocks compression works in. Adjust by a pixel yourself before exporting — one pixel of shape error is invisible.
What aspect ratio should I use for video and social posts?+
16:9 is standard landscape video and 9:16 is its vertical counterpart. Square posts use 1:1, portrait feeds commonly use 4:5, cameras often use 3:2 or 4:3, and cinema may use 2.39:1. All are available as source presets, but platform requirements still specify pixel dimensions as well as a ratio.
How do I use a ratio written as a decimal, like 2.39:1?+
Cinema ratios are usually written as one decimal against one, and 1.85:1 and 2.39:1 are the two common projection formats. A decimal typed into the original boxes will not survive, because the pair is rounded to whole numbers before the ratio is reduced. Scale both sides up instead: for 2.39:1 enter 239 as the original width and 100 as the original height, and for 1.85:1 use 185 and 100. The proportion is identical and the arithmetic behaves. Put your intended width under New and the matching height appears.
Why does my video file say 1920×1080 but play wider than that?+
Anamorphic footage stores a horizontally squeezed image and displays it wider. Choose Anamorphic and the lens factor used at capture. A 1920×1080 frame shot at 1.33× displays at about 2554×1080; a 2× squeeze displays at 3840×1080. The calculator changes dimensions only, not the video metadata or pixels.
Why does a 6×4 print cut the top off my photo?+
Because 6×4 inches is 3:2 and most phones shoot 4:3, so something has to give — and a print lab crops rather than leave white edges, usually taking a slice off the long sides. The same collision runs through the standard sizes: 5×7 is 7:5, 8×10 is 4:5, and A-series paper is a proportion no camera shoots. Check what will be lost before ordering, because a head near the top edge is the usual casualty. Enter your image's pixel dimensions as the original pair and read the ratio line to see which print size it sits closest to.
Do I have to upload the image to work out its new size?+
No. Enter the width and height manually if you know them. The optional file picker reads an image's dimensions inside your browser and never uploads it. Calculated results have Copy buttons, and a reload clears the selected name and dimensions.
Related tools
Time Zone Converter
Convert a time between cities, then compare your own list of them side by side at that same moment.
Pomodoro Timer
Run custom focus and break cycles with elapsed-time tracking, pause controls and a CSV session log.
Plaster Calculator
Calculate cement bags, sand in cubic feet or brass, and plaster coverage after doors and windows.
Excel Date Converter
Convert spreadsheet serial dates and civil date-times with explicit date systems and row-by-row errors.