Aspect Ratio Calculator
Scale Proportionally
Uses the ratio above (1.7778) to scale a single dimension.
Last updated:
This tool is provided as-is for convenience. Output should be verified before use in any production or critical context.
Agent Invocation
Best Path For Builders
Browser workflow
Runs instantly in the browser with private local processing and copy/export-ready output.
Browser Workflow
This tool is optimized for instant in-browser execution with local data handling. Run it here and copy/export the output directly.
/aspect-ratio-calculator/
For automation planning, fetch the canonical contract at /api/tool/aspect-ratio-calculator.json.
How to Use Aspect Ratio Calculator
- 1
Enter your dimensions
Type a width and height into the two input fields, or click a preset button like 16:9 or 4:3 to fill them in for you.
- 2
Read the results
The simplified ratio, decimal ratio, and CSS aspect-ratio value appear immediately below the inputs as you type.
- 3
Lock and scale
Toggle the lock to preserve the ratio, then change one dimension and the other adjusts automatically to stay proportional.
- 4
Copy the CSS
Press Copy CSS to put the aspect-ratio declaration on your clipboard, then paste it straight into your stylesheet.