REM to PX Converter

Convert REM values to pixels instantly. Enter your REM value and base font size to get the exact pixel equivalent — free, no signup required.

Enter a REM value above to see the pixel equivalent

Formula: PX = REM × Base Font Size

What is REM to PX Conversion?

REM (Root EM) is a relative CSS unit that scales based on the root element's font size. PX (pixels) is a fixed unit. Converting REM to PX helps you understand exactly how large an element will be on screen, which is useful when working with design specs, debugging layouts, or communicating sizes to clients and teammates.

The formula is straightforward: PX = REM × Base Font Size. With the browser default of 16px, 1.5rem becomes 24px, 2rem becomes 32px, and so on.

How to Use the REM to PX Converter

  1. Enter your REM value in the REM Value field.
  2. Set the Base Font Size — default is 16px. Change this if your project uses a custom root font size.
  3. The pixel result appears instantly with the formula shown.
  4. Click Copy to copy the pixel value to your clipboard.
  5. Click Reset to clear all fields.

What is REM in CSS?

REM stands for Root EM. Unlike em which is relative to the parent element's font size, rem is always relative to the root <html> element's font size. This makes it predictable and consistent throughout your stylesheet.

  • Browser default: Most browsers set the root font size to 16px, so 1rem = 16px unless overridden.
  • Common override: Many developers set html { font-size: 62.5%; } which makes 1rem = 10px for easier mental math (e.g., 1.6rem = 16px).
  • Accessibility: REM respects the user's browser font preference, unlike PX which ignores it.

REM to PX Conversion Table

Reference table using the standard 16px base font size.

REMPX (base 16px)Common Use
0.25rem4pxthin borders, tiny gaps
0.5rem8pxsmall icons, tight padding
0.75rem12pxcaptions, labels
0.875rem14pxsecondary text
1rem16pxbody text (browser default)
1.125rem18pxcomfortable reading size
1.25rem20pxsubheadings, h5
1.5rem24pxh4, card titles
1.75rem28pxh3
2rem32pxh2, section headers
2.5rem40pxh1, page titles
3rem48pxhero headings
4rem64pxdisplay text

PX vs REM — When to Use Each

Use REM for typography, padding, margin, and component sizing that should respond to user font preferences. Use PX for precise fixed values such as borders, shadows, and media query breakpoints where exact pixel accuracy is required.

Frequently Asked Questions

What is 1rem in pixels?

By default, 1rem equals 16px because most browsers set the root font size to 16px. The formula is: PX = REM × Base Font Size, so 1 × 16 = 16px.

Is 1rem always equal to 16px?

No. 1rem equals the root font size defined in your CSS. If you set html { font-size: 10px; }, then 1rem = 10px. The default browser font size is 16px, so 1rem = 16px in most cases.

How do I convert REM to PX?

Multiply the REM value by the base font size. For example, 1.5rem × 16 = 24px. Use our free REM to PX converter to get instant results without manual calculation.

Can I also convert PX to REM?

Yes. Use our PX to REM Converter at calcon.in/px-to-rem-converter/ to convert pixels to REM. The formula is: REM = PX ÷ Base Font Size.

What is REM in CSS?

REM stands for Root EM. It is a relative CSS unit that is based on the font size of the root HTML element. Unlike EM (which is relative to the parent element), REM is always relative to the root, making it predictable and easier to manage.

Does this REM to PX converter work on mobile?

Yes, this tool is fully responsive and works on all devices including smartphones, tablets, and desktops. No app download or installation required.

Related Developer Tools

Subscribe to the Calcon newsletter

Get new calculators, tools, and practical guides delivered to your inbox. No spam — unsubscribe anytime.