Aspect ratio calculator
Find the aspect ratio (16:9, 4:3…) of an image or video, and the right height for a new width.
How it works
The ratio is width:height simplified by their GCD. New height = new width × height / width.
Results are for guidance only and do not replace professional advice.
Worked example
With the default values:
- Width (px)1920
- Height (px)1080
- New width (px)1280
you get:
- Aspect ratio16:9
- As a decimal1.7778 : 1
- New height for 1,280 px720 px
- Megapixels2.07 MP
Frequently asked questions
How does the “Aspect ratio calculator” tool work?
The ratio is width:height simplified by their GCD. New height = new width × height / width.
What do I need to enter?
Just fill in: width, height, new width. The result updates as you type.
Can you give an example?
Width (px): 1920; Height (px): 1080; New width (px): 1280 → Aspect ratio: 16:9; As a decimal: 1.7778 : 1.
Is this calculator free, and is my data private?
Yes. HOD Calc is completely free with no sign-up. The calculation runs in your browser: nothing you type is sent or stored.