Percentage Calculator
Free online percentage calculator: calculate percentage of a number, percentage increase or decrease, and percentage difference. 100% private in-browser.
Free online aspect ratio calculator: calculate dimensions, scale image and video resolutions, and find missing width or height. 100% private in-browser.
In digital design, cinematography, photography, web development, and content creation, aspect ratio defines the geometric relationship between the width and height of an image, frame, or physical display screen. It is written as two numbers separated by a colon (such as 16:9, 4:3, or 1:1), where the first number represents width and the second represents height.
Crucially, an aspect ratio describes shape rather than physical size or pixel count. A tiny 320×180 thumbnail and a massive 7680×4320 8K television both share the exact same 16:9 widescreen aspect ratio. Below is an exhaustive technical exploration of ratio mathematics, industry standards, and proportional resizing rules.
To reduce raw pixel dimensions into an irreducible aspect ratio, mathematicians and computer algorithms rely on the Greatest Common Divisor (GCD). The most efficient method for finding the GCD of two positive integers is the Euclidean Algorithm, dating back to 300 BCE:
Given a resolution of 1920 × 1080 pixels:
1. Divide 1920 by 1080: quotient 1, remainder 840.
2. Divide 1080 by 840: quotient 1, remainder 240.
3. Divide 840 by 240: quotient 3, remainder 120.
4. Divide 240 by 120: quotient 2, remainder 0.
The last non-zero remainder is 120 (the GCD).
Different media formats have evolved standard aspect ratios tailored to human vision, device ergonomics, and production workflows:
| Aspect Ratio | Decimal | Common Resolutions | Primary Industry Applications |
|---|---|---|---|
| 16:9 | 1.78:1 | 1920×1080 (FHD), 3840×2160 (4K) | Global HDTV standard, YouTube, Twitch, computer monitors. |
| 9:16 | 0.56:1 | 1080×1920, 720×1280 | Mobile vertical video: TikTok, Instagram Reels, YouTube Shorts. |
| 1:1 | 1.00:1 | 1080×1080, 1200×1200 | Instagram feed posts, avatar profile photos, e-commerce thumbnails. |
| 4:5 | 0.80:1 | 1080×1350, 864×1080 | Instagram vertical photo posts (occupies maximum screen space). |
| 4:3 | 1.33:1 | 2048×1536, 1024×768 | Apple iPad displays, classic SD television, Micro Four Thirds cameras. |
| 3:2 | 1.50:1 | 6000×4000, 3000×2000 | 35mm photography, full-frame DSLR/mirrorless sensors, Microsoft Surface. |
| 21:9 | 2.33:1 | 3440×1440, 2560×1080 | Cinemascope widescreen movies, ultrawide curved gaming displays. |
When adapting an existing design, photo, or video to fit a new container, knowing one target dimension allows you to calculate the counterpart mathematically without distorting the imagery:
When container width is fixed, calculate required height via:
Example: For a 16:9 banner with a width of 1280px:1280 × (9 ÷ 16) = 720px.
When container height is fixed, calculate required width via:
Example: For a 16:9 video player with a height of 1080px:1080 × (16 ÷ 9) = 1920px.
When content with one aspect ratio is displayed on a screen with a different aspect ratio, display engines must choose one of three handling techniques:
Proprietary product packaging dimensions, unreleased video assets, mobile application layouts, and architectural blueprints represent sensitive intellectual property. Many online converters route dimension queries to third-party ad networks.
Toolhast guarantees that 100% of all aspect ratio computations, Euclidean factorizations, and dimension conversions occur locally inside your browser memory. Zero bytes of your specifications or measurements ever leave your device.
Enter the known width and height of your image, screen, or video file in pixels or physical units.
View the simplified aspect ratio (e.g., 16:9), decimal ratio (1.78:1), and matching industry standard.
Check the live visual preview box to inspect the proportional shape and orientation in real time.
Switch to the 'Resize & Scale' tab to scale dimensions proportionally without stretching or pixel distortion.
Calculated via GCD(1920, 1080) = 120, dividing each dimension to produce the standard widescreen ratio.
Proportionally scales vertical video dimensions for mobile platforms without letterboxing.
An aspect ratio expresses the proportional relationship between the width and height of an image, video, or display screen. To simplify an aspect ratio, the calculator computes the greatest common divisor of both dimensions using Euclid's algorithm and divides each measurement by that common factor.
16:9 is a horizontal widescreen orientation commonly used for television broadcasts, desktop monitors, YouTube videos, and laptop screens. In contrast, 9:16 is a vertical portrait orientation optimized for smartphones, serving as the dominant format for TikTok videos, Instagram Reels, and YouTube Shorts.
To resize an image without visual distortion, you must preserve its original aspect ratio. Enter your current width and height to determine the ratio, then switch to the 'Resize & Scale' tab to enter your new desired dimension, which calculates the matching counterpart automatically.
Black bars appear when the aspect ratio of media content does not match the native aspect ratio of the display screen. Horizontal bars (letterboxing) appear when widescreen video plays on a narrower display, while vertical bars (pillarboxing) appear when standard 4:3 content plays on widescreen monitors.
The optimal aspect ratio depends on the social platform. Instagram feed carousels perform best at 4:5 portrait (1080×1350) or 1:1 square (1080×1080). TikTok and Instagram Reels require 9:16 vertical (1080×1920), whereas YouTube and horizontal website headers standardise on 16:9 widescreen (1920×1080).
No. Toolhast performs all mathematical reductions, Euclidean division, and dimension scaling entirely inside your web browser using pure client-side code. Your image files, screen resolutions, design specifications, and proprietary project dimensions are never uploaded across the internet or stored on external servers.
Free online percentage calculator: calculate percentage of a number, percentage increase or decrease, and percentage difference. 100% private in-browser.
Free online age calculator: calculate your exact chronological age in years, months, days, and seconds. Find your next birthday countdown. 100% private.
Free online date difference calculator: calculate days between dates, working business days, and add or subtract days. 100% private in your browser.
Private: this tool runs in your browser. Nothing you type is uploaded.
Last updated