Aspect Ratio Calculator
Calculator and formulas for aspect ratios with mathematical background
Aspect Ratio Calculator
What is calculated?
This function reduces an aspect ratio to smallest whole numbers and computes the decimal ratio. Ideal for screen resolutions, image ratios and geometric proportions.
Aspect Ratio Info
What is an aspect ratio?
An aspect ratio describes the relationship between width and height:
- Format: Width : Height
- Decimal form: Width ÷ Height
- Independent of size
- Describes the shape
Usage: Aspect ratios are important for screens, photos, videos and all rectangular objects.
Common formats
Full HD, 4K, Widescreen
Classic TV, older monitors
Ultrawide monitors
Square, social media
Mobile formats
9:16 (0.5625) for portrait videos
18:9 (2.0) for modern smartphones
Mathematical formulas for aspect ratios
Aspect ratio
Reduced form
Euclidean algorithm
Decimal ratio
Scaling
Inverse
Step-by-step example: Full HD
Example: reduce 1920×1080 resolution
1Find greatest common divisor
Euclidean algorithm:
1080 ÷ 840 = 1 R 240
840 ÷ 240 = 3 R 120
240 ÷ 120 = 2 R 0
gcd = 120
2Divide by gcd
Reduced form: 16:9
Decimal form: 16 ÷ 9 = 1.778
3Interpret result
This is the standard widescreen format
Resolutions and their aspect ratios
16:9 Widescreen formats
4:3 Classic formats
Special formats
Ultrawide 21:9
Gaming and film
Square 1:1
Instagram, profile pictures
Portrait 9:16
TikTok, Instagram Stories
Practical applications
Image editing
Maintain crop ratios
When cropping images, keep the original aspect ratio:
Cropped: 1500×1000 = 3:2 ✓
Web design
Responsive images
Use CSS aspect-ratio property:
aspect-ratio: 4 / 3;
Print preparation
DIN A4: 210×297 mm = 1:√2 ≈ 1:1.414
Poster: 70×100 cm = 7:10 = 0.7
Video production
YouTube: 16:9 recommended
TikTok/Reels: 9:16 for mobile devices
Mathematical background
The Euclidean algorithm
The Euclidean algorithm is an efficient procedure to compute the greatest common divisor (gcd) of two numbers. It is based on the identity:
Proportionality
Aspect ratios describe proportions. Two rectangles have the same aspect ratio if they are similar (same shape, different size).
Key properties
- Scale invariance: Ratio remains unchanged when scaled
- Uniqueness: Every ratio has a unique reduced form
- Invertibility: a:b corresponds to b:a reversed
- Transitivity: Similar rectangles share the same ratios