2:1 Aspect Ratio - Width, Height & CSS Dimensions

A 2:1 aspect ratio means width is 2 units for every 1 units of height. X (Twitter) post images and link cards (1200×600). At 1200px wide, the matching height is 600px. Use the calculator below for any width or height.

Dimensions

2:1

Simplified ratio

2:1

Exact dimensions1200 × 600 px
Decimal ratio (W ÷ H)2.0000
CSS aspect-ratio2 / 1

2:1 dimensions reference

X (Twitter) post images and link cards (1200×600). Sample calculation: 1200px × 600px preserves 2:1. Adjust width in the tool above to regenerate height instantly.

← Back to full Aspect Ratio Calculator

2:1 Aspect Ratio FAQ

What is the 2:1 aspect ratio?

2:1 expresses width-to-height as 2:1. X (Twitter) post images and link cards (1200×600). In CSS, write aspect-ratio: 2 / 1. The decimal width÷height value is approximately 2.0000. Lock either side in the calculator to keep that proportion when you resize frames, posters, or video embeds for this format.

If width is 1200px at 2:1, what is the height?

Multiply width by 1/2: 1200 x (1 ÷ 2) = 600px. Enter 1200 in the width field with ratio locked to 2:1 and the tool returns 600px automatically. Change width anytime to regenerate height without breaking the ratio or introducing letterboxing.

What pixel dimensions are common for 2:1?

X post images frequently target 1200x600 px at 2:1 for in-feed cards and link previews. Scale width or height here first, then export so the platform does not letterbox or crop your composition unexpectedly.

How do I set 2:1 in CSS?

Use aspect-ratio: 2 / 1 on a block container. Pair it with width: 100% or a fixed max-width; the browser computes height. For embedded video, wrap the iframe in a 2:1 box to prevent cumulative layout shift while the media loads. Copy the sample dimensions above when you need a concrete pixel fallback.

2:1 calculator vs generic resize tool: why use a ratio-specific page?

Ratio-specific pages document common resolutions and use cases for 2:1 without hunting presets. The embedded calculator is pre-loaded with 2:1 so you skip manual ratio entry - helpful when sharing links with teammates or clients who always work in this format for ads, video, or social crops.

Where is the full aspect ratio calculator?

The main Aspect Ratio Calculator supports any custom ratio, simplified GCD output, and all presets. Visit /dev-tools/aspect-ratio-calculator/ for the complete tool with methodology, cross-links to other Dev Tools, and free-form width or height entry when your project is not locked to a named preset.

Sources & review

Last reviewed:

Related ratios

Full tool