Aspect Ratio Calculator
Simplify dimensions by GCD, lock or swap aspect ratios, generate CSS aspect-ratio, and scale common sizes.
16:9
16:9
Decimal · Closest1.7778 · 16:9
CSS
aspect-ratio: 16 / 9;Common sizes at 16 : 9
Runs in this browser. Nothing is uploaded.
How to use Aspect Ratio Calculator
Pick a preset like 16:9, 4:3, or 4:5, or enter custom width/height ratios and swap orientation anytime.
Toggle Lock ratio to scale Width and Height proportionally, or unlock to compute a new simplified ratio via GCD.
Copy the simplified ratio, CSS aspect-ratio rule, or pick any of the 10 common scaled resolutions.
Frequently asked questions
What does Closest standard show?
If your simplified ratio matches a standard screen or frame ratio it names it; custom ratios like 48:25 display a dash.