Calculate proportional width and height dimensions for 16:9, 9:16, 4:3, 1:1, and 21:9 displays. Built-in presets for YouTube, TikTok, and social media.
Calculate proportional width and height dimensions for 16:9, 9:16, 4:3, 1:1, and 21:9 displays. Built-in presets for YouTube, TikTok, and social media.
Fast and easy from start to finish
Enter Dimensions: Type your starting width or height in pixels.
Pick a Ratio: Select a preset like 16:9 for landscape video or 9:16 for mobile reels.
Copy Measurements: Copy the resulting dimensions or the CSS aspect-ratio code snippet.
What you can do with this tool
Bi-directional dimension calculation: enter width or height to get matching pixels
One-click aspect ratio locking for 16:9, 9:16, 1:1, 4:3, 21:9, and 3:2
Preloaded resolutions for YouTube, TikTok, Instagram, and widescreen monitors
Visual scaling preview box and instant CSS aspect-ratio code generator
Unlock batch scale, higher resolution, and expanded limits
Store custom video aspect ratios for specific client displays.
Calculate 720p, 1080p, 2K, 4K, and 8K matching dimensions simultaneously.
Export responsive Tailwind CSS and styled-components classes.
Answers to common questions about Aspect Ratio & Screen Dimensions Calculator
YouTube standard landscape videos use 16:9 (such as 1920x1080 or 3840x2160), while YouTube Shorts use 9:16 vertical (1080x1920).
The formula multiplies the given width by the target height ratio divided by the target width ratio: New Height = (Width * Ratio Height) / Ratio Width.
Popular companion tools to edit and enhance your projects