Web Design

What Font Size Should Body Text Be on a Website

In this article
  1. Quick facts
  2. How does viewport size influence the choice of base font size for responsive web design?
  3. What is the recommended minimum font size to ensure accessibility and readability for users with visual impairments?
  4. How does the choice of typeface impact the perceived legibility of small text sizes?
  5. What is the ideal line height, or leading, to pair with standard body text sizes?
  6. How do modern browser default settings affect the implementation of relative versus absolute font units?
  7. What are the benefits of using rem units over pixels for defining body text typography?
  8. How does line length, or measure, interact with font size to affect reading comfort?
  9. Common mistakes
  10. What role does user-agent stylesheet scaling play in maintaining a consistent reading experience across different devices?
  11. Refining your typographic scale

Typography on the web isn't one-size-fits-all. While 16 pixels has become the baseline because it matches the default browser setting, designers frequently adjust this upward to 18 or 20 pixels for high-resolution displays. The goal is to balance clarity with screen real estate. If your text is too small, users strain to read it; if it's too large, the rhythm of reading breaks down on smaller mobile devices.

Quick facts

Context Recommended Size
Standard Desktop 16px - 18px
Mobile Devices 16px
High-Density Displays 18px - 20px
Accessibility Focus 18px+

How does viewport size influence the choice of base font size for responsive web design?

Responsive design requires adjusting font sizes based on the viewing distance and screen width to maintain a consistent visual weight across devices.

  • 320 pixels serves as the typical lower bound for mobile viewports, where slightly smaller text sizes might be acceptable if the reading distance is closer to the eyes.
  • 1024 pixels acts as a common breakpoint where text often needs a subtle increase to maintain comfortable reading as the device moves further away.
  • 2560 pixels represents large desktop monitors where text must be scaled up to prevent overly long lines that fatigue the reader's eyes.

For users with visual impairments, a minimum base size of 18px is recommended to support readability without forcing the user to zoom. Many designers assume that simply providing a browser-based zoom function excuses small default text, but this ignores the reality that many users don't know how to adjust these settings or find the layout breakage caused by zooming frustrating. Providing a larger, accessible base size from the start creates a more inclusive experience that works immediately for a broader audience without requiring manual intervention.

How does the choice of typeface impact the perceived legibility of small text sizes?

Yes, typeface choice significantly alters legibility because fonts with low x-heights, such as certain classic serifs, require larger sizes to remain readable. A font with a large x-height, like Verdana, often maintains clarity at 14px, whereas a more delicate typeface might require 17px to achieve the same level of comfort.

What is the ideal line height, or leading, to pair with standard body text sizes?

The ideal line height for body text typically ranges between 1.4 and 1.6 times the font size to prevent lines from feeling cramped or disconnected.

  • 1.4 multiplier works effectively for headlines or very large text where the visual weight of the characters already provides enough separation.
  • 1.5 multiplier acts as the baseline for standard paragraph text, providing a comfortable rhythm that guides the eye from the end of one line to the start of the next.
  • 1.6 multiplier serves as a better choice for dense, information-heavy blocks of text to make sure the reader doesn't lose their place while scanning.

How do modern browser default settings affect the implementation of relative versus absolute font units?

Browsers default to 16px, but using relative units allows your text to scale proportionally if a user changes their browser's base preference.

Unit Behavior Scaling
Pixels Absolute None
Rems Relative Root-based
Ems Relative Parent-based
Percent Relative Parent-based

Set your root font size to 100% or 62.5% to make math easier when converting rem values to pixels.

What are the benefits of using rem units over pixels for defining body text typography?

Yes, rem units are superior because they respect user preferences set in the browser, whereas pixels ignore them entirely. If a user sets their browser default to 20px, a 1rem body text will render at 20px, keeping the site accessible for those who need larger text to read comfortably.

How does line length, or measure, interact with font size to affect reading comfort?

Line length, or measure, directly dictates how easily a reader can track lines of text. Aim for 45 to 75 characters per line, including spaces, as this range allows the eye to move smoothly across the screen without excessive head movement. When lines exceed 80 characters, readers often struggle to locate the start of the next line, leading to decreased comprehension and increased fatigue.

For example, a standard desktop column width of 600px paired with 16px text usually hits this ideal character count perfectly. An exception occurs with mobile devices, where narrow screens often force shorter lines; in these cases, prioritize a comfortable font size over strict character counts to prevent the text from becoming too small to read at a glance.

Common mistakes

  • Setting text in pixels. Using fixed pixel values prevents browsers from scaling text correctly when users change their default settings, so use relative units like rems instead.
  • Ignoring typeface x-height. Not all fonts look the same at 16 pixels because some have shorter lowercase letters, requiring a slight size increase to maintain legibility.
  • Matching print sizes. Web screens are viewed differently than paper, so text that looks fine in a printed book often appears too small on a screen.

What role does user-agent stylesheet scaling play in maintaining a consistent reading experience across different devices?

User-agent stylesheets provide the foundation for text rendering, and relative units make sure your design respects these browser-level adjustments.

Browser Default Size Scaling Factor
Chrome 16px 1.0
Firefox 16px 1.0
Safari 16px 1.0
Edge 16px 1.0

Use these baseline figures to calculate your rem-based typography scales so that your layout remains consistent if a user modifies their browser's default font settings.

Refining your typographic scale

Start your design with a base of 16 pixels and adjust upward if your chosen typeface appears small or cramped. Prioritize readability over density to make sure your content remains accessible across every screen size your audience uses.

Costs, tools and instructions in our articles are general guidance, not professional advice. Back up your site before making changes, and ask a qualified developer before working on a live website your business depends on.

Filed under Web Design
Share

Written by

WebApp Website Design Editorial Team

Articles on WebApp Website Design are prepared by our editorial team to answer one website or web app question each, with the short answer first and the details that matter after it.

Latest posts

Can't find the answer you need?

Search 158 articles, or ask us and we may write about it next.

Contact us