Font Size Converter

Convert font sizes between pixels, points, em, rem, percent, viewport width, picas, millimetres and inches. Adjust the root and parent font size to match your CSS, preview the size live, and copy ready-made CSS including a fluid clamp() value.

  • 100% free
  • No sign-up
  • Private & local
  • Works on mobile

Click any value to copy it.

Preview

The quick brown fox jumps over the lazy dog

px to pt / rem / % chart
PixelsPointsrem%

Private by design: every calculation runs locally in your browser. Nothing you type is sent to a server or stored by us.

What Is a Font Size Converter?

A font size converter translates text sizes between the units used in web design, print and documents. Web developers write CSS in px, em, rem and %; designers working for print think in points; and some specifications use picas, millimetres or inches. Converting between them depends on context: an em is relative to the parent element's font size, a rem to the root (html) font size, and vw to the width of the browser window.

This free converter shows a size in nine units at once, using the CSS reference pixel (96 px per inch, 72 pt per inch). Set your root and parent font sizes to match your project, preview the text at the chosen size, and copy clean CSS, including a responsive clamp() expression.

How to Convert Font Sizes

  1. Enter a size and choose its unit, such as 12 pt or 1.5 rem.
  2. Adjust the root and parent sizes if your CSS doesn't use the browser default of 16 px.
  3. Read the equivalents in every unit, and click any value to copy it.
  4. Copy the CSS snippet into your stylesheet.

Common Conversions (16 px Root)

PixelsPointsrem / emPercent
12 px9 pt0.7575%
14 px10.5 pt0.87587.5%
16 px12 pt1100%
18 px13.5 pt1.125112.5%
24 px18 pt1.5150%
32 px24 pt2200%

px, pt, em or rem: Which Should You Use?

  • rem is the best default for web typography. It scales with the user's browser font-size setting, which is important for accessibility, while staying predictable.
  • em is useful for spacing and components that should scale with their own text size, but nesting can compound sizes unexpectedly.
  • px gives exact control but ignores the user's preferred font size in some browsers.
  • pt belongs to print, PDFs and word processors, not screen CSS.
  • vw and clamp() create fluid typography that grows with the screen, within minimum and maximum limits.

Features

  • Nine unitspx, pt, em, rem, %, vw, pc, mm and in.
  • Custom contextSet root, parent and viewport sizes.
  • Live previewSee text at the exact size.
  • One-click copyCopy any value, or ready-made CSS with clamp().
  • Reference chartCommon pixel sizes in pt, rem and %.
  • AccurateUses the CSS standard of 96 px = 72 pt = 1 inch.

Accessibility and Font Sizes

Readable text is an accessibility requirement, not just a style choice. The Web Content Accessibility Guidelines (WCAG) require that text can be resized up to 200% without loss of content, which is much easier when font sizes use rem or em instead of fixed pixels. Many people set a larger default font size in their browser. Relative units respect that preference, while hard-coded pixel sizes in some situations do not.

A practical approach for most sites: keep the root at the browser default (100%, usually 16 px), set body text to 1–1.125 rem, use a modular scale for headings (for example 1.25× per level), and use clamp() so large headings shrink gracefully on small screens. Keep line length to about 60–75 characters and line height around 1.5 for body text.

Tip: when converting a design from a tool like Figma or Photoshop, font sizes are usually given in pixels. Divide by 16 to get rem values for CSS, or enter the pixel size above and copy the rem result directly.

Frequently Asked Questions

What is a good heading size scale?

With 16 px body text, a 1.25 ratio gives 20, 25, 31 and 39 px headings. Use a larger ratio such as 1.333 for more dramatic contrast.

How many pixels is 12 pt?

12 pt = 16 px on screen (12 × 96 / 72).

What is 1 rem in pixels?

By default 16 px, because browsers set the root font size to 16 px. If your CSS changes the html font size, 1 rem equals that value.

What's the difference between em and rem?

em is relative to the parent element's font size; rem is always relative to the root (html) element.

What font size is best for body text?

16–18 px (1–1.125 rem) is comfortable on most screens and meets accessibility guidance.

Why does 12 pt look different in Word and on the web?

Word uses real points at 100% zoom, while screens vary in pixel density and zoom level, so the physical size differs by device.