Width compared with height
Simplify whole-number dimensions and scale dem to new width.
Your numbers
Ratio after simplification
Planning estimate with the parameters wey you enter. E no contact external service, device, live tariff or network.
Compare scenarios
You fit keep up to three snapshots for this tab. Loading one go replace the present inputs.
Formula
Reduce W:H by dividing both dimensions by gcd(W,H). If new width na w, di proportional height na h = wH/W. gcd na greatest common divisor.
Simplify whole-number dimensions and scale dem to new width.
Example wey show the calculation
- Width before scaling
- 1920
- Height before scaling
- 1080
- Width wey you want
- 1280
- Ratio after simplification
- 16:9
- Height wey match di target
- 720
Where e fit work and limits
Planning estimate with the parameters wey you enter. E no contact external service, device, live tariff or network.
We check inputs for missing values and allowed ranges. Result wey pass the finite numeric range no go show. Rounding affect wetin display, while calculation use the model numeric precision.
Check your units and assumptions before you rely on result. Changing label no convert currency or physical unit.
Version of di formula: 59ca55181f58 · Example don get check: