Aspect Ratio Letterbox, Pillarbox & Video Padding Dimension Calculator
Calculate exact pixel black bars (letterbox/pillarbox), scale factors, target canvas padding, and center-crop coordinates when fitting footage across 16:9, 21:9, 4:3, and 9:16 displays.Documentation & FAQs ↓
Display Viewport Visual Simulator
Step-by-Step Instructions
4 Steps to CompletionEnter your source video resolution (e.g., 1920x1080, 3840x2160, 1440x1080, or 2560x1440).
Select or input your destination container or display screen dimensions (e.g., 2560x1080 21:9 or 1080x1920 9:16).
Choose your scaling mode: 'Fit (Letterbox/Pillarbox Padding)' or 'Fill (Center-Crop Overhang)'.
Copy the exact pad dimensions, scaling percentage, and ready-to-use FFmpeg pad syntax.
Practical Use Cases & Real-World Scenarios
Letterbox vs Pillarbox Detection
Automatically detects whether source video will introduce horizontal matte bars (letterboxing) or vertical side bars (pillarboxing).
Pixel-Perfect Padding Measurements
Calculates exact top, bottom, left, and right black bar pixel widths for Premiere Pro, DaVinci Resolve, and FFmpeg padding filters.
Center-Crop vs Fit-to-Screen Modes
Compares clean scaling (contain) against fill crop (cover), showing cropped pixel margins and percentage of image loss.
FFmpeg & CSS Code Snippets
Generates copyable FFmpeg scale/pad filter chains and CSS object-fit rules for web video containers.
Frequently Asked Questions
What is the difference between letterboxing and pillarboxing?↓
What causes windowboxing (postage-stamping)?↓
How many pixels are the black bars on 2.39:1 cinema footage in a 4K 16:9 frame?↓
Should I crop my video or add black bars?↓
How do I add black bars in FFmpeg without re-encoding?↓
7 Roles of Video Converter Tools in Video Editing Workflows
Dive deeper into the foundational technical concepts behind this tool on our editorial blog. Includes comprehensive hardware benchmarks, case studies, and best practices.
Found this tool helpful? Share it with colleagues & friends:
100% free, private in-browser utility with zero server uploads.