ToolkitBook

Beamer Calculator - Calculate Slide Dimensions and Margins for LaTeX

Choose a Beamer aspect ratio (4:3, 16:9, 16:10, 3:2, or custom), set the paper size, and adjust margins. The calculator shows slide width, height, and diagonal with the usable text area in millimeters, points, and inches. It generates LaTeX preamble code you can paste directly, including geometry settings and \newlength definitions for slide and text area sizes.

mm
mm
mm
mm

FAQ

Which aspect ratio should I use?

4:3 is the Beamer default and suits older projectors and square-format screens. 16:9 is the current standard for widescreen monitors, TVs, and most conference-room displays. 16:10 appears on some laptops and older widescreen projectors. 3:2 matches certain tablets and Surface screens. Pick the one that matches the display you will present on.

What do the paper size presets correspond to?

Beamer derives physical dimensions from the aspectratio class option. 4:3 produces a 128 × 96 mm slide; 16:9 produces 160 × 90 mm; 16:10 produces 160 × 100 mm. These are the values Beamer passes to the output driver. If you override them with the geometry package, click Custom and type your own width and height in millimeters.

How do margins change the text area?

The text area equals the slide size minus all four margins. Wider margins shrink the usable region but leave more whitespace around your content. The area ratio (shown as a percentage) tells you how much of the slide surface remains for text and figures. Beamer's built-in defaults are roughly 8 mm left/right and 5 mm top/bottom.

What does the generated LaTeX code do?

The code block contains two parts. First, a \geometry{…} call that sets paperwidth, paperheight, and all four margins—paste it into your preamble after \usepackage{geometry}. Second, \newlength and \setlength definitions for \slideW, \slideH, \slideTextW, and \slideTextH that you can reference elsewhere in your template for spacing, box sizing, or conditional layout logic.

Can I enter dimensions the presets don't cover?

Yes. Click Custom under Aspect Ratio to type any ratio (for example 5:4), or click Custom under Paper Size to type exact width and height values in millimeters. The calculator derives every measurement from the numbers you supply.

Which units appear in the results?

Every dimension is shown in millimeters, points (1 pt = 0.3515 mm, or 72.27 pt per inch), and inches. LaTeX accepts any of these—write 128mm, 364.20pt, or 5.0394in depending on what you prefer. The LaTeX code output uses millimeters by default.

What does the "Lock left and right together" checkbox do?

When checked, typing a value into Left also fills in Right with the same number. Most presentations use equal horizontal margins to keep content centered. Uncheck it if you need asymmetric spacing—for example, a wider left margin to fit a vertical sidebar or logo strip.

More Tools