Aspect Ratio & Resize Calculator
Plan image or video dimensions before editing. Find the exact ratio, resize proportionally, and compare fitting inside a box with cropping to fill it.
Dimensions & target
Fit / crop target box
Whole pixel dimensions: 1–1,000,000 per side. Percentage: 0.01–10,000%. These are planning limits; image editing tools have their own file and pixel limits.
Your plan
Calculating…
Calculations run locally and update as you type. No dimensions are stored automatically. Fractional fit/crop measurements describe ideal centered geometry; an image editor may round to whole pixels. Extremely wide or tall ratios appear as a thin shape in the diagram.
Using Aspect Ratio & Resize Calculator
Plan proportional dimensions and compare centered fitting or cropping before editing an image or video.
- Enter whole-pixel source dimensions or select a common size preset. Swap orientation if you need a portrait instead of landscape plan.
- Choose a target width, target height or scale percentage. Read the resized dimensions and any ratio difference caused by whole-pixel rounding.
- Set a target box and compare Fit with Crop. Fit preserves the whole image with padding; Crop fills the box using a centered source region.
- Copy or download the TXT/JSON plan, then use the related image resizer or crop tool to edit the actual file.
Example
A 1920 × 1080 source has a reduced 16:9 ratio. Resizing to width 1280 produces 1280 × 720. Fitting it inside 1080 × 1080 gives 1080 × 607.5 with 236.25 pixels of ideal top/bottom padding. Filling that box uses a centered 1080 × 1080 source crop and retains 56.25% of its area.
Questions & answers
Does this tool edit images or videos?
No. It calculates dimensions and ideal fit/crop geometry without uploading a file. Copy the plan and use an image or video editor for the actual export.
Why is a ratio reduced to different numbers?
The tool divides both dimensions by their greatest common divisor. For example, 1920:1080 becomes 16:9, and 21:9 becomes 7:3. These reduced ratios describe the same shape.
How do I preserve a ratio when resizing?
Enter source width and height, then choose a target width or height. The calculator scales both sides proportionally and rounds the result to whole pixels, with at least one pixel per side.
Why can the resized ratio differ slightly?
Pixel dimensions must be whole numbers. A proportional result such as 100 × 56.25 is rounded, which can change the ratio slightly. The tool shows the ratio difference; very small dimensions can change it substantially.
What is the difference between Fit and Crop?
Fit uses the largest proportional size that fits entirely inside the target box and adds centered padding. Crop scales to cover the box and removes a centered part of the source outside it. The crop plan reports the retained source area.
Are fractional fit and crop coordinates usable?
They describe ideal centered geometry. An image editor may round or adjust coordinates to whole pixels. Check the edited output; the calculator does not guarantee a particular editor’s rounding policy.
What units and limits apply?
Dimensions use whole pixels from 1 to 1,000,000 per side. Scale percentages range from 0.01 to 10,000%. These are planning limits; the website’s image and GIF editors have lower processing and output limits.
Are source dimensions stored?
No. Calculation and the preview diagram run locally, and dimensions are not saved automatically. Copy or download is an explicit action.
Why can the diagram look like a thin line?
The diagram keeps the target box’s proportions. Extremely wide or tall shapes appear thin, even though the numeric plan remains available. Fit/crop geometry is clipped to the target box.
Guides for this tool
Examples and checks to help with your next step.
Help improve this tool
Report a problem or suggest an improvement
Describe the issue without pasting private tool input. Feedback goes to our admin inbox.
