Calculates aspect ratios for images, videos, and containers. Enter width and height to get the simplified ratio (e.g., 16:9), or enter a ratio and one dimension to find the other. Shows common ratio presets (16:9, 4:3, 1:1, 21:9, etc.) for quick reference. Useful for responsive design, video production, and image cropping.
Enter dimensions or a ratio to calculate the missing value and find the simplified aspect ratio. For generating CSS gradients that fill correctly in a known aspect ratio, use the CSS Gradient Generator.
4K resolution
Input
3840 × 2160
Output
16:9 ratio | For width 1920 → height: 1080
Generate linear, radial, and conic CSS gradients with live preview.
Convert image files to Base64-encoded data URLs.
Calculate the Greatest Common Divisor and Least Common Multiple.
Generate a consistent spacing scale for your design system.
Convert between length, weight, temperature, volume, area, and more.
Format numbers with locale-specific separators, currency, and scientific notation.