Find a course

Module 1: Anatomy and ClassificationLesson 3 of 1212 min

Fonts, Weights and Units of Measure

Understand typeface versus font, weights and styles, and the units of type: points, pixels, ems and rems, with conversions you can calculate.

Step 1 of 13Learn

Typeface, family and font

In everyday speech, "font" and "typeface" are used interchangeably, and that is usually fine. But the distinction helps when you buy, install or specify type.

  • A typeface is the design: the shapes of the letters. "Garamond" is a typeface design.
  • A type family is a group of related typefaces sharing a name: regular, italic, bold, bold italic, light, condensed and so on.
  • A font was originally one size of one style of a typeface in metal: 10-point Garamond Bold was a font. Today a font is usually a file that contains one style (such as Garamond Bold) or, with variable fonts, a whole range of styles.

Families are described by:

  • Weight: how thick the strokes are. In CSS and many apps, weights run in steps of 100 from 100 (Thin) through 300 (Light), 400 (Regular), 500 (Medium), 600 (SemiBold), 700 (Bold) to 900 (Black).
  • Style: upright (roman) or italic. A true italic is a separately designed, often more cursive version. An oblique is a slanted version of the upright design.
  • Width: condensed, normal or extended.

A good text family offers at least regular, italic, bold and bold italic. A large family with many weights and widths can carry an entire brand by itself.

Step 2 of 13Diagram

Typeface, family, font

From the broadest idea down to the file you install.

Typeface, family, fontLayer diagram: Typeface: the design, Family: the related styles, Font: one style in one file.Typeface: the designFamily: the related stylesFont: one style in one file

Tap a shape with to see more.

Typeface: the design

The shapes of the letters, such as "Garamond".

Family: the related styles

Regular, italic, bold, bold italic, light, condensed and so on, sharing one name.

Font: one style in one file

For example Garamond Bold. A variable font file can hold a whole range of styles.

Step 3 of 13Practice · Match the pairs

Match each CSS font-weight value to its common name.

Tap an answer, then tap the place where it belongs (or drag it there).

  1. 100
  2. 300
  3. 400
  4. 700
  5. 900

Step 4 of 13Practice · Diagram

The CSS weight scale

Weights run in steps of 100. Tap a marker for its common name and typical use.

Which weight does the CSS keyword "bold" correspond to?

Tap the shape that answers the question, then press Check.

The CSS weight scaleScale: Thin, Light, Regular, Medium, SemiBold, Bold, Black.Body textEmphasis and headings100200300400500600700800900100Thin300Light400Regular500Medium600SemiBold700Bold900Black
Thin

Elegant in large display sizes; breaks up in small screen text.

Light

Large headings and airy designs, not body text on screens.

Regular

The normal weight: CSS font-weight: normal. The default for body text.

Medium

Slightly heavier; good for interface labels.

SemiBold

Subheadings that need to stand out without shouting.

Bold

CSS font-weight: bold. Headings and key terms.

Black

The heaviest: big, punchy headlines.

Step 5 of 13Learn

Avoid fake bold and italic

If you press the bold or italic button for a font that has no real bold or italic file installed, many programs and browsers synthesize one: they smear the outlines to fake bold or slant the letters to fake italic. The results are recognizable once you know to look:

  • Faux bold looks blobby; counters fill in and spacing gets uneven.
  • Faux italic is just the upright letters tilted, often with distorted curves. A real italic usually has different letterforms, such as a single-story a and a flowing f.

The fix is simple: make sure the real weights and styles you use are installed (or loaded on a website). On the web, if you load only the regular weight of a web font and then set headings to bold, the browser will fake it.

The same principle applies to stretching. Squashing or stretching text horizontally to fit a space distorts the strokes: verticals become thicker or thinner than horizontals, and the design falls apart. If you need narrower letters, use a condensed width designed for the purpose. If the text does not fit, edit it or change the size.

Also avoid outlining and shadowing body text for emphasis. Typographic emphasis inside running text normally uses italic; bold is better for headings, labels and key terms that readers scan for.

Step 6 of 13Practice · Select all that apply

Which practices avoid distorted or fake type? Select all that apply.

Select all that apply.

Step 7 of 13Learn

Points, pixels, ems and rems

Type has its own units.

Points (pt) are the traditional print unit. In modern desktop publishing, 1 point = 1/72 inch. So 72 pt type is roughly one inch from the top of the tallest ascender to the bottom of the lowest descender (the type body), and 12 pt is a common size for body text in documents. A pica is 12 points, or 1/6 inch.

Pixels (px) are the screen unit. In CSS, a "pixel" is defined as 1/96 inch at a standard viewing distance, regardless of the device's physical pixels. That gives a handy conversion:

px = pt × 96 ÷ 72 = pt × 4/3

So 12 pt equals 16 px, which is why 16 px is the default text size in web browsers.

Ems are relative units: 1 em equals the current font size. If text is 20 px, 1 em is 20 px and 0.5 em is 10 px. Typographers use ems for spacing that scales with the type, like indents and letter spacing.

Rems ("root ems") are relative to the root font size of a web page, usually 16 px unless the user changes it. Setting sizes in rem lets text scale when people raise their browser's default size for easier reading, an important accessibility benefit.

Step 8 of 13Try the calculator

Type unit converter

Convert a size in points to pixels, and see what ems and rems mean for a given size. Browsers default to a root size of 16 px.

Equivalent size in CSS pixels
16 px
Equivalent size in rem
1 rem
Size in inches (type body)
0.167 in

Step 9 of 13Practice · Work it out

A print designer specifies a headline at 18 pt. What is the equivalent size in CSS pixels?

Step 10 of 13Note

Step 11 of 13Note

Step 12 of 13Practice · Work it out

A paragraph is set at 20 px. How many pixels is an indent of 1.5 em?

Step 13 of 13Practice · Choose one

Why do many web developers set font sizes in rem rather than fixed pixels?