Font Converter

Font Size Converter

Convert between px, rem, and em units instantly

Instant ConversionCustom Base SizeCommon Presets
px

This is the root font size used for rem/em calculations (default is 16px)

Common Font Sizes

Quick Reference (Base: 16px)

PixelsREMEM
12px0.7500rem0.7500em
14px0.8750rem0.8750em
16px1.0000rem1.0000em
18px1.1250rem1.1250em
20px1.2500rem1.2500em
24px1.5000rem1.5000em
32px2.0000rem2.0000em
48px3.0000rem3.0000em
64px4.0000rem4.0000em

Developer & Verifier

Marcus Rodriguez

Developed by

Marcus Rodriguez

Lead Developer

Sarah Mitchell

Verified by

Sarah Mitchell

Product Designer, Font Specialist

What is Font Size Conversion?

Font size conversion translates between CSS units — px, rem, em, pt, and vw — using a base size (default 16px) to calculate equivalent values for responsive, accessible typography. WCAG 1.4.4 requires text resizable to 200% without assistive technology — a requirement that pixel units fail to meet.

Pixel units do not respond to browser font-size settings — only browser zoom scales px-sized text. rem units respond to both browser zoom and user font-size preferences, where the default browser font size of 16px equals 1rem. This distinction matters for the estimated 2.2 billion people globally with vision impairments (WHO 2023) who increase their default browser font size.

Font size accessibility requirements mandate relative units for body text to support low vision users. Point units (pt) remain the standard for print: 1pt = 1/72 inch, translating to approximately 1.333px on screen at standard DPI.

Contrast ratios interact with font size: WCAG allows a lower 3:1 contrast ratio for large text — defined as 18pt (24px) or bold text at 14pt (approximately 18.66px). Understanding unit conversions ensures correct threshold calculations when evaluating CSS implementation against accessibility standards.

Enter a value in any unit — px, rem, or em — and the converter instantly calculates the equivalent values in all three units. The base font size slider (10–24px) adjusts all calculations in real time, reflecting how rem and em values change with different root sizes. Quick preset buttons for common sizes (12px through 64px) populate all fields instantly, and a dynamic reference table updates to show the full conversion scale for your chosen base size.

How to Use This Converter

1

Set Base Size

Adjust the root font size (default 16px) to match your project's base typography scale.

2

Enter Value

Type a font size value in PX, REM, EM, or PT to instantly see conversions across all units.

3

Copy Results

Click any converted value to copy it to your clipboard for use in CSS stylesheets.

4

Use Presets

Click preset size buttons for common typography scale values used in design systems.

Features

PX to REM Conversion
PX to EM Conversion
PX to PT Conversion
Custom Base Size
Conversion Table
Live Preview
Responsive Guidelines
Copy CSS Values

PX to REM Conversion Reference

PXREM (base 16px)PTUse Case
10px0.625rem7.5ptSmall labels
12px0.75rem9ptCaption text
14px0.875rem10.5ptBody text (small)
16px1rem12ptBody text (default)
18px1.125rem13.5ptLarge body
20px1.25rem15ptSubheading
24px1.5rem18ptHeading H3
32px2rem24ptHeading H2
48px3rem36ptHeading H1
64px4rem48ptHero text

Frequently Asked Questions

What is the difference between REM and EM?
REM (root em) is always relative to the root element's font size (usually 16px), making it predictable across the page. EM is relative to the parent element's font size, so it compounds when nested. REM is generally preferred for consistent sizing.
Why is the default base font size 16px?
All major browsers use 16px as the default root font size. This means 1rem = 16px by default. You can change this with CSS on the html element, but 16px is the universal starting point.
How do I convert PX to REM?
Divide the pixel value by the base font size (default 16px). For example: 24px / 16 = 1.5rem. This tool does the calculation instantly for any value and custom base size.
When should I use EM vs REM?
Use REM for most layout and typography sizing for consistency. Use EM when you want a component to scale relative to its parent — for example, padding that scales with the text size inside a button.
Does using REM affect accessibility?
Yes, positively. Users who change their browser's default font size will see REM-based content scale accordingly. PX values are fixed and ignore user preferences, which can hurt accessibility.
What about PT (points) for web design?
PT is primarily a print unit (1pt = 1/72 inch). It's not ideal for web design because it doesn't scale well across screens. However, converting PT to PX is useful when translating print designs to web: 1pt ≈ 1.333px.

Related Tools & Guides