px
REM 0rem Click to Copy
EM 0em Click to Copy
Percentage 0% Click to Copy
Points (pt) 0pt Click to Copy

How it Works

Web browsers use a default base font size of 16px. The rem unit is relative to this root size.

Formula: Pixels / Base Size = REM: Pixels / Base Size = REM

Example: 24px / 16px = 1.5rem: 24px / 16px = 1.5rem

β™Ώ

Accessibility

Users can change their browser's default font size for better readability. REM units scale automatically with these settings; Pixels do not.

πŸ“±

Responsive Design

Using REM allows you to scale your entire website's typography simply by changing the font-size of the html tag in CSS media queries.

πŸš€

Modern Standard

Modern frameworks like Tailwind CSS and Bootstrap use REM units by default. It is the industry standard for scalable web development.