Tính toán và chuyển đổi tỷ lệ khung hình
aspect-ratio: 16/9;Video (16:9)
4K: 3840 × 2160
1080p: 1920 × 1080
720p: 1280 × 720
Social Media
IG Square: 1080 × 1080
IG Portrait: 1080 × 1350
Stories: 1080 × 1920
OG Images
Facebook: 1200 × 630
Twitter: 1200 × 600
LinkedIn: 1200 × 627
Print (3:2)
6×4 inch: 1800 × 1200
12×8 inch: 3600 × 2400
18×12 inch: 5400 × 3600
Công cụ tính aspect ratio online miễn phí của Tấn Phát Digital giúp designers, video editors, và developers tính toán tỷ lệ khung hình chính xác. Nhập width và height để tính tỷ lệ khung hình tối giản (16:9 thay vì 1920:1080). Resize ảnh/video giữ nguyên tỷ lệ với tính năng lock ratio thông minh. 10+ preset tỷ lệ phổ biến: 16:9 (YouTube, TV), 4:3 (iPad), 1:1 (Instagram Square), 9:16 (TikTok, Reels), 21:9 (Ultrawide), 3:2 (DSLR), 4:5 (Instagram Portrait). Hiển thị CSS aspect-ratio property sẵn sàng copy. Bảng kích thước reference đầy đủ cho video (4K, 1080p, 720p), social media (Instagram, Facebook, Twitter), OG images, và print. Copy ratio, decimal, CSS với 1 click. Preview visual realtime. Hoàn toàn miễn phí, xử lý offline.
Aspect ratio quan trọng trong nhiều lĩnh vực creative và technical. Video editing - đảm bảo video đúng tỷ lệ cho từng platform: YouTube yêu cầu 16:9, TikTok và Instagram Reels cần 9:16 vertical, Facebook videos tốt nhất ở 1:1 hoặc 4:5. Image resizing - crop và resize ảnh mà không bị méo, giữ nguyên proportions của subjects. Web development - CSS aspect-ratio property giúp tạo responsive images và videos mà không cần padding-top hack phức tạp. Social media content creation - mỗi platform có requirements riêng về dimensions, hiểu aspect ratio giúp tạo content fit perfectly. Print design - đảm bảo ảnh digital fit vào khung in physical mà không bị crop hoặc stretch. Photography - chọn crop ratio phù hợp với composition và intended use. Responsive web design - maintain aspect ratio của media khi screen size thay đổi. Công cụ này giúp tính toán nhanh và chính xác, không cần nhớ công thức toán học phức tạp.
Aspect ratio (tỷ lệ khung hình) là tỷ lệ giữa chiều rộng và chiều cao của hình ảnh, video, hoặc screen. Biểu diễn dạng X:Y (ví dụ 16:9) hoặc decimal (1.7778). Ratio 16:9 nghĩa là cứ 16 đơn vị chiều rộng thì có 9 đơn vị chiều cao - không quan trọng đơn vị là pixels, inches, hay centimeters. Công cụ tính ratio bằng cách tìm GCD (Greatest Common Divisor - Ước chung lớn nhất) của width và height, sau đó chia cả hai cho GCD để có ratio tối giản. Ví dụ: 1920×1080 → GCD là 120 → 1920/120 : 1080/120 = 16:9. Decimal ratio được tính bằng width/height: 1920/1080 = 1.7778. Aspect ratio khác với resolution - resolution là số pixels cụ thể (1920×1080), ratio là proportions (16:9). Nhiều resolutions khác nhau có thể có cùng ratio.
CSS aspect-ratio là property mới (CSS Box Sizing Module Level 4) cho phép set tỷ lệ khung hình cho elements một cách declarative. Syntax đơn giản: aspect-ratio: 16/9; hoặc aspect-ratio: 16 / 9; (spaces optional). Browser tự động tính height dựa trên width và ratio, hoặc ngược lại. Hữu ích cho responsive images, video containers, cards, và bất kỳ element nào cần maintain proportions. Thay thế padding-top percentage hack cũ (padding-top: 56.25% cho 16:9) - cleaner và semantic hơn. Browser support: Chrome 88+, Edge 88+, Firefox 89+, Safari 15+. Fallback cho browsers cũ: @supports not (aspect-ratio: 16/9) { .element { padding-top: 56.25%; } }. Use cases: Responsive iframes (YouTube embeds), image placeholders để prevent layout shift, grid items với consistent proportions, hero sections với specific ratios. Combine với object-fit để control nội dung bên trong: aspect-ratio: 16/9; object-fit: cover;
16:9 (1.78:1) - Standard widescreen, phổ biến nhất cho HDTV, monitors, YouTube, Netflix. Resolutions: 3840×2160 (4K), 1920×1080 (1080p), 1280×720 (720p). 4:3 (1.33:1) - Classic TV ratio, iPad screens, presentations, documents. Resolutions: 1024×768, 800×600. 1:1 (1:1) - Square format, Instagram posts, profile pictures, album covers. Resolution: 1080×1080. 9:16 (0.5625:1) - Vertical video, TikTok, Instagram Reels/Stories, Snapchat. Resolution: 1080×1920. 21:9 (2.33:1) - Ultrawide monitors, cinematic videos. Resolution: 2560×1080, 3440×1440. 3:2 (1.5:1) - DSLR cameras, 35mm film, print photos. Resolutions: 3000×2000. 4:5 (0.8:1) - Instagram portrait posts, optimal cho mobile feeds. Resolution: 1080×1350. 2.39:1 - Cinematic widescreen, movies. 1.91:1 - Facebook/LinkedIn link previews. Resolution: 1200×628. 2:1 - Twitter cards. Resolution: 1200×600.
Mistake 1: Confusing ratio với resolution. 16:9 là ratio, 1920×1080 là resolution. Nhiều resolutions có thể có cùng ratio. Mistake 2: Không lock ratio khi resize, gây distortion. Luôn bật lock nếu muốn giữ proportions. Mistake 3: Crop ảnh mà không hiểu ratio sẽ mất, dẫn đến subjects bị cắt. Plan composition trước khi crop. Mistake 4: Sử dụng wrong ratio cho platform. Instagram feed cần 4:5 hoặc 1:1, không phải 16:9. Mistake 5: Không test trên actual devices. Ratio có thể look khác trên desktop vs mobile. Mistake 6: Ignore safe zones trong video - một số platforms crop thêm, cần padding. Mistake 7: Assume tất cả 16:9 screens đều 1920×1080 - có nhiều resolutions khác. Mistake 8: Không dùng CSS aspect-ratio cho responsive design, dẫn đến layout shift. Troubleshooting: Nếu ratio là số lẻ (683:384), dimensions không có common divisor lớn - đây là ratio đúng nhưng không 'clean'. Nếu resize bị méo, check lock ratio có ON không. Nếu video có black bars, ratio không match player - re-export với correct ratio.
Video editing: Adobe Premiere Pro, Final Cut Pro, DaVinci Resolve - set sequence settings với correct ratio trước khi edit. Image editing: Photoshop crop tool có ratio presets, Lightroom có aspect ratio constraints. Online tools: Aspect Ratio Calculator này cho quick calculations, Canva có templates với correct ratios cho mỗi platform. Command line: FFmpeg để check và convert video ratios: ffmpeg -i input.mp4 (xem metadata), ffmpeg -i input.mp4 -vf scale=1920:1080 output.mp4 (resize). Browser DevTools: Responsive design mode để test different screen ratios. Social media schedulers: Buffer, Hootsuite có image resizers với platform-specific ratios. Workflow best practices: 1) Determine target platforms và ratios cần thiết. 2) Shoot/create content với ratio rộng nhất (16:9 hoặc 4:3). 3) Crop/resize cho từng platform với tool này để calculate dimensions. 4) Export với correct settings. 5) Test trên actual devices. 6) Document ratios used trong project notes. Automation: Sử dụng scripts hoặc actions để batch resize với consistent ratios.
16:9 là aspect ratio (tỷ lệ khung hình), 1920x1080 là resolution (độ phân giải cụ thể). Nhiều resolutions khác nhau có thể có cùng ratio 16:9: 3840x2160 (4K), 1920x1080 (1080p), 1280x720 (720p), 854x480 (480p). Ratio quan trọng cho layout và proportions, resolution quan trọng cho chất lượng và sharpness. Không thể dùng thay thế - cần specify cả hai khi export media.
Điều này xảy ra khi width và height không có common divisor lớn. Ví dụ: 1366x768 (laptop screen phổ biến) → 683:384. Đây vẫn là ratio đúng toán học, chỉ là không 'clean' như 16:9. Nhiều laptop screens có ratio gần 16:9 (1.7778) nhưng không chính xác do manufacturing constraints. Ratio này vẫn valid và usable.
Giữ Lock ratio ON khi resize. Nhập New Width, công cụ sẽ tự động tính New Height để giữ nguyên tỷ lệ, hoặc ngược lại. Nếu cần crop (thay đổi ratio), tắt Lock và chấp nhận một phần content bị cắt. Trong image editors, dùng 'Constrain Proportions' option. Trong video editors, set sequence ratio trước khi import footage.
YouTube recommend 16:9 cho videos thông thường (landscape). YouTube Shorts dùng 9:16 (vertical). YouTube player có thể hiển thị các ratios khác (4:3, 21:9) nhưng sẽ có letterbox (black bars) ở hai bên hoặc trên dưới. 16:9 với resolution 1920x1080 (1080p) hoặc 3840x2160 (4K) là optimal cho quality và compatibility.
Instagram hỗ trợ nhiều ratios tùy format: Feed posts - Square 1:1 (1080x1080) classic format, Portrait 4:5 (1080x1350) tối ưu cho mobile feeds, Landscape 1.91:1 (1080x566) ít phổ biến. Stories/Reels - 9:16 (1080x1920) full screen vertical. IGTV - 9:16 hoặc 16:9. Profile picture - 1:1 (320x320). Carousel posts có thể mix ratios nhưng không recommended.
Decimal ratio (width/height) hữu ích khi: Tính toán trong code (if (width/height > 1.5) {...}). So sánh ratios gần nhau (1.7778 vs 1.6). Dùng trong CSS calc() functions. Một số APIs yêu cầu decimal thay vì X:Y format. X:Y format (16:9) human-readable hơn và commonly used trong specs. Cả hai biểu diễn cùng information, chỉ khác format.
Công cụ này tính từ dimensions bạn nhập manually. Để biết dimensions của video file: Windows - Right-click file > Properties > Details tab. Mac - Right-click > Get Info. VLC Player - Tools > Media Information > Codec Details. FFmpeg command line - ffmpeg -i video.mp4 (xem metadata). Sau khi có dimensions, nhập vào tool để tính ratio.
4:3 (1.33:1) là ratio cũ của CRT TVs, iPad screens. Hình vuông hơn, cao hơn. Phù hợp cho: documents, presentations, portrait photography, iPad apps. 16:9 (1.78:1) là ratio hiện đại của HDTVs, monitors, smartphones landscape. Rộng hơn, phù hợp cho: cinematic videos, landscape photography, web content, gaming. 16:9 đã trở thành standard vì matches human field of vision tốt hơn và better cho widescreen content.
Chúng tôi không chỉ thiết kế website, mà còn giúp doanh nghiệp xây dựng thương hiệu số mạnh mẽ. Cung cấp dịch vụ thiết kế website trọn gói từ thiết kế đến tối ưu SEO. Hãy liên hệ ngay với Tấn Phát Digital để cùng tạo nên những giải pháp công nghệ đột phá, hiệu quả và bền vững cho doanh nghiệp của bạn tại Hồ Chí Minh.