Rem To Pixels
Calculator

Inputs

Pixels
24

Results

Pixels
24
Points
18

Design and print results

Pixels24
Points18

formula-map diagram

Pixels
24
Points
18

Formula breakdown

Formula

px = rem × root font size (px); pt = px × 0.75

= 24

Note

Simplified model: these are standard prepress and typographic relationships computed on nominal values. Real press bulk, paper caliper and shrinkage, ink limits for a given profile, font metrics and binding allowances vary by supplier and by job, so confirm with your printer and a proof before going to press.

Example: with the default inputs, calculator.design.pixels is 24.

More in Design and printing

See all →

Frequently asked questions

How do I convert rem to pixels?+

Multiply the rem value by the root font size in pixels: px = rem × root font size. With a 16 px root and 1.5 rem, the result is 24 px.

What root font size should I enter?+

Enter the font size of the root (html) element in your project. The default is 16 px, but the calculator uses whatever value you give it.

Does the calculator also give points?+

Yes. It also returns points using pt = px × 0.75, so 24 px corresponds to 18 pt.

Is a rem always relative to the root, not the parent?+

Yes, a rem refers to the root font size, whereas em refers to the parent element. This calculator only handles the rem-to-pixel conversion.

Why do my pixel results change if I change the root size?+

Because pixels = rem × root size. If a user or a stylesheet changes the root size, every rem-based length scales with it, so the pixel value changes accordingly.