Font Size Converter

Convert between px, pt, em, rem, and percentage

Pixels

16px

Points

12pt

Em

1em

Rem

1rem

Percent

100%

VW (1920px)

0.8333vw

Preview

The quick brown fox jumps over the lazy dog

Common Font Sizes

What Is a Font Size Converter?

A font size converter translates text size measurements between the various units used in web design, print design, and typography. Unlike length or weight conversions that have a single standard, font sizes are expressed in five primary units: pixels (px), points (pt), em, rem, and percentage (%). Each unit serves a different purpose and behaves differently depending on context. Pixels are absolute screen measurements, points are absolute print measurements, while em, rem, and percentage are relative units that depend on a base font size. Understanding these differences is essential for creating consistent, accessible, and responsive designs across devices.

The pixel (px) is the most commonly used unit for screen design. One pixel corresponds to one dot on a display screen, and pixel-based font sizes are predictable and consistent regardless of context. However, pixels do not scale with user preferences, which can create accessibility issues for users who need larger text. The point (pt) is the standard unit for print design, where 1 point equals exactly 1/72 of an inch. The conversion between pixels and points depends on screen resolution: at the standard web resolution of 96 DPI, 1 pt equals 1.333 px.

The relative units (em, rem, and percentage) are based on a configurable base font size, typically 16 pixels in web browsers. An em unit equals the current element's font size, while a rem unit equals the root element's font size (usually the HTML element's font size). This means that 1rem equals the base font size, regardless of where it appears in the document hierarchy. Percentage units work similarly: 100% equals the base font size. This converter also shows the viewport width equivalent (vw), which scales text relative to the browser window width.

Font Size Conversion Formulas

Each unit converts to pixels using a different formula based on the base font size. All conversions pass through pixels as the intermediate unit.

Font Size Conversions (to pixels)

px = value × factor

Where:

  • value= The numerical font size value in the source unit
  • factor= The conversion factor, which depends on the source unit
  • px= The equivalent size in pixels

How to Use This Calculator

Use this calculator to convert font sizes between pixels, points, em, rem, and percentage:

  1. Enter the font size value: Type the numerical value into the input field.
  2. Select the source unit: Choose the unit you are converting from: px, pt, em, rem, or %.
  3. Set the base font size: Enter the base font size in pixels. The default is 16 px, which is the standard browser default. Change this if your project uses a different base size.
  4. Read all results: The calculator shows the font size converted to all six units simultaneously: px, pt, em, rem, %, and vw (based on a 1920px viewport width).
  5. Preview the text: A preview pane displays sample text rendered at the computed pixel size so you can visually assess the result.
  6. Try common sizes: Click any of the common font size presets (from 10px "Tiny" to 96px "Display") to quickly load and convert standard sizes.

Understanding the Results

The calculator outputs six equivalent font sizes:

  • Pixels (px): The absolute screen measurement. This is the most common unit for web design and the value that browsers ultimately render on screen.
  • Points (pt): The absolute print measurement. 1 pt = 1/72 inch. Points are used in print design and some desktop publishing applications.
  • Em: A relative unit based on the current element's font size. 1em equals the inherited font size. Em compounds in nested elements, making it useful but potentially unpredictable.
  • Rem: A relative unit based on the root element's font size. 1rem equals the base font size (typically 16px). Rem does not compound in nested elements, making it more predictable than em.
  • Percentage (%): Works like em for font sizes. 100% equals the base font size. 50% is half the base size, 200% is double.
  • Viewport Width (vw): Scales text relative to the browser window. 1vw equals 1% of the viewport width. Useful for fluid typography that scales with screen size.

The relationship between em and rem is that em is relative to the parent element while rem is always relative to the root. For elements at the top level of the document, em and rem produce the same result. For nested elements, em values compound while rem values remain constant.

Real-World Applications

Font size conversion is essential in responsive web design, where text must render legibly across devices ranging from small phones to large desktop monitors. Using relative units like rem and em allows text to scale automatically based on user preferences and browser settings, which is critical for accessibility. The Web Content Accessibility Guidelines (WCAG) recommend that users be able to resize text up to 200% without breaking the layout, and using relative units makes this possible.

In print design and publishing, points are the standard unit for body text and headings. A typical book body text size is 10-12 pt, while headlines range from 14-36 pt or larger. When translating a print design to the web, designers must convert point sizes to pixels or rem values. The standard conversion at 96 DPI is 1 pt = 1.333 px, but this changes at different screen resolutions.

In email design and newsletter creation, font size units matter because email clients render HTML differently. Most email clients support pixel-based font sizes reliably, but some older clients have issues with em and rem. Understanding how font sizes convert between units helps designers choose the right unit for maximum compatibility across email clients and devices.

Worked Examples

Convert 16px to Em

Problem:

What is 16 pixels in em units with a 16px base font size?

Solution Steps:

  1. 1Em = pixels ÷ base font size
  2. 216px ÷ 16px = 1em
  3. 3Verify: 1em equals the base font size by definition

Result:

16px = 1em (at 16px base)

Convert 24pt to Pixels

Problem:

What is 24 points in pixels at standard 96 DPI resolution?

Solution Steps:

  1. 1Pixels = points × (96 ÷ 72)
  2. 224 × 1.3333 = 32 pixels
  3. 3Verify: 24pt × 96/72 = 32px

Result:

24pt = 32px

Convert 1.5em to Pixels

Problem:

What is 1.5em in pixels with a 16px base font size?

Solution Steps:

  1. 1Pixels = em × base font size
  2. 21.5em × 16px = 24px
  3. 3Verify: 1.5 × 16 = 24

Result:

1.5em = 24px (at 16px base)

Tips & Best Practices

  • Use rem for font sizes to ensure your design is accessible and respects user preferences.
  • Set the root font size to 16px and then use rem values for a consistent typographic scale.
  • Use pixels for precise control in email designs where rem support is inconsistent.
  • Use em for font sizes within components that may be placed in different contexts.
  • For fluid typography, combine rem base sizes with vw-based scaling using CSS clamp().
  • Always test your font sizes by zooming the browser to 200% to verify accessibility.

Frequently Asked Questions

Em is relative to the current element's inherited font size, while rem is always relative to the root (HTML) element's font size. In nested elements, em values compound: if a parent is 2em and a child is 1.5em, the child renders at 3em. Rem does not compound: a 1.5rem element inside a 2rem parent still renders at 1.5rem. For most applications, rem is more predictable and easier to work with.
The standard browser default is 16px, and most modern web design uses this as the base font size. This provides a comfortable reading size for body text on most screens. Some designers prefer 16px as the root font size and then use rem values for all other text sizes, which creates a consistent typographic scale throughout the design.
Using rem allows users to resize text by changing their browser's default font size, which is important for accessibility. If you set font sizes in pixels, users with visual impairments may not be able to enlarge text to a comfortable reading size. Rem-based text scales proportionally when the base font size is changed, ensuring your layout remains functional at all text sizes.
Points and pixels have a fixed relationship at a given screen resolution. At the standard web resolution of 96 DPI (dots per inch), 1 point equals exactly 96/72 = 1.3333 pixels. At print resolution of 300 DPI, 1 point equals 300/72 ≈ 4.167 pixels. The formula is: pixels = points × (DPI ÷ 72).
Viewport width (vw) sizing makes the font size a percentage of the browser window width. 1vw equals 1% of the viewport width, so on a 1920px wide screen, 1vw = 19.2px. This creates fluid typography that scales smoothly with screen size. It is typically used for headings and display text rather than body text, because very small screens would make vw-sized text too small to read.

Sources & References

Last updated: 2026-06-06

💡

Help us improve!

How would you rate the Font Size Converter?

<>

Editorial Note

MyCalcBuddy Editorial Team

This page is maintained as an educational calculator reference.

Source

Formula Source: NIST Guide to SI Units

by National Institute of Standards

UpdatedLast reviewed: May 2026
CheckedFormula checks are based on standard references and internal QA review.