When you are deeply involved in graphics editing, at some point you will need specially-sized images, such as:
- specified megapixels while having a fixed 4:3, 3:2 or other w/h ratio
- width and/or height to be multiple of 2, 4, 8, 16, etc. at a given w/h ratio
- calculate the other side, knowing one side and the megapixels
To help with these calculations, the Aspect Ratio Calculator has been created. Extremely simple, no manuals, no installation or dependencies, just a single .exe file:
What this simple app does? Calculates the other parameters that aren’t focused. You can change the values by writing numbers or pressing up/down keys.
- if you are at the ‘Width’ field, changing the value changes the ‘Height’, based on ‘Aspect Ratio’
- if you are at the ‘Height’ field, changing the value changes the ‘Width’, based on ‘Aspect Ratio’
- if you are at the ‘Aspect Ratio’ field, changing any value changes the ‘Width’ and ‘Height’, based on the new ‘Aspect Ratio’. You can choose from the dropdown list the basic aspect ratios or you may enter custom values if you wish.
- if you are at the ‘Megapixles’ field, changing the value changes the ‘Width’ and ‘Height’, based on the ‘Aspect Ratio’. Any other time the ‘Megapixels’ field is updated as Width × Height / 1.000.000.
The info box displays every time the W/H, H/W and the W×H values.
- If you want a given megapixels at a given aspect ratio, enter the width and height of the actual image into ‘Aspect ratio’ fields, enter the megapixels into ‘Megapixels’ field and read the resulting ‘Width’ and ‘Height’.
- Change the ‘Width’ or ‘Height’ fields by pressing up/down arrow keys. When both width/height becomes dividable by 2, 4, 8 or 16, the dividend will appear in square, next to ‘Width’ and ‘Height’ fields. This can help when you want to make calculations on video frames or you want to efficiently optimize jpg files, video frames, etc.
Download the executable here: ARC