Aspect Ratio as a Decimal: 16:9, 4:3 and 21:9 Explained
An aspect ratio as a decimal is width divided by height: 16:9 is 1.778, 4:3 is 1.333 and 21:9 is 2.333. Formula, chart and examples inside.
The Calcylator Blog
Practical guides, clear examples, and smarter ways to calculate.
21 articles
An aspect ratio as a decimal is width divided by height: 16:9 is 1.778, 4:3 is 1.333 and 21:9 is 2.333. Formula, chart and examples inside.
Base64 encoded size is ceil(bytes ÷ 3) × 4. A 1,000 byte file becomes 1,336 bytes. See padding, a size table and how to plan API and email payloads.
Requests per second = requests ÷ seconds. 90,000 requests in an hour is 25 req/s. Learn peak vs average load and how many servers you may need.
Error rate is failed requests ÷ total requests. A 99.9% SLO on 50 million requests allows 50,000 failures, and a 0.14% day burns that budget 1.4× too fast.
Multiply bitrate by concurrent viewers: 1,000 people watching at 5 Mbps need 5 Gbps of delivery and move about 2.25 TB in an hour. Add headroom on top.
Base64 turns every 3 bytes into 4 characters, so encoded length is 4 × ceil(n ÷ 3). One million bytes becomes 1,333,336 characters, about 33% more.
Explore our free calculators and apply these concepts to your own numbers.