The Aspect Ratio Calculator is a free online tool. Resize dimensions while keeping the ratio. It runs in your browser, needs no sign-up and shows the result as you type.

What is the Aspect Ratio Calculator?
Screen and layout maths rely on a few ratios: width to height for aspect ratio and pixels per inch for density. Getting them right avoids stretched images, blurry text and cropped video.
The Aspect Ratio Calculator does the arithmetic for you so you can size images, embeds and displays correctly the first time.
This tool asks for 3 inputs: Original width, Original height and New width. Colour and CSS work needs fast feedback. A browser tool lets you adjust a value and see the outcome immediately, which is quicker than editing a stylesheet and reloading the page.
What each input means
- Original width takes a number. Decimals are allowed, and a clear message appears if the entry is not valid. The sample value is 1920.
- Original height takes a number. Decimals are allowed, and a clear message appears if the entry is not valid. The sample value is 1080.
- New width takes a number. Decimals are allowed, and a clear message appears if the entry is not valid. The sample value is 1280.
How to use the Aspect Ratio Calculator
- Enter Original width. The sample value is 1920.
- Enter Original height. The sample value is 1080.
- Enter New width. The sample value is 1280.
- Review the result. It updates as you type, or press Calculate to refresh it.
- Copy the result or download it as a text file, or press Reset to start again.
Example with real values
With the pre-filled values (Original width = 1920; Original height = 1080; New width = 1280), the tool returns the following.
| Aspect ratio | 16:9 |
| New height | 720 |
Change any input and the output updates straight away, so you can try your own numbers or text and compare the results.
Understanding the result
The result is shown as a table of 2 rows, including Aspect ratio and New height. Each row comes from the same inputs, so changing one value refreshes the whole table. Use the copy button to take all the rows with you.
When to use it
- Resizing images and video without distortion
- Choosing monitor or phone sizes
- Designing responsive layouts
- Preparing social and presentation graphics
- Planning print and screen resolutions
How people use colour and CSS tools
These are typical situations where someone reaches for a tool in this category.
- A designer builds a palette around one brand colour and tests variations.
- A front-end developer turns a design file colour into CSS and checks it in the browser.
- A site owner checks contrast before launching a new theme.
Tips for better results
- Keep the ratio locked when you scale.
- Use whole numbers where the platform requires them.
- Compare density, not only resolution.
Common mistakes to avoid
- Rounding dimensions before finishing the calculation.
- Mixing diagonal and width measurements.
- Ignoring orientation (portrait or landscape).
Terms worth knowing
- HSL. Hue, saturation and lightness of a colour.
- CMYK. The four inks used in colour printing.
- RGB. Red, green and blue channels mixed to make colour.
- Luminance. How bright a colour looks to the human eye.
Online tool vs doing it by hand
Browser dev tools can edit CSS live, yet they rarely give you several formats at once. A dedicated tool does.
Quick checklist before you rely on the result
- Check that Original width is typed in the form the tool expects, with no stray spaces or symbols.
- Run the sample values once so you know what a correct result looks like.
- Change one input at a time to see which value moves the answer most.
- Keep a copy of the input and the result if you need to show your working later.
Accuracy, privacy and limits
Everything you enter is processed in your browser and is not uploaded to our servers. Results use standard formulas, but screens, browsers and printers display colour differently, so always check the final design on the devices that matter.
Aspect Ratio Calculator FAQs
What is aspect ratio?
It is the proportional relationship between width and height, such as 16:9.
Why does density matter?
Higher pixel density makes text and images look sharper at the same size.
Is the calculation exact?
Yes, it uses standard formulas with rounding only in the display.
Is the Aspect Ratio Calculator free?
Yes. It is completely free, with no sign-up, no limits on use and no watermark.
Does it work on mobile?
Yes. The page is responsive and works in modern mobile and desktop browsers.
What do I need to enter in the Aspect Ratio Calculator?
You will be asked for Original width, Original height and New width. Sample values are pre-filled so you can see a working result before you type your own.
Why might my result differ from another tool?
Tools can differ in rounding, default settings or the formula variant they use. Compare the inputs and any options first, and use the result that matches your official or required method.