Category: Calculators
Aspect Ratio Calculator
Simplify a width-to-height ratio and calculate proportional dimensions
Enter original width and height to simplify W:H, then calculate proportional height or width. Browser-local number tool, no uploads, crop or resize.
Everything on this page is processed in your browser. Nothing is uploaded.
What this tool does
This aspect ratio calculator works with numbers only. Enter the original width and height to reduce them to a simplified W:H ratio using the greatest common divisor. Then enter a target width to calculate the matching height, or enter a target height to calculate the matching width. All four fields accept finite decimal values greater than zero, and derived dimensions are rounded to two decimal places with trailing zeros trimmed. The original dimensions are rounded to whole-number form before the ratio is simplified. Target width and target height are calculated independently, so this is not a locked-ratio editor where the two target fields update each other. The tool does not upload images or videos, read dimensions from a file, preview media, resize, crop, cover, fit, letterbox, pillarbox, round to pixel multiples, or calculate DPI, PPI, megapixels or print size. Dimensions and results stay in the browser and are not uploaded to LocalTools.
How to use it
- Enter the original width and height to see the simplified W:H ratio.
- Fill a target width or target height to calculate the proportional matching dimension.
- Use the numbers as a sizing reference; uploads, crop/fit rules, pixel rounding and print metrics are out of scope.
Privacy
This tool runs entirely in your browser. Your input is never uploaded, stored or shared — closing the tab removes it.
Frequently asked questions
- How do I calculate an aspect ratio?
- Enter the original width and height. The calculator reduces the pair by their greatest common divisor and shows the simplified W:H ratio.
- How do I resize without stretching?
- Use the original dimensions, then enter either the target width or target height. The tool calculates the other side proportionally.
- Does it include presets like 16:9 or 4:3?
- No. You can type those dimensions yourself, but there are no preset ratio buttons or common-format labels.
- Can it read dimensions from an image file?
- No. It does not upload or inspect files, preview images, resize, crop or convert media. It only calculates from numbers you enter.
- Are my dimensions uploaded?
- No. The entered dimensions and calculated values stay in your browser and are not uploaded to LocalTools.